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
m (default category correction)
m
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| style="margin: 0 10%; border-collapse: collapse; background: #50b076; border: 1px solid #aaa; border-left: 10px solid #666666; width:80%; margin-bottom: 10px"
+
{{ambox
|-
+
|type=notice
| style="padding: 0.5em 1em 0.5em 0.5em; text-align: center;" | [[Image:Lg M.jpg|50px]]
+
|bordercolor=#50b076
| style="padding: 0.5em 0.5em; width: 100%;" | '''This page includes custom, user-created modifications or changes to the basic game of Dwarf Fortress.  The content is not part of normal DF as released.  Changing game files can sometimes cause unexpected results, and always should 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>
 +
----
  
|}[[Category:Modding]]<noinclude>
+
=== Usage ===
[[Category:Templates]]
+
{{t|Mod}} or {{t|mod|''location''}}
</noinclude>
+
where ''location'' is an optional parameter for use in sections or subsections (e.g. <code>{{<nowiki/>mod|section}}</code>).
 +
 
 +
Pages are automatically added to [[:Category:Mods]]; this behavior can be disabled by adding a "cat=nocat" parameter:
 +
 
 +
{{<nowiki/>Mod|cat=nocat}}
 +
 
 +
[[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}}