Difference between revisions of "Template:Update"

From The Coppermind
Jump to navigation Jump to search
(Allow multiple books)
Line 1: Line 1:
 
{{notice|style=background-color: #c2c2c2;
 
{{notice|style=background-color: #c2c2c2;
|b=This page or section needs to be updated with new information{{#if:{{{book|}}}| for [[{{b|{{{book}}}|}}]]}}!
+
|b=This page or section needs to be updated with new information<!--
  +
-->{{#if:{{{1|}}}{{{book|}}}|&nbsp;for ''[[{{b|{{{1|{{{book}}}}}}}}|{{b|{{{1|{{{book}}}}}}|text=y}}]]''}}<!--
  +
-->{{#if:{{{2|}}}|{{#if:{{{3|}}}|,|&nbsp;and}} ''[[{{b|{{{2}}}}}|{{b|{{{2}}}|text=y}}]]''}}<!--
  +
-->{{#if:{{{3|}}}|,{{#if:{{{4|}}}||&nbsp;and}} ''[[{{b|{{{3}}}}}|{{b|{{{3}}}|text=y}}]]''}}<!--
  +
-->{{#if:{{{4|}}}|,{{#if:{{{5|}}}||&nbsp;and}} ''[[{{b|{{{4}}}}}|{{b|{{{4}}}|text=y}}]]''}}<!--
  +
-->{{#if:{{{5|}}}|,{{#if:{{{6|}}}||&nbsp;and}} ''[[{{b|{{{5}}}}}|{{b|{{{5}}}|text=y}}]]''}}<!--
  +
-->{{#if:{{{6|}}}|,{{#if:{{{7|}}}||&nbsp;and}} ''[[{{b|{{{6}}}}}|{{b|{{{6}}}|text=y}}]]''}}<!--
  +
-->{{#if:{{{7|}}}|, and ''[[{{b|{{{7}}}}}|{{b|{{{7}}}|text=y}}]]''}}<!--
 
-->!
 
|Be aware that in its current state, it does not include this additional content yet.
 
|Be aware that in its current state, it does not include this additional content yet.
 
}}<includeonly><!--
 
}}<includeonly><!--
Line 6: Line 14:
 
-->[[Category: Articles that need updates]]<!--
 
-->[[Category: Articles that need updates]]<!--
   
-->{{#if:{{{book|}}}|<!--
+
-->{{#if:{{{1|}}}{{{book|}}}|[[Category: Update for {{b|{{{1|{{{book}}}}}}}}]]}}<!--
-->[[Category: Update for {{b|{{{book}}}|}}]]<!--
+
-->{{#if:{{{2|}}}|[[Category: Update for {{b|{{{2}}}}}]]}}<!--
  +
-->{{#if:{{{3|}}}|[[Category: Update for {{b|{{{3}}}}}]]}}<!--
-->}}<!--
 
  +
-->{{#if:{{{4|}}}|[[Category: Update for {{b|{{{4}}}}}]]}}<!--
  +
-->{{#if:{{{5|}}}|[[Category: Update for {{b|{{{5}}}}}]]}}<!--
  +
-->{{#if:{{{6|}}}|[[Category: Update for {{b|{{{6}}}}}]]}}<!--
  +
-->{{#if:{{{7|}}}|[[Category: Update for {{b|{{{7}}}}}]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
This notice should be used on articles that are missing information from a recently released book. It will add them to [[:category: articles that need updates]]. When the new info is added, remove this notice. For example, to indicate that a page is missing information from Rhythm of War, use {{t|update|2=book=sa4}}. See [[Template:B]] for the relevant book code for other books.
+
This notice should be used on articles that are missing information from a recently released book. It can be removed once the article has been updated for that book (or, if the article has only been updated for one of the listed books, remove only that book's code from the template). It adds the page into [[:Category: Articles that need updates]]. To indicate which book(s) the article needs to be updated for, add the book codes from [[Template:B]] as parameters. For example, to indicate that a page needs to be updated for ''[[Dawnshard (novella)|Dawnshard]]'' and ''[[Rhythm of War]]'', use {{t|update|sa3.5|sa4}}. Doing so will also add the page to categories the track updates needed for individual books.
  +
  +
'''Note:''' {{t|update|2=book=''book code''}} is still valid, but will be suppressed unless you specify <code>2=</code>, <code>3=</code>, etc. for subsequent books.
   
 
[[Category: Notices]]
 
[[Category: Notices]]

Revision as of 19:47, 27 July 2020

This page or section needs to be updated with new information!
Be aware that in its current state, it does not include this additional content yet.

This notice should be used on articles that are missing information from a recently released book. It can be removed once the article has been updated for that book (or, if the article has only been updated for one of the listed books, remove only that book's code from the template). It adds the page into Category: Articles that need updates. To indicate which book(s) the article needs to be updated for, add the book codes from Template:B as parameters. For example, to indicate that a page needs to be updated for Dawnshard and Rhythm of War, use {{update|sa3.5|sa4}}. Doing so will also add the page to categories the track updates needed for individual books.

Note: {{update|book=book code}} is still valid, but will be suppressed unless you specify 2=, 3=, etc. for subsequent books.

Articles using Template