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:Token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(moving non-template stuff to doc)
(added <includeonly>)
Line 1: Line 1:
<code>{{#if:{{{3|}}}|[<nowiki/>}}[[{{{link|{{#switch:{{lc:{{#rreplace:{{{2|}}}|\s|}}}}
+
<includeonly><code>{{#if:{{{3|}}}|[<nowiki/>}}[[{{{link|{{#switch:{{lc:{{#rreplace:{{{2}}}|\s|}}}}
 
|am|ammo=Ammo token
 
|am|ammo=Ammo token
 
|ar|armor=Armor token
 
|ar|armor=Armor token
Line 34: Line 34:
 
|wo|world=Advanced world generation
 
|wo|world=Advanced world generation
 
|#default={{token/guess type|{{{1|}}}}}
 
|#default={{token/guess type|{{{1|}}}}}
}}#{{{1|}}}}}}|{{#if:{{{3|}}}||[}}{{{1}}}{{#if:{{{3|}}}|]]:{{{3}}}]|]]]}}</code><noinclude>
+
}}#{{{1|}}}}}}|{{#if:{{{3|}}}||[}}{{{1}}}{{#if:{{{3|}}}|]]:{{{3}}}]|]]]}}</code></includeonly><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 12:27, 10 October 2021