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
(Undo revision 259369 by Doorkeeper (talk): readded back values; doesn't impact performance that much)
Tag: Undo
(mov high-use cases to top #switch branch)
Line 1: Line 1:
 
<includeonly><code>{{#if:{{{3|}}}|[<nowiki/>}}[[{{{link|{{#switch:{{lc:{{#rreplace:{{{2}}}|\s|}}}}
 
<includeonly><code>{{#if:{{{3|}}}|[<nowiki/>}}[[{{{link|{{#switch:{{lc:{{#rreplace:{{{2}}}|\s|}}}}
 +
|<!-- frequently used pages are placed on top for better performance
 +
-->c|cr|creature=Creature token
 +
|e|ent|entity=Entity token
 
|am|ammo=Ammo token
 
|am|ammo=Ammo token
 
|ar|armor=Armor token
 
|ar|armor=Armor token
Line 9: Line 12:
 
|cm|cman|creaturemannerism|cmannerism|manner|manners|mannerism=Creature mannerism token
 
|cm|cman|creaturemannerism|cmannerism|manner|manners|mannerism=Creature mannerism token
 
|ct|tx|text|ctext|txt|ctxt|ctexture|creaturetexture|texture=Creature texture token
 
|ct|tx|text|ctext|txt|ctxt|ctexture|creaturetexture|texture=Creature texture token
|c|cr|creature=Creature token
 
 
|cv|v|var|cvar|variation|cvariation|creaturevariation=Creature variation token
 
|cv|v|var|cvar|variation|cvariation|creaturevariation=Creature variation token
|e|ent|entity=Entity token
 
 
|et|eth|ethic|ethics=Ethic
 
|et|eth|ethic|ethics=Ethic
 
|im|imat|imd|imdef|imatdef|inorganic|inorganicmaterial|inorganicmaterialdefinition=Inorganic material definition token
 
|im|imat|imd|imdef|imatdef|inorganic|inorganicmaterial|inorganicmaterialdefinition=Inorganic material definition token

Revision as of 06:46, 13 October 2021