Difference between revisions of "Template:Mod"
From Wildermyth Wiki
Gamebuster (talk | contribs) (Support for coremods and external links) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><big><p id="moddedContentBanner"> | <includeonly><big><p id="moddedContentBanner"> | ||
[[File:Modded Content Icon.png|80px|middle|link=]] | [[File:Modded Content Icon.png|80px|middle|link=]] | ||
'''Modded Content:''' This content is part of the '''[ | '''Modded Content:''' This content is part of the '''{{#if:{{{2|}}}|{{#if:{{{external|}}}|[{{{2}}} {{{1}}}]|[[{{{2}}}|{{{1}}}]]}}|{{{1}}}}}''' {{#if:{{{coremod|}}}|coremod|mod}}</p></big></includeonly><noinclude> | ||
{{Mod/doc}} | {{Mod/doc}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:37, 17 September 2025
- This documentation is transcluded from Template:Mod/doc
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