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
(on second thought, it's best to leave this stuff in so the pages are just aborted early, otherwise the other templates failing to parse make it even worse)
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#rmatch:{{{{{subst|}}}{{{1}}}}}|/(\[{{{2}}}:{{{3}}}\].*?)(\[{{{2}}}:{{!}}$)/s|\1|not found}}</includeonly><noinclude>
+
<includeonly>{{#df_raw:{{{{{1}}}}}|{{{2}}}|{{{3}}}|not found}}</includeonly><noinclude>
 
Usage: <nowiki>{{raw | raw filename | object type | object name}}</nowiki>
 
Usage: <nowiki>{{raw | raw filename | object type | object name}}</nowiki>
  
Returns: Raw entry of that object, with all formatting intact - data should be passed through {{tl|rawstrip}} before using it with other raw-parsing templates
+
Returns: Raw entry of that object, with all formatting intact.
  
 
Subst usage: <nowiki>{{subst:raw | raw filename | object type | object name | subst=subst:}}</nowiki>
 
Subst usage: <nowiki>{{subst:raw | raw filename | object type | object name | subst=subst:}}</nowiki>

Revision as of 13:02, 1 April 2011

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

Returns: Raw entry of that object, with all formatting intact.

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