Deep Rock Galactic Wiki
(Rework)
(Style -> CSS)
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float:right;">
+
<div class="Updated">
{{#switch: {{{1|}}}
+
{{#switch: {{#explode:{{{1|<NoInclude>U32</NoInclude>}}}|.|0}}
  +
| Timeless = This page is timeless and should be accurate regardless of game updates. [[Category:{{{Timeless}}}]]
 
| CurrentVersions
 
| CurrentVersions
  +
| U32 = [[Category:Up to Date]] This page is up to date for {{UpdatedStrings|{{{1|<noinclude>U32</noinclude>}}}}}
| AN2
 
| AN2020
 
| U28
 
| U28.8 = This page is up to date for {{#switch: {{{1|}}}
 
| AN2020 = Anniversary: Two Years In Orbit
 
| U28 = Update 28: Feeling Perky
 
| U28.8 = Update 28: Feeling Perky – Patch 8
 
| #Default = {{{1|This Text Should not Show}}}
 
}}
 
 
| OldVersions
 
| OldVersions
| #Default = This page is possibly not up to date, It was last updated for {{#switch: {{{1|}}}
+
| #Default = [[Category:Potentially Out of Date]] This page is possibly not up to date, It was last updated for {{UpdatedStrings|{{{1}}}}}
| U27 = Update 27: Little Big Things
 
| U27.4 = Update 27: Little Big Things – Patch 4
 
| #Default = {{{Version|an unknown version}}}
 
}}
 
 
}}
 
}}
 
</div><noinclude>{{clear}}{{doc}}</noinclude>
</div>
 
 
<noinclude>{{clear}}{{doc}}</noinclude>
 

Revision as of 03:01, 24 October 2020

This page is up to date for Update 32: Roughnecks At Work
Template-info Documentation

{{Updated}} is used to indicate when a page was last updated.

Usage

{{Updated|version}} allows to indicate exactly based on what version of the game a page was written.

If this was an article this template would be used to indicate that it was last updated for U29 Hotfix 6

To do so {{Updated|U29.6}} would be put at the top of the page which becomes (Note the text is right aligned):
This page is possibly not up to date, It was last updated for Update 29: The End of the Beginning – Patch 6

This template dynamically creates the string it displays using the {{UpdatedStrings}} Template to get the update/patch name. While a preset update or event code must be used (They are displayed below) any hotfix number can be used without the template needed to be updated for them.

For example: {{UpdatedStrings|U28.12.34}} becomes Update 28: Feeling Perky – Patch 12.34

Versions

U27     // Update 27: Little Big Things
U28     // Update 28: Feeling Perky
AN2     // Anniversary: Two Years In Orbit
AN2020  // Anniversary: Two Years In Orbit
U29     // Update 29: The End of the Beginning
Launch  // 
U30     // Update 30: Going 1.0
U31     // Update 31: What Was Left Behind
U32     // Update 32: Roughnecks At Work
U33     // Update 33: New Frontiers
U34     // Update 34: Modest Expectations
U35     // Season 01: Rival Incursion
U36     // Season 02: Rival Escalation