Difference between revisions of "Template:Update/doc"

From EVE University Wiki
Jump to: navigation, search
m
(Rewrite code that put the documentation and the template page into the category Needing updates)
Line 1: Line 1:
<noinclude>{{main|Template:Update}}</noinclude>
+
; Description
;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.
: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 [[:Category:Needing updates|Needing updates]] category.
;Syntax
 
:Type <code>{{t|Update}}</code> at the top of the page.
 
;Sample output
 
:<code><nowiki>{{Update}}</nowiki></code> produces this banner:
 
:{{Update}}
 
;Optional descriptor
 
:Type <code>{{t|Update|Example reason given}}</code> at the top of the page.
 
;Sample output
 
:<code><nowiki>{{Update|Battlecruiser re-balance in Aegis.}}</nowiki></code> produces this banner:
 
:{{Update|Battlecruiser re-balance in Aegis.}}
 
  
Putting this template on a page also adds it to the [[:Category:Needing updates|Needing updates]] category.
+
; Syntax
 +
: <code>{{t|Update|reason}}</code>
 +
:: reason (optional) - Reason why the page need to be updated. If omitted defaults to "No reason was specified".
  
== See also ==
+
; Sample
 +
: <code><nowiki>{{Update}}</nowiki></code> gives...
 +
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
 +
'''This page should be [[:Category:Needing updates|updated]] due to game changes.''' {{#if: {{{1|}}}|Reason: ''{{{1}}}''|No reason was specified.}}
 +
</div>
 +
: <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">
 +
'''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.}}-->
 +
</div>
  
* {{tl|Cleanup}}, for pages which should be updated for grammar, typographical errors, organization, readability, and other non-content related changes.
+
; See also
 +
: {{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|{{PAGENAME}}]]</noinclude>

Revision as of 10:20, 7 July 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.