Difference between revisions of "Template:Multispoilers"
(start) |
BeskarKomrk (talk | contribs) (Added some documentation) |
||
Line 44: | Line 44: | ||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
− | This notice should be used on pages that contain information gained from multiple recently released books. This notice can be removed ~6 months after the publication date. It inserts the page into [[:Category: Articles with spoilers]] and the corresponding book spoiler articles. |
+ | 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 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 {{t|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: <code><nowiki>{{multispoilers|mb1|mb2|mb3|mb4|mb5|mb6|msh}}</nowiki></code>. |
||
[[Category: Notices]] |
[[Category: Notices]] |
Revision as of 21:33, 10 January 2017
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}}
.