Difference between revisions of "Template:Multispoilers"
m (Fix for disambigs) |
m (Book categories were removed from Template:Spoilers; following up on that here as well) |
||
Line 12: | Line 12: | ||
-->[[Category: Articles with spoilers]]<!-- |
-->[[Category: Articles with spoilers]]<!-- |
||
− | -->[[Category: {{b|{{{1}}}|}}]]<!-- |
||
-->[[Category: Spoilers for {{b|{{{1}}}|}}]]<!-- |
-->[[Category: Spoilers for {{b|{{{1}}}|}}]]<!-- |
||
− | -->[[Category: {{b|{{{2}}}|}}]]<!-- |
||
-->[[Category: Spoilers for {{b|{{{2}}}|}}]]<!-- |
-->[[Category: Spoilers for {{b|{{{2}}}|}}]]<!-- |
||
-->{{#if:{{{3|}}}|<!-- |
-->{{#if:{{{3|}}}|<!-- |
||
− | -->[[Category: {{b|{{{3}}}|}}]]<!-- |
||
-->[[Category: Spoilers for {{b|{{{3}}}|}}]]<!-- |
-->[[Category: Spoilers for {{b|{{{3}}}|}}]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{{4|}}}|<!-- |
-->{{#if:{{{4|}}}|<!-- |
||
− | -->[[Category: {{b|{{{4}}}|}}]]<!-- |
||
-->[[Category: Spoilers for {{b|{{{4}}}|}}]]<!-- |
-->[[Category: Spoilers for {{b|{{{4}}}|}}]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{{5|}}}|<!-- |
-->{{#if:{{{5|}}}|<!-- |
||
− | -->[[Category: {{b|{{{5}}}|}}]]<!-- |
||
-->[[Category: Spoilers for {{b|{{{5}}}|}}]]<!-- |
-->[[Category: Spoilers for {{b|{{{5}}}|}}]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{{6|}}}|<!-- |
-->{{#if:{{{6|}}}|<!-- |
||
− | -->[[Category: {{b|{{{6}}}|}}]]<!-- |
||
-->[[Category: Spoilers for {{b|{{{6}}}|}}]]<!-- |
-->[[Category: Spoilers for {{b|{{{6}}}|}}]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#if:{{{7|}}}|<!-- |
-->{{#if:{{{7|}}}|<!-- |
||
− | -->[[Category: {{b|{{{7}}}|}}]]<!-- |
||
-->[[Category: Spoilers for {{b|{{{7}}}|}}]]<!-- |
-->[[Category: Spoilers for {{b|{{{7}}}|}}]]<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 44: | Line 37: | ||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
− | This notice should be used on pages that contain information gained from multiple recently released books. It can be included by adding the text <code><nowiki>{{multispoilers|book1|book2}}</nowiki></code> 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 |
+ | This notice should be used on pages that contain information gained from multiple recently released books. It can be included by adding the text <code><nowiki>{{multispoilers|book1|book2}}</nowiki></code> 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 categories. |
== Parameters == |
== Parameters == |
Revision as of 05:26, 18 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 categories.
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}}
.