Template:ChangelogVersionHeader: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
THEN SHOW CURRENT-VERSION CHANGELOG HEADER:
THEN SHOW CURRENT-VERSION CHANGELOG HEADER:


-->__NOTITLE__{{TOC right|limit=2}}<h2>{{FULLPAGENAME}}</h2> [[{{NAMESPACE}}Version::{{BASEPAGENAME}}|]] [[Category:{{NAMESPACE}} Mod-Build Changelogs]]
-->__NOTITLE__{{TOC|limit=2}}<h2>{{FULLPAGENAME}}</h2> [[{{NAMESPACE}}Version::{{BASEPAGENAME}}|]] [[Category:{{NAMESPACE}} Mod-Build Changelogs]]
'''<'''  [[{{NAMESPACE}}:Changelogs|All {{NAMESPACE}} changelogs]]  '''{{!}}'''  [[{{NAMESPACE}}:{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}} Guide]]
'''<'''  [[{{NAMESPACE}}:Changelogs|All {{NAMESPACE}} changelogs]]  '''{{!}}'''  [[{{NAMESPACE}}:{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}} Guide]]
{{alert|type=notice|text=Changes to the live guide can occur at any time between releases, so review this changelog to see what may have changed since your {{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}} build date.}}|<!--
{{alert|type=notice|text=Changes to the live guide can occur at any time between releases <span style="color:#f3c3b0">(see page footer for last edited timestamp)</span>, so review this changelog to see what may have changed since your {{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}} build date.}}|<!--


ELSE IF DEVELOPMENT CHANGELOG = CURRENT PAGE
ELSE IF DEVELOPMENT CHANGELOG = CURRENT PAGE
Line 15: Line 15:
THEN SHOW DEVELOPMENT-VERSION CHANGELOG HEADER:
THEN SHOW DEVELOPMENT-VERSION CHANGELOG HEADER:


-->__NOTITLE__{{TOC right|limit=2}}<h2>{{FULLPAGENAME}}</h2> [[{{NAMESPACE}}Version::{{BASEPAGENAME}}|]] [[Category:{{NAMESPACE}} Mod-Build Changelogs]]
-->__NOTITLE__{{TOC|limit=2}}<h2>{{FULLPAGENAME}}</h2> [[{{NAMESPACE}}Version::{{BASEPAGENAME}}|]] [[Category:{{NAMESPACE}} Mod-Build Changelogs]]
'''<'''  [[{{NAMESPACE}}:Changelogs|All {{NAMESPACE}} changelogs]]  '''{{!}}'''  [[{{NAMESPACE}}:{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}} Guide]]
'''<'''  [[{{NAMESPACE}}:Changelogs|All {{NAMESPACE}} changelogs]]  '''{{!}}'''  [[{{NAMESPACE}}:{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}} Guide]]
{{alert|type=warning|text=This changelog pertains to the WIP Guide and does not apply to the {{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}} Guide!<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{fs|1.2em|[[{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}/changelog|'''View the current changelog instead''']]}}}}|<!--
{{alert|type=warning|text=This changelog pertains to the WIP Guide and does not apply to the {{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}} Guide!<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{fs|1.2em|[[{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}/changelog|'''View the current changelog instead''']]}}}}|<!--
Line 21: Line 21:
OTHERWISE, SHOW THE PREVIOUS-VERSION CHANGE LOG HEADER:
OTHERWISE, SHOW THE PREVIOUS-VERSION CHANGE LOG HEADER:


-->__NOTITLE__{{TOC right|limit=2}}<h2>{{FULLPAGENAME}}</h2> [[{{NAMESPACE}}Version::{{BASEPAGENAME}}|]] [[Category:{{NAMESPACE}} Mod-Build Changelogs]]
-->__NOTITLE__{{TOC|limit=2}}<h2>{{FULLPAGENAME}}</h2> [[{{NAMESPACE}}Version::{{BASEPAGENAME}}|]] [[Category:{{NAMESPACE}} Mod-Build Changelogs]]
'''<'''  [[{{NAMESPACE}}:Changelogs|All {{NAMESPACE}} changelogs]]  '''{{!}}'''  [[{{NAMESPACE}}:{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}} Guide]]
'''<'''  [[{{NAMESPACE}}:Changelogs|All {{NAMESPACE}} changelogs]]  '''{{!}}'''  [[{{NAMESPACE}}:{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}} Guide]]
{{alert|type=warning|text=This guide is not current! It may contain information that is incorrect or not in line with the current state of the game!<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{fs|1.2em|[[{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}/changelog|'''View the current changelog instead''']]}}}}}}}}</includeonly><noinclude>__NOTOC__[[Category:Changelog Templates]]
{{alert|type=warning|text=This guide is not current! It may contain information that is incorrect or not in line with the current state of the game!<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{fs|1.2em|[[{{NAMESPACE}}:{{#show:STEP:Main/GuideVersioning|?{{NAMESPACE}}CurrentRelease#}}/changelog|'''View the current changelog instead''']]}}}}}}}}</includeonly><noinclude>__NOTOC__[[Category:Changelog Templates]]

Latest revision as of 05:34, December 3, 2023


Purpose & Usage

Displays the current-version changelog if the changelog page is indeed the current changelog. Otherwise, it shows the development-version changelog header if the changelog page corresponds to the development version, else the deprecated-version changelog header is shown.


See Also

None