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.

Template:Version switch/doc

From Dwarf Fortress Wiki
< Template:Version switch
Revision as of 18:27, 29 August 2013 by Lethosor (talk | contribs) (Documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template includes other templates based on the current page's namespace.

Usage

{{version switch|Base template name}}

Examples

{{version switch|metals}}
  • When the template is viewed, a list of (commonly-used) included templated will be displayed (such as Template:DF2012 metals in this case).
  • When viewed in any other namespace, the namespace (plus a space) will be prepended to "metals", and the resulting page name will be included.