Template:Infobox/doc


 * Description
 * This template is used as a base template (also known as a "meta-template") for creating other infobox templates in a common style.


 * Dependencies:
 * Uses the following CSS, which should be in MediaWiki:Wikia.css and MediaWiki:Common.css:


 * Uses Template:Infobox/color
 * Uses Template:Infobox/headercolor
 * Uses Template:Infobox/row


 * Syntax
 * Usage of this template can be broken down into three steps.
 * Step 1
 * The first step is to paste in the top few parameters of this template:


 * For most cases, leave the parameter contents ( etc.) as is. An explanation of these parameters:
 * The nation parameter enables this template to switch between color themes to match what is needed on a page. Using the default setting from above, users would be required to set the color theme on the article itself. If the template you are creating does not require different colors to suit different articles, then you can set all transclusions of a template to use one theme only by replacing  with one of the following:
 * water corresponds to a blue theme for the Water Tribe
 * earth corresponds to a green theme for the Earth Kingdom
 * fire corresponds to a red theme for the Fire Nation
 * air corresponds to an orange theme for the Air Nomads
 * URN corresponds to a khaki theme for the United Republic of Nations
 * spirit corresponds to a grey theme for the Spirit World
 * neutral corresponds to a purple theme.
 * The image parameter allows the infobox to display one image at the top. Using the default setting from above, an infobox template created from this meta-template would insert images in the following format:, for example.
 * The name parameter allows an infobox created from this meta-template to display the name of the article. This setting should never need to be changed.
 * Step 2
 * The next several rows of parameters for this template should be the data cells for your infobox. For example, the following possibilities are possible for the first row of an infobox template:


 * header1 allows this row to become a heading inside the template, in order to indicate the beginning of a section of data.
 * label1 and data1 together allow this row to become a standard infobox row. label1 becomes the label for this row, while data1 becomes the data one fills in on the article itself.
 * conflicta1 and conflictb1 together allow this row to become a comparison between two sides, such as for force strengths in a battle.
 * The above code example was just for the first row. Up to 30 rows are possible in this template.
 * bborder1 should be used on the bottom row of an infobox to set a colored bottom border for the infobox rather than the default grey. It is recommended that you simply paste the following, which allows the bottom border to always be consistent with the nation parameter:


 * Step 3
 * Finish your infobox template by inserting the following:


 * The more parameter allows more "non-infobox" content to become part of the infobox. It is by itself a table cell spanning two columns. If you wish to use table code inside this parameter, you must use HTML tables, not wiki table code.


 * Sample input
 * The example from above put together:


 * A filled-out example: