Template

WorldSwitch

From Dogcraft Wiki

Revision as of 23:48, 4 July 2021 by Domino (talk | contribs)


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: Survival 4


{{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 4 July 2021, at 23:48. (3 months ago)
Background Dragon Slayer - Retriever by Ironboundred