Difference between revisions of "Template:Mod/doc"

From Wildermyth Wiki
(Add documentation for coremod and external page)
(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'


== Example ==
== Examples ==


<pre><nowiki>
<pre><nowiki>
Line 25: Line 25:


<pre><nowiki>
<pre><nowiki>
{{Mod|My Cool Mod|https://example.com|external=true|coremod=true}}
{{Mod|Example|https://example.com|external=true|coremod=true}}
</nowiki></pre>
</nowiki></pre>



Latest revision as of 19:43, 17 September 2025

This is a documentation subpage for Template:Mod.

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 external is 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, link will 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 Icon.png      Modded Content: This content is part of the My Cool Mod mod

{{Mod|Example|https://example.com|external=true|coremod=true}}

Modded Content Icon.png      Modded Content: This content is part of the Example coremod