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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (this will need to be altered to handle creatures appropriately, but that's for later)
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#rmatch:{{{{{subst|}}}{{{1}}}}}|((\n[ \t]*(\[[^\]]*\])+)*\n[ \t]*(\[[^\]]*])*\[{{{2}}}:{{{3}}}\](\n[ \t]*(\[[^\]]*\])+)*)|\1|not found}}</includeonly><noinclude>
+
<includeonly>{{{{{subst|}}}#rmatch:{{{{{subst|}}}{{{1}}}}}|/(\[{{{2}}}:{{{3}}}\](.(?!\[{{{3}}}\]))*)/s|\1|not found}}</includeonly><noinclude>
 
Usage: <nowiki>{{raw | raw location | object type | object name}}</nowiki>
 
Usage: <nowiki>{{raw | raw location | object type | object name}}</nowiki>
  

Revision as of 21:49, 9 April 2010

Usage: {{raw | raw location | object type | object name}}

Returns: Raw entry of that object

Subst usage: {{subst:raw | raw location | object type | object name | subst=subst:}}