Facebook Nations Wiki
Advertisement
Leadership
Manpower
Expenditures
Assets


Usage

See Also:FacebookNations:General_Infobox_Guidlines
Paste the following code into the top of an article, filling all known fields:

{{Military
|width=
|theme=
|imageBG=
|font=
|headerfont=
|subhdrfont=
|alltxtclr=
|hdrtxtclr=
|sbhdrtxtclr=
|fldtxtclr=
|BG1=
|BG2=
|BG3=
|image=
|imgalign=
|name=
|hidel=
|commander=
|officers=
|hidem=
|active=
|reserve=
|available=
|fit=
|hidee=
|budget=
|%gdp=
|hidea=
|ships=
|aircraft=
|vehicles=}}

Fields

width: Sets the width of the infobox imageBG: Sets the color of the image background font: Sets the font size for the entire infobox headerfont: Sets the font size of the Header (overrides 'font') subhdrfont: Sets the font size of the Subheaders (overrides 'font') alltxtclr: Sets the text color for the entire infobox hdrtxtclr: Sets the text color of the Header (overrides 'alltxtclr') sbhdrtxtclr: Sets the text color of the Subheaders (overrides 'alltxtclr') fldtxtclr1: Sets the text color of the field titles (left) (overrides 'alltxtclr') fldtxtclr2: Sets the text color of the field information (right) (overrides 'alltxtclr') BG1: Sets the background color of the Header BG2: Sets the background color of the Subheaders BG3: Sets the background color of the fields image: Sets the image name: Name of the subject (Header text) hidel: Display parameter, hides Leadership hidem: Display parameter, hides Manpower hidee: Display parameter, hides Expenditures hidea: Display parameter, hides Assets

Color Options

To change the background or text color, simply type the desired color into the appropriate field. Colors must be entered using the 6-digit HTML color code (e.g. "FF0000", "0000FF").(When using codes, omit the "#" which normally precedes them).

The following fields set colors:
imageBG: Sets the image background color
alltxtclr: Sets the color for all text
hdrtxtclr: Sets the color for Header text (overrides alltxtclr)
sbhdrtxtclr: Sets the color for Subheader text (overrides alltxtclr)
fldtxtclr1: Sets the color for field title text (overrides alltxtclr)
fldtxtclr2: Sets the color for field entry text (overrides alltxtclr)
BG1: Sets the Header background color
BG2: Sets the Subheader background color
BG3: Sets the field background color

The following Wikipedia article provides a list of recognized color names: http://en.wikipedia.org/wiki/Web_colors#HTML_color_names

Display parameters

  • hidel
  • hidem
  • hidee
  • hidea
Advertisement