Template:Faction switch/doc

From Warcraft Wiki
Jump to navigation Jump to search

Faction switch provides the "Alliance" and "Horde" tabs at the top of the page next to the article title and actually transcludes the two articles listed as parameters into the page, using javascript to swap which version is currently shown.

Most uses of this template should be via a simple {{faction disambiguation}} call, which calls this template as {{Faction switch|{{PAGENAME}} (Alliance)|{{PAGENAME} (Horde)}}. Articles with Alliance/Horde versions not conforming to that norm should be moved to do so, rather than calling this template directly.