Difference between revisions of "Template:Update/doc"

From EVE University Wiki
Jump to: navigation, search
(Rewrite code that put the documentation and the template page into the category Needing updates)
m (Refactor to use {{Banner}})
Line 8: Line 8:
  
 
; Sample
 
; Sample
 +
<!-- Use code instead of  actual template because that would put the template and doc page in the Needing Updates category -->
 
: <code><nowiki>{{Update}}</nowiki></code> gives...
 
: <code><nowiki>{{Update}}</nowiki></code> gives...
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
+
{{Banner|color= #153E7E|border= #153E7E
'''This page should be [[:Category:Needing updates|updated]] due to game changes.''' {{#if: {{{1|}}}|Reason: ''{{{1}}}''|No reason was specified.}}
+
|'''This page should be [[:Category:Needing updates|updated]] due to game changes.''' ''No reason was specified.''}}
</div>
 
 
: <code><nowiki>{{Update|Battlecruiser re-balance in Aegis.}}</nowiki></code>gives...
 
: <code><nowiki>{{Update|Battlecruiser re-balance in Aegis.}}</nowiki></code>gives...
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
+
{{Banner|color= #153E7E|border= #153E7E
'''This page should be [[:Category:Needing updates|updated]] due to game changes.''' <!--{{#if: {{{1|}}}|-->Reason: Battlecruiser re-balance in Aegis.<!--''{{{1}}}''|No reason was specified.}}-->
+
|'''This page should be [[:Category:Needing updates|updated]] due to game changes.'''<BR> Reason: Battlecruiser re-balance in Aegis.}}
</div>
 
 
 
 
; See also
 
; See also
 
: {{tl|Cleanup}}, for pages which should be updated for grammar, typographical errors, organization, readability, and other non-content related changes.
 
: {{tl|Cleanup}}, for pages which should be updated for grammar, typographical errors, organization, readability, and other non-content related changes.
  
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 11:24, 24 October 2021

Description
This template is used to indicate that the current page needs updates related to game changes. The page may need facts checked, numbers updated, or entire sections altered, to reflect recent game changes.
Putting this template on a page also adds it to the Needing updates category.
Syntax
{{Update|<reason>}}
reason (optional) - Reason why the page need to be updated. If omitted defaults to "No reason was specified".
Sample
{{Update}} gives...
This page should be updated due to game changes. No reason was specified.
{{Update|Battlecruiser re-balance in Aegis.}}gives...
This page should be updated due to game changes.
Reason: Battlecruiser re-balance in Aegis.
See also
{{Cleanup}}, for pages which should be updated for grammar, typographical errors, organization, readability, and other non-content related changes.