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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(added {{sandbox}} notice w/ modified comment)
(testing Template:Token)
Line 1: Line 1:
<!--            Welcome to the sandbox!              *
+
<noinclude>{{sandbox}}
*            Please leave this part alone            *
+
</noinclude><includeonly><code>{{#if:{{{1|}}}|{{#if:{{{3|}}}|[<nowiki/>}}[[{{{link|{{#switch:{{lc:{{#rreplace:{{{2}}}|\s|}}}}
--><noinclude>{{sandbox}}</noinclude><!--
+
|<!-- frequently used pages are placed on top for better performance
*            CAUTION: this is a TEMPLATE            *
+
-->c|cr|creature=Creature token
*       For a normal page, search up "Sandbox"      *
+
|e|ent|entity=Entity token
*       The page might be cleared regularly        *
+
|am|ammo=Ammo token
*     Feel free to try your editing skills below    *
+
|ar|armor=Armor token
******************************************************-->
+
|bi|biome=Biome token
 +
|bd|bdp|bodydetail|bodydetailplan=Body detail plan token
 +
|bo|bod|body=Body token
 +
|bg|bdg|bodygloss=Bodygloss
 +
|b|bd|bld|build|building=Building token
 +
|cm|cman|creaturemannerism|cmannerism|manner|manners|mannerism=Creature mannerism token
 +
|ct|tx|text|ctext|txt|ctxt|ctexture|creaturetexture|texture=Creature texture token
 +
|cv|v|var|cvar|variation|cvariation|creaturevariation=Creature variation token
 +
|et|eth|ethic|ethics=Ethic
 +
|im|imat|imd|imdef|imatdef|inorganic|inorganicmaterial|inorganicmaterialdefinition=Inorganic material definition token
 +
|in|int|inter|interaction=Interaction token
 +
|id|idef|itdef|itemdef|item definition=Item definition token
 +
|i|it|item=Item token
 +
|lb|labor=Labor token
 +
|la|language=Language token
 +
|m|mat|material=Material token
 +
|md|mdef|matdef|mdefinition|materialdefinition=Material definition token
 +
|p|pl|plant=Plant token
 +
|pt|personality|trait|personalitytrait|bf|belief|beliefs|v|vl|value|values=Personality trait
 +
|po|position=Position token
 +
|r|react|reaction=Reaction
 +
|s|sk|skill=Skill token
 +
|sy|syndrome=Syndrome
 +
|td|tdef|tissue|tdefintion|tissuedefinition=Tissue definition token
 +
|to|tool=Tool token
 +
|tc|trap|trapcomponent=Trap component token
 +
|ut|unit|unittype=Unit type token
 +
|wp|weapon=Weapon token
 +
|wo|world=Advanced world generation
 +
|#default={{token/guess type|{{{1}}}}}
 +
}}#{{uc:{{{1}}}}}}}}{{!}}{{#if:{{{3|}}}|{{uc:{{{1}}}}}]]:{{{3}}}]|[{{uc:{{{1}}}}}]]]}}|{{error|Error: TOKEN is not defined}}}}</code></includeonly><noinclude>
 +
 
 +
* {{test|ATTACK|am}}
 +
* {{test|ARMORLEVEL|ar}}
 +
* {{test|SPEED|c}}
 +
* {{test|MANNERISM_EYES}}
 +
* {{test|NAME|c|cat:cats:cat}}
 +
* {{test|}}
 +
 
 +
</noinclude>

Revision as of 09:37, 13 October 2021


  • {{#if:ATTACK|[ATTACK]|Error: TOKEN is not defined}}
  • {{#if:ARMORLEVEL|[ARMORLEVEL]|Error: TOKEN is not defined}}
  • {{#if:SPEED|[SPEED]|Error: TOKEN is not defined}}
  • {{#if:MANNERISM_EYES|[MANNERISM_EYES]|Error: TOKEN is not defined}}
  • {{#if:NAME|[NAME:cat:cats:cat]|Error: TOKEN is not defined}}
  • {{#if:|[]|Error: TOKEN is not defined}}