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
(+usage)
(switch to ambox for consistent width)
Line 1: Line 1:
{| style="border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #50b076; max-width:75%; margin: 0px auto 10px auto;"
+
{{ambox
|-
+
|type=notice
| style="padding: 1.0em 0.5em; width: 10%; height: 100%; text-align: center;" | <span style="vertical-align: middle; font: bold 210% verdana;">MOD</span>
+
|bordercolor=#50b076
| style="padding: 0.5em 0.5em; width: 100%;" | 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.
+
|image=<div style="vertical-align: middle; font: bold 210% verdana;">MOD</div>
 
+
|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.
 +
}}
 
<includeonly>{{#ifeq:{{{cat|}}}|nocat||{{Category|Mods}}}}</includeonly><noinclude>
 
<includeonly>{{#ifeq:{{{cat|}}}|nocat||{{Category|Mods}}}}</includeonly><noinclude>
 
=== Usage ===
 
=== Usage ===

Revision as of 05:37, 28 February 2021

Usage

{{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}}