Template:VersionTabs

From Dragon Quest Wiki
Revision as of 02:46, 15 December 2015 by Rigel Kent (talk | contribs) (update for new JS (JS linkifies so this template doesn't have to))
Jump to navigation Jump to search

This template is used to display different versions (releases) of the same game in a tab readable format.

Usage

This template takes up to 24 parameters, which are passed in pairs for a total of 12 pairs. The first parameter of a pair is the title which should appear on the tab. The second parameter of a pair should be all the content which will appear within the tab. Note that content passed as a parameter will need to have '|' escaped using Template:! since this template uses conditional logic parsing.

Example

Sample

  • ninjas
  • people
  • leprechauns
  • unicorns
are totally sweet
are boring
are hard to find
HP MP Experience Gold
Attack Defense Speed

Wiki markup

{{VersionTabs|ninjas|are totally sweet|people|are boring|leprechauns|are hard to find|unicorns|{{Enemy}} }}