Difference between revisions of "Template:Infobox"

From Twinsuniverse
Jump to: navigation, search
(added a new style entry)
m (fixed spelling)
Line 36: Line 36:
 
}}{{Infobox/row
 
}}{{Infobox/row
 
     |header={{{header9|}}}  |label={{{label9|}}}  |data={{{data9|}}}  |class={{{class9|}}} |datastyle={{{datastyle|}}}
 
     |header={{{header9|}}}  |label={{{label9|}}}  |data={{{data9|}}}  |class={{{class9|}}} |datastyle={{{datastyle|}}}
     |headstyle={{#ifeq:{{{heade9r|a}}}{{{class9|}}}|{{{header9|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
+
     |headstyle={{#ifeq:{{{header9|a}}}{{{class9|}}}|{{{header9|b}}}heading|{{{leadstyle|}}}|{{{headstyle|}}}}}
 
}}{{Infobox/row
 
}}{{Infobox/row
 
     |header={{{header10|}}} |label={{{label10|}}} |data={{{data10|}}} |class={{{class10|}}} |datastyle={{{datastyle|}}}
 
     |header={{{header10|}}} |label={{{label10|}}} |data={{{data10|}}} |class={{{class10|}}} |datastyle={{{datastyle|}}}

Revision as of 00:25, 27 May 2014

This template is used to show an infobox for an article. It should be the first of the article, before the general description. This template uses it's Infobox/row template for rendering title, optional article image, and 30 optional rows of custom data.

Parameters

  • infoboxname: The name of the infobox calling this template, for the link to documentation (case sensitive, defaults to no documentation link displayed)
  • title:
  • float: yes/no
  • mainstyle:
  • headstyle:
  • leadstyle:
  • datastyle:
  • class: one of the theme titles on the Infobox/themes template
  • image:
  • imagecaption:
  • noimage:
  • nocat:

...

Syntax

Copy and paste the following for quick use:

{{infobox
 |class=
 |image=
 |imagecaption=
}}

Example

... this template is still under documentation