Wynncraft Wiki
mNo edit summary
mNo edit summary
 
Line 5: Line 5:
 
|-
 
|-
 
{{#if:{{{title|}}}|<!-- Title -->
 
{{#if:{{{title|}}}|<!-- Title -->
{{!}} colspan="2" class="infobox-title {{{titleclass|}}}" style="text-align:center; font-size: 80%; {{{titlestyle|}}}" {{!}} {{{title}}}
+
{{!}} colspan="2" class="infobox-title {{{titleclass|}}}" style="text-align:center; font-size: 90%; {{{titlestyle|}}}" {{!}} {{{title}}}
 
}}
 
}}
 
|-
 
|-

Latest revision as of 18:53, 30 December 2019


Usage

{{Infobox
|title=
|above=
|subheader=
|image=
|caption=
|header1=
|label1=
|data1=
}}

Parameters

There are some general 'styling' parameters, some 'title' and subtitle parameters, some 'image' parameters', and then parameters for each of the 80 possible 'rows'

Style

  • bodyclass
  • bodystyle

Title

  • title
  • titleclass
  • titlestyle
  • above
  • aboveclass
  • abovestyle
  • subheader
  • subheaderclass
  • subheaderstyle

Image

  • image
  • imageclass
  • imagestyle
  • caption
  • captionstyle

Rows

For all rows

  • headerstyle
  • labelstyle
  • datastyle

For specific rows

For each of the 80 possible rows, replace the 'N' below with the number (e.g. 'header3', 'header80')

  • headerN
  • labelN
  • dataN
  • classN

Pre-built Infobox Templates

There have been many Infobox templates created specificaly for this wiki. These can be found at the or below: