Template

WorldSwitch

From Dogcraft Wiki

Revision as of 01:37, 5 July 2021 by Domino (talk | contribs) (Indents! I'm getting lost in the labyrinth of my own system, and have a newfound respect for the people who make the formatting tools for well, everywhere.)


WorldSwitch template

This is a technical template meant to be used inside other template, mainly infoboxes. It converts server world names to include links. It handles most common ways of refering to past and present worlds.

Example

{{WorldSwitch|Survival}} generates: Survival

{{WorldSwitch|Survival 4}} generates:

{{WorldSwitch|Survival 4|Husky}} generates: Survival 4 (Husky)

{{WorldSwitch|Survival 4 (Husky)}} generates: Survival 4 (Husky)

{{WorldSwitch|Husky}} generates: Survival 4 (Husky)

{{WorldSwitch||Husky}} generates: Survival 4 (Husky)

{{WorldSwitch|Husky|mode=Category}} generates: Survival 4

{{WorldSwitch||Husky|mode=Category}} generates: Survival 4

{{WorldSwitch|Survival 4 (Husky)|mode=Category}} generates: Survival 4

{{WorldSwitch|Survival 4 (Husky)|mode=Subworld}} generates: Husky

This page was last modified on 5 July 2021, at 01:37. (3 months ago)
Background SRN Opening by Montenator