Difference between revisions of "Template:Multispoilers"
m (Implement text parameter) |
m (Fix for disambigs) |
||
Line 2: | Line 2: | ||
|b=This page or section contains spoilers for the following books! |
|b=This page or section contains spoilers for the following books! |
||
|This information has the ability to potentially ruin elements of the plot for the reader. Proceed with caution if you have not read: |
|This information has the ability to potentially ruin elements of the plot for the reader. Proceed with caution if you have not read: |
||
− | ''[[{{<noinclude>t|</noinclude>b|{{{1}}}|text=y |
+ | ''[[{{<noinclude>t|</noinclude>b|{{{1}}}|}}|{{b|{{{1}}}|text=y}}]]'', ''[[{{<noinclude>t|</noinclude>b|{{{2}}}|}}|{{b|{{{2}}}|text=y}}]]''<!-- |
− | -->{{#if:{{{3|}}}|, ''[[{{b|{{{3}}}|text=y |
+ | -->{{#if:{{{3|}}}|, ''[[{{b|{{{3}}}|}}|{{b|{{{3}}}|text=y}}]]''}}<!-- |
− | -->{{#if:{{{4|}}}|, ''[[{{b|{{{4}}}|text=y |
+ | -->{{#if:{{{4|}}}|, ''[[{{b|{{{4}}}|}}|{{b|{{{4}}}|text=y}}]]''}}<!-- |
− | -->{{#if:{{{5|}}}|, ''[[{{b|{{{5}}}|text=y |
+ | -->{{#if:{{{5|}}}|, ''[[{{b|{{{5}}}|}}|{{b|{{{5}}}|text=y}}]]''}}<!-- |
− | -->{{#if:{{{6|}}}|, ''[[{{b|{{{6}}}|text=y |
+ | -->{{#if:{{{6|}}}|, ''[[{{b|{{{6}}}|}}|{{b|{{{6}}}|text=y}}]]''}}<!-- |
− | -->{{#if:{{{7|}}}|, ''[[{{b|{{{7}}}|text=y |
+ | -->{{#if:{{{7|}}}|, ''[[{{b|{{{7}}}|}}|{{b|{{{7}}}|text=y}}]]''}} |
}}<includeonly><!-- |
}}<includeonly><!-- |
||
Revision as of 20:16, 14 July 2020
This notice should be used on pages that contain information gained from multiple recently released books. It can be included by adding the text {{multispoilers|book1|book2}}
to the top of the page. This notice can be removed ~6 months after the publication date. It adds the red notice seen above and automatically inserts the page into Category: Articles with spoilers and the corresponding book spoiler articles.
Parameters
- {{{book1}}} - the first book that the page contains spoilers for. The title should be entered in shorthand form, which will be converted to the full title by
{{B}}
. See that article for a list of all shorthand names. - {{{book2}}} - the second book that the page contains spoilers for, formatted the same as {{{book1}}}.
The template can optionally include up to seven different books, all formatted the same way, but it must include at least two.
Examples
If I wanted to note that an article contained spoilers for all the Mistborn books individually (even though those came out more than 6 months ago), I would use the following code: {{multispoilers|mb1|mb2|mb3|mb4|mb5|mb6|msh}}
.