Difference between revisions of "Template:UpdateChanged"

From DDO Compendium
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
|parameter2name=what to check for
|parameter2name=what to check for
|parameter2description=Enter what part of the page to check for.  Blank for the whole page.
|parameter2description=Enter what part of the page to check for.  Blank for the whole page.
}}</noinclude><includeonly>{{#ifeq: {{FULLPAGENAME}} |Template:UpdateChanged||[[Category: Pages Marked as Update Required]]}}<table background="lightgray" class="compendiumtable fullwidth"><tr><td>The page has not been updated for changes in release {{{1}}}.{{#if: {{{2|}}}|<br><br><span color="yellow">{{{2}}}</span>}}</td></tr></table></includeonly>
|parameter3name=custom category
|parameter3description=If present, a category that this item will be included it.  Use is more for larger update changes (W changes in U62)
}}</noinclude><includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient||{{#ifeq: {{FULLPAGENAME}} |Template:UpdateChanged||[[Category: Pages Marked as Update Required]]{{#if: {{{3|}}}|[[Category: {{{3}}}]]}}}}<table background="lightgray" class="compendiumtable fullwidth"><tr><td>The page has not been updated{{#if: {{{1|}}}|&nbsp;for changes in release {{{1}}}}}.{{#if: {{{2|}}}|<br><span style="color:yellow">{{{2}}}</span>}}</td></tr></table>}}</includeonly>

Latest revision as of 13:05, 10 October 2023


UpdateChanged[edit]

This template is used to render text that explains that this page hasn't been updated for recent changes

Usage[edit]

{{UpdateChanged|(release name)|(what to check for)|(custom category)}}

Parameter Documentation
release nameDefine the release that this is in. For example "Update 40" or "Update 40 Patch 1".
what to check forEnter what part of the page to check for. Blank for the whole page.
custom categoryIf present, a category that this item will be included it. Use is more for larger update changes (W changes in U62)

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.