Template:Infobox start/doc: Difference between revisions

The Two Worlds Wiki - Documenting Two Worlds since 2008.
Jump to navigation Jump to search
Mystery Dungeon Independent>Korra II A Royal
m (1 revision imported)
imported>Korra II A Royal
m (2 revisiones importadas)
(No difference)

Revision as of 12:37, February 11, 2021

Template-info.png Documentation

This is the beginning for a modular infobox. It provides the beginning {| for an infobox as well as relevant classes in an easy-to-read form.

Usage

Place this at the start of an infobox. It will initialize the infobox using the css classes .infobox .infobox-table. An optional parameter will add a class to the infobox, to allow for multiple infobox styles using this same template.

Parameters

  • 1 - Optional. Adds plaintext as a class on the infobox. Infoboxes are of class "infobox" by default, but setting this parameter to, for example, "winter", will make the infobox both class "infobox" and "winter" (.infobox.winter as a css selector).

Example

Basic use
{{Infobox start}}


Adding an optional second class
{{Infobox start|winter}}