Jump to content

Template:Ext-link/doc: Difference between revisions

From BadWolfMC Wiki
Created page with "<noinclude> == Usage == Use <code><nowiki>{{ext-link}}</nowiki></code> to create a reusable external link from a central list defined in Module:ExternalLinks. === Basic usage === <syntaxhighlight lang="wikitext"> {{ext-link|rp}} </syntaxhighlight> → [https://wiki.badwolfmc.com/files/BadWolfMC_ResourcePack.zip Resource Pack] === With custom label === <syntaxhighlight lang="wikitext"> {{ext-link|rp|Download the latest RP here}} </syntaxhighlight> → [https://wiki...."
 
No edit summary
Line 17: Line 17:
== Available Keys ==
== Available Keys ==
{{#invoke:ExternalLinks|listKeys}}
{{#invoke:ExternalLinks|listKeys}}
=== Raw URLs ===
{{#invoke:ExternalLinks|listBareUrls}}


</noinclude>
</noinclude>

Revision as of 23:49, 7 May 2025

Usage

Use {{ext-link}} to create a reusable external link from a central list defined in Module:ExternalLinks.

Basic usage

{{ext-link|rp}}

Resource Pack

With custom label

{{ext-link|rp|Download the latest RP here}}

Download the latest RP here

Available Keys

  • apply – Apply
  • discord – Discord
  • mapalpha – Alpha Map
  • mapbeta – Beta Map
  • mapdelta – Delta Map
  • mapgamma – Gamma Map
  • news – News
  • rp – Resource Pack
  • rules – Server Rules
  • shop – BadWolfMC Shop
  • stats – Player Stats
  • status – Uptime Status
  • wiki – BadWolfMC Wiki

Raw URLs