Jump to content

Module:ExternalLinks/doc

From BadWolfMC Wiki
Revision as of 23:58, 7 May 2025 by Merc (talk | contribs) (Created page with "== Module:ExternalLinks == This module defines a centralized table of commonly used external URLs for BadWolfMC. It is invoked via the template Template:Ext-link using: <syntaxhighlight lang="wikitext"> {{ext-link|key|optional display text}} </syntaxhighlight> == How to add a new link == 1. Edit Module:ExternalLinks 2. Add a new entry to the <code>links</code> table in this format: <syntaxhighlight lang="lua"> key = { url = "https://example.com/...", l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:ExternalLinks

This module defines a centralized table of commonly used external URLs for BadWolfMC.

It is invoked via the template Template:Ext-link using:

{{ext-link|key|optional display text}}

1. Edit Module:ExternalLinks 2. Add a new entry to the links table in this format:

key = {
    url = "https://example.com/...",
    label = "Default Label"
}

3. Use it in the wiki like {{ext-link|key}}

See also