Difference between revisions of "Template:Mod/doc"
From Wildermyth Wiki
Gamebuster (talk | contribs) (Add documentation for coremod and external page) |
Gamebuster (talk | contribs) (fix example) |
||
| Line 16: | Line 16: | ||
; ''coremod'': If set, the text will say 'coremod' instead of 'mod' | ; ''coremod'': If set, the text will say 'coremod' instead of 'mod' | ||
== | == Examples == | ||
<pre><nowiki> | <pre><nowiki> | ||
| Line 25: | Line 25: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Mod| | {{Mod|Example|https://example.com|external=true|coremod=true}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Latest revision as of 19:43, 17 September 2025
Usage
This template should be used at the top of any wiki page about modded content. (Modded content should always be put in a subfolder of the form wildermyth.com/wiki/mods/[myModName]/[pageName])
This template uses the following parameters:
- mod name
- Name of the mod
- link
- If
externalis not set, tame of the root wiki page for this mod, e.g. "mods/myCoolMod". Otherwise the link to an external page.
- external
- If set,
linkwill be treated as an external link.
- coremod
- If set, the text will say 'coremod' instead of 'mod'
Examples
{{Mod|My Cool Mod|mods/myCoolMod}}
Modded Content: This content is part of the My Cool Mod mod
{{Mod|Example|https://example.com|external=true|coremod=true}}
Modded Content: This content is part of the Example coremod