v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Version switch"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with "{{#switch:{{NAMESPACE}} |Template= * [[Template:DF2012 {{{1}}}]] * [[Template:Masterwork {{{1}}}]] * [[Template:v0.31 {{{1}}}]] * [[Template:40d {{{1}}}]] * [[Template:23a {{{...")
 
m (Protected "Template:Version switch": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{#switch:{{NAMESPACE}}
 
{{#switch:{{NAMESPACE}}
 
|Template=
 
|Template=
* [[Template:DF2012 {{{1}}}]]
+
This is a helper template that transcludes different templates based on the namespace of the page where it is included. The following templates are supported:
 +
* [[Template:v50 {{{1}}}]]
 +
* [[Template:DF2014 {{{1}}}]]
 +
* [[Template:v0.34 {{{1}}}]]
 
* [[Template:Masterwork {{{1}}}]]
 
* [[Template:Masterwork {{{1}}}]]
 
* [[Template:v0.31 {{{1}}}]]
 
* [[Template:v0.31 {{{1}}}]]
 
* [[Template:40d {{{1}}}]]
 
* [[Template:40d {{{1}}}]]
 
* [[Template:23a {{{1}}}]]
 
* [[Template:23a {{{1}}}]]
|#default={{ {{NAMESPACE}} {{{1}}} }}
+
[[Category:Templates]]
}}<noinclude>{{documentation}}</noinclude>
+
|23a|40d|v0.31|v0.34|DF2014|Masterwork ={{ {{NAMESPACE}} {{{1}}} |cat={{{cat|}}} }}
 +
|={{ v50 {{{1}}} |cat={{{cat|}}} }}
 +
|#default ={{{{df:current}} {{{1}}} |cat={{{cat|}}} }}
 +
}}<noinclude><!-- line break is necessary -->
 +
{{documentation}}
 +
[[Category:version templates]]
 +
</noinclude>

Latest revision as of 22:29, 28 November 2023

This is a helper template that transcludes different templates based on the namespace of the page where it is included. The following templates are supported:

  • [[Template:v50 {{{1}}}]]
  • [[Template:DF2014 {{{1}}}]]
  • [[Template:v0.34 {{{1}}}]]
  • [[Template:Masterwork {{{1}}}]]
  • [[Template:v0.31 {{{1}}}]]
  • [[Template:40d {{{1}}}]]
  • [[Template:23a {{{1}}}]]