Jump to content

Template:Ext-link/doc: Difference between revisions

From BadWolfMC Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
== Usage ==
== Usage ==
Use <code><nowiki>{{ext-link}}</nowiki></code> to create a reusable external link from a central list defined in [[Module:ExternalLinks]].
Use <code><nowiki>{{ext-link}}</nowiki></code> to create a reusable external link from a central list defined in [[Module:ExternalLinks]].
Line 5: Line 4:
=== Basic usage ===
=== Basic usage ===
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{ext-link|rp}}
{{ext-link|apply}}
</syntaxhighlight>
</syntaxhighlight>
→ [https://wiki.badwolfmc.com/files/BadWolfMC_ResourcePack.zip Resource Pack]
→ [https://www.badwolfmc.com/membership-application Apply]


=== With custom label ===
=== With custom label ===
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{ext-link|rp|Download the latest RP here}}
{{ext-link|apply|Join us today!}}
</syntaxhighlight>
</syntaxhighlight>
→ [https://wiki.badwolfmc.com/files/BadWolfMC_ResourcePack.zip Download the latest RP here]
→ [https://www.badwolfmc.com/membership-application Join us today!]


== Available Keys ==
== Available Keys ==
Line 20: Line 19:
=== Raw URLs ===
=== Raw URLs ===
{{#invoke:ExternalLinks|listBareUrls}}
{{#invoke:ExternalLinks|listBareUrls}}
</noinclude>

Latest revision as of 11:42, 8 May 2025

Usage

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

Basic usage

{{ext-link|apply}}

Apply

With custom label

{{ext-link|apply|Join us today!}}

Join us today!

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