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
(this too)
m (Reverted edits by Quietust (Talk) to last revision by VengefulDonut)
Line 1: Line 1:
<includeonly><!--{{{{{subst|}}}#rmatch:{{{1}}}|
+
{{{{{subst|}}}#rmatch:{{{1}}}|
 
/{{{{{subst|}}}#if: {{{req|}}}
 
/{{{{{subst|}}}#if: {{{req|}}}
 
|(?={{{{{subst|}}}rxtag|{{{2}}}|{{{reqoffset|0}}}|{{{req}}}}})
 
|(?={{{{{subst|}}}rxtag|{{{2}}}|{{{reqoffset|0}}}|{{{req}}}}})
 
}}{{{{{subst|}}}rxtag|{{{2}}}|{{{3|0}}}}}/
 
}}{{{{{subst|}}}rxtag|{{{2}}}|{{{3|0}}}}}/
|\1|{{{notfound|not found}}}}}--></includeonly><noinclude>
+
|\1|{{{notfound|not found}}}}}<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|req=required value|reqoffset=where is it required?}}</nowiki>

Revision as of 19:55, 16 December 2010

not found

{{tagentry|raw data|tag|offset|notfound=notfoundmessage|req=required value|reqoffset=where is it required?}}

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