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
(use same base regex as raw2, which works the same but doesn't require recursion (and should thus be easier on the server))
m (Protected "Template:Raw": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{{{{subst|}}}#rreplace:{{{{{subst|}}}#rmatch:{{{{{subst|}}}{{{1}}}}}|/(\[{{{2}}}:{{{3}}}\].*?)(\[{{{2}}}:{{!}}$)/s|\1|not found}}|/(^{{!}}\])[^\]\[]*(${{!}}\[)/|\1\2}}</includeonly><noinclude>
+
<includeonly>{{#df_raw:{{{1}}}|{{{2}}}|{{{3}}}|not found}}</includeonly><noinclude>
Usage: <nowiki>{{raw | raw location | object type | object name}}</nowiki>
+
{{Documentation}}
 
 
Returns: Raw entry of that object
 
 
 
Subst usage: <nowiki>{{subst:raw | raw location | object type | object name | subst=subst:}}</nowiki>
 
 
 
 
[[category:raw templates]]
 
[[category:raw templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:30, 28 November 2023