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
(force uppercase on anchor+ display)
(rmv #rreplace; causing template to not work in pages that reached the limit)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><code>{{#if:{{{3|}}}|[<nowiki/>}}[[{{{link|{{#switch:{{lc:{{#rreplace:{{{2}}}|\s|}}}}
+
<includeonly><code>{{#if:{{{3|}}}|[<nowiki/>}}[[{{{link|{{#switch:{{lc:{{{2}}}}}
 
|<!-- frequently used pages are placed on top for better performance
 
|<!-- frequently used pages are placed on top for better performance
 
-->c|cr|creature=Creature token
 
-->c|cr|creature=Creature token
Line 18: Line 18:
 
|id|idef|itdef|itemdef|item definition=Item definition token
 
|id|idef|itdef|itemdef|item definition=Item definition token
 
|i|it|item=Item token
 
|i|it|item=Item token
 +
|ins|instrument=Instrument token
 
|lb|labor=Labor token
 
|lb|labor=Labor token
 
|la|language=Language token
 
|la|language=Language token
Line 34: Line 35:
 
|wp|weapon=Weapon token
 
|wp|weapon=Weapon token
 
|wo|world=Advanced world generation
 
|wo|world=Advanced world generation
 +
|g|gr|graphics=Graphics token
 
|#default={{token/guess type|{{{1|}}}}}
 
|#default={{token/guess type|{{{1|}}}}}
 
}}#{{uc:{{{1|}}}}}}}}|{{#if:{{{3|}}}||[}}{{uc:{{{1}}}}}{{#if:{{{3|}}}|]]:{{{3}}}]|]]]}}</code></includeonly><noinclude>
 
}}#{{uc:{{{1|}}}}}}}}|{{#if:{{{3|}}}||[}}{{uc:{{{1}}}}}{{#if:{{{3|}}}|]]:{{{3}}}]|]]]}}</code></includeonly><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 05:54, 25 June 2023