Template: Infobox

From A Wiki of Ice and Fire
Revision as of 20:30, 19 August 2011 by Mordin999 (talk | contribs)
Jump to: navigation, search

This page uses content from the English Wikipedia. The original content was at Template:Infobox.
The list of authors can be seen in the page history of Template:Infobox.
As with A Wiki of Ice and Fire, the content of Wikipedia is available under the GNU Free Documentation License.


This template is intended as a meta-template: a template used for constructing other templates. It is not meant for use directly in an article, but can be used on a one-off basis if required. for more info see wikipedia


Basic Usage example (for more practical example see Template:Infobox character):
{{Infobox 
| title   = Caption over top of the table.
| image   = your image
| label1  = Name 
| data1   = {{{name}}}
| label2  = Family Name
| data2   = {{{family name}}}

| header3 = Significant Dates
| label4  = Date of Birth
| data4   = {{{date of birth|}}}

| label5  = Date of Death
| data5   = {{{date of death}}}
}}
Caption over top of the table
No image.jpg
Name {{{name}}}
Family Name {{{family name}}}
Significant Dates
Date of Death {{{date of death}}}

To make fields optional use {{{variable|}}}, like {{{date of birth|}}} in the example above. In each row you can use either a label# data# or a header# , # numbers ranging from 1 to 26 (if needed additional rows will be added, right now only the monarch maxed it out somehow)


For Advanced options, CSS styling and HTML classes (which will make those tables look good) see the wikipedia documneation of the original template (Note: not all options have been ported and some adjustments has been made).