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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(switch to ambox for consistent width)
m
 
Line 4: Line 4:
 
|image=<div style="vertical-align: middle; font: bold 210% verdana;">MOD</div>
 
|image=<div style="vertical-align: middle; font: bold 210% verdana;">MOD</div>
 
|imagestyle=margin: 0 40px 0 20px;
 
|imagestyle=margin: 0 40px 0 20px;
|text=This {{{1|page}}} includes '''[[:Category:Mods | mods]]'''.  The content is not part of normal DF as released.  Changing game files can sometimes cause unexpected results, and should always be done with care and caution.
+
|text=This {{{1|page}}} includes '''[[:Category:Mods|mods]]'''.  The content is not part of normal DF as released.  Changing game files can sometimes cause unexpected results, and should always be done with care and caution.
}}
+
}}<includeonly>{{#ifeq:{{{cat|}}}|nocat||{{Category|Mods}}}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{{cat|}}}|nocat||{{Category|Mods}}}}</includeonly><noinclude>
+
----
 +
 
 
=== Usage ===
 
=== Usage ===
  {{<nowiki/>Mod}} or {{<nowiki/>mod|''location''}}
+
  {{t|Mod}} or {{t|mod|''location''}}
 
where ''location'' is an optional parameter for use in sections or subsections (e.g. <code>{{<nowiki/>mod|section}}</code>).
 
where ''location'' is an optional parameter for use in sections or subsections (e.g. <code>{{<nowiki/>mod|section}}</code>).
  
Line 14: Line 15:
  
 
  {{<nowiki/>Mod|cat=nocat}}
 
  {{<nowiki/>Mod|cat=nocat}}
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 19:56, 1 January 2023


Usage[edit]

{{Mod}} or {{mod|location}}

where location is an optional parameter for use in sections or subsections (e.g. {{mod|section}}).

Pages are automatically added to Category:Mods; this behavior can be disabled by adding a "cat=nocat" parameter:

{{Mod|cat=nocat}}