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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Created page with '<includeonly>{{{{{subst|}}}#rmatch:{{{1}}}|\[{{{2}}}]|true|false}}</includeonly><noinclude> Usage: <nowiki>{{ tag | raw entry | full tag }}</nowiki> Returns: "true" if found. "f…')
 
m (Protected "Template:Tag" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#rmatch:{{{1}}}|\[{{{2}}}]|true|false}}</includeonly><noinclude>
+
<includeonly>{{#df_tag:{{{1}}}|{{{2}}}|{{{3|0}}}|{{{4|{{{2}}}}}}}}</includeonly><noinclude>
Usage: <nowiki>{{ tag | raw entry | full tag }}</nowiki>
+
Usage: <nowiki>{{ tag | raw entry | tag type | offset (defaults to 0) | tag entry (defaults to tagtype) }}</nowiki>
  
Returns: "true" if found. "false" if not found.
+
Returns: 1 if found, "" if not found.
 
 
Subst usage: <nowiki>{{ subst:tag | raw entry | full tag | subst=subst:}}</nowiki>
 
  
 
[[category:raw templates]]
 
[[category:raw templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:32, 29 November 2023

Usage: {{ tag | raw entry | tag type | offset (defaults to 0) | tag entry (defaults to tagtype) }}

Returns: 1 if found, "" if not found.