Difference between revisions of "Template:Infobox"

From Twinsuniverse
Jump to: navigation, search
m
Line 105: Line 105:
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
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 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 [[Template:infobox/row|Row]] subpage for rendering title, optional [[Template:Articleimage|article image]], and 30 optional rows of custom data.
+
This template uses it's [[/row]] subpage for rendering title, optional [[Template:Articleimage|article image]], and 30 optional rows of custom data.
 
{{stub}}
 
{{stub}}
  
Line 112: Line 112:
 
* '''title''':
 
* '''title''':
 
* '''float''': yes/no
 
* '''float''': yes/no
* '''class''': one of the ''class'' values on the [[Template:{{PAGENAME}}/themes|themes]] subpage
+
* '''theme''': a safesubst: call to the [[/themes]] subpage, passing in one of the '''name''' values
 
* '''image''':
 
* '''image''':
 
* '''imagecaption''':
 
* '''imagecaption''':

Revision as of 23:37, 5 January 2013

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 /row subpage for rendering title, optional article image, and 30 optional rows of custom data.

  This article is a stub [list all]. You can help the Twinsuniverse by expanding it.

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
  • theme: a safesubst: call to the /themes subpage, passing in one of the name values
  • image:
  • imagecaption:
  • noimage:
  • nocat:

...

Syntax

Copy and paste the following for quick use:

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

Example

...