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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(and especially this)
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#rmatch:{{{1}}}|\[{{{2}}}:([^\]]*)\]|\1|{{{notfound|not found}}}}}</includeonly><noinclude>
+
<includeonly><!--{{{{{subst|}}}#rmatch:{{{1}}}|\[{{{2}}}:([^\]]*)\]|\1|{{{notfound|not found}}}}}--></includeonly><noinclude>
 
Usage: <nowiki>{{ tagvalue | raw entry | tag name }}</nowiki>
 
Usage: <nowiki>{{ tagvalue | raw entry | tag name }}</nowiki>
  

Revision as of 19:54, 16 December 2010

Usage: {{ tagvalue | raw entry | tag name }}

Returns: value associated to that tag. uses the first tag encountered.

Subst usage: {{ subst:tagvalue | raw entry | tag name | subst=subst:}}