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 (Created page with '<includeonly>{{{{{subst|}}}#rmatch:{{{1}}}|\[{{{2}}}:([^]]*)\]|\1|not found}}</includeonly><noinclude> Usage: <nowiki>{{tagvalue | raw entry | tag name }}</nowiki> Returns: valu…')
 
m
Line 1: Line 1:
 
<includeonly>{{{{{subst|}}}#rmatch:{{{1}}}|\[{{{2}}}:([^]]*)\]|\1|not found}}</includeonly><noinclude>
 
<includeonly>{{{{{subst|}}}#rmatch:{{{1}}}|\[{{{2}}}:([^]]*)\]|\1|not found}}</includeonly><noinclude>
Usage: <nowiki>{{tagvalue | raw entry | tag name }}</nowiki>
+
Usage: <nowiki>{{ tagvalue | raw entry | tag name }}</nowiki>
  
 
Returns: value associated to that tag. uses the first tag encountered.
 
Returns: value associated to that tag. uses the first tag encountered.
  
Subst usage: <nowiki>{{tagvalue | raw entry | tag name | subst=subst:}}</nowiki>
+
Subst usage: <nowiki>{{ subst:tagvalue | raw entry | tag name | subst=subst:}}</nowiki>
  
 
[[category:raw templates]]
 
[[category:raw templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:53, 17 October 2009

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:}}