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
(add rest of token list pages: bodygloss, labor, language, material, material def, personality, position, reaction, skill, tissue def, tool, trap, unit, weapon, world)
(added ability to refer to syndromes using "sy", "syndrome")
Line 26: Line 26:
 
|r|react|reaction=Reaction
 
|r|react|reaction=Reaction
 
|s|sk|skill=Skill token
 
|s|sk|skill=Skill token
 +
|sy|syndrome=Syndrome
 
|td|tdef|tissue|tdefintion|tissuedefinition=Tissue definition token
 
|td|tdef|tissue|tdefintion|tissuedefinition=Tissue definition token
 
|to|tool=Tool token
 
|to|tool=Tool token

Revision as of 12:42, 11 August 2021

[{{{1}}}]

To do

$('#wpTextbox1').val($('#wpTextbox1').val().replace(/\|-\s*\n\|\s*([A-Z_]+)\s*\n/g, function(m, a){return '|-\n| {{text anchor|'+a+'}}\n'}));
To check for missed rows:
$('#wikiPreview tr').has('.text-anchor').hide()

Examples