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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#rmatch:{{{1}}}|
+
<includeonly>{{#df_tagentry:{{{1}}}|{{{2}}}|{{{3|0}}}|{{{notfound|not found}}}}}</includeonly><noinclude>
/{{{{{subst|}}}#if: {{{req|}}}
 
|(?={{{{{subst|}}}rxtag|{{{2}}}|{{{reqoffset|0}}}|{{{req}}}}})
 
}}{{{{{subst|}}}rxtag|{{{2}}}|{{{3|0}}}}}/
 
|\1|{{{notfound|not found}}}}}</includeonly><noinclude>
 
  
<nowiki>{{tagentry|raw data|tag|offset|notfound=notfoundmessage|req=required value|reqoffset=where is it required?}}</nowiki>
+
<nowiki>{{tagentry|raw data|tag|offset|notfound=notfoundmessage}}</nowiki>
  
 
Returns the corresponding entry of the first tag of that type encountered.
 
Returns the corresponding entry of the first tag of that type encountered.
 
[[category:raw templates]]</noinclude>
 
[[category:raw templates]]</noinclude>

Revision as of 13:54, 1 April 2011


{{tagentry|raw data|tag|offset|notfound=notfoundmessage}}

Returns the corresponding entry of the first tag of that type encountered.