Template:Infobox 40k Planet: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Slipmcripfist
made closer to Lex
imported>Administrator
m 4 revisions imported
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
|-
|-
{{#if:{{{segmentum|}}}|
{{#if:{{{segmentum|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Segmentum
{{!}}Segmentum
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{segmentum}}}
{{{segmentum}}}
Line 15: Line 14:
|-
|-
{{#if:{{{sector|}}}|
{{#if:{{{sector|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Sector
{{!}}Sector
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{sector}}}
{{{sector}}}
Line 22: Line 20:
|-
|-
{{#if:{{{subsector|}}}|
{{#if:{{{subsector|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Sub Sector
{{!}}Sub Sector
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{subsector}}}
{{{subsector}}}
Line 29: Line 26:
|-
|-
{{#if:{{{system|}}}|
{{#if:{{{system|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}System
{{!}}System
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{system}}}
{{{system}}}
Line 36: Line 32:
|-
|-
{{#if:{{{pop|}}}|
{{#if:{{{pop|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Population
{{!}}Population
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{pop}}}
{{{pop}}}
Line 43: Line 38:
|-
|-
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Affiliation
{{!}}Affiliation
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{affiliation}}}
{{{affiliation}}}
Line 50: Line 44:
|-
|-
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Class
{{!}}Class
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{class}}}
{{{class}}}
Line 57: Line 50:
|-
|-
{{#if:{{{governor|}}}|
{{#if:{{{governor|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Planetary Governor
{{!}}Planetary Governor
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{governor}}}
{{{governor}}}
Line 64: Line 56:
|-
|-
{{#if:{{{tithe|}}}|
{{#if:{{{tithe|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Tithe Grade
{{!}}Tithe Grade
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{tithe}}}
{{{tithe}}}
Line 71: Line 62:
|-
|-
{{#if:{{{orbdist|}}}|
{{#if:{{{orbdist|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Orbital radius
{{!}}Orbital radius
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{orbdist}}}
{{{orbdist}}}
Line 78: Line 68:
|-
|-
{{#if:{{{gravity|}}}|
{{#if:{{{gravity|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Gravity
{{!}}Gravity
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{gravity}}}
{{{gravity}}}

Latest revision as of 18:14, 24 June 2023

Usage

Copy and paste the following into the article and fill in the fields.

{{Infobox 40k Planet
|name=
|bgcolor=
|fgcolor=
|image=
|segmentum=
|sector=
|subsector=
|system=
|pop=
|affiliation=
|class=
|governor=
|tithe=
|orbdist=
|gravity=
|temp=
}}

Optional Fields[edit source]

All fields are optional.

  • bgcolor
    • Manually sets the background color of the header text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • fgcolor
    • Manually sets the foreground color of the header text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.