Template:Infobox 40k Planet: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Slipmcripfist
m minor reformatting
1d4chan>Slipmcripfist
m minor reformatting
Line 8: Line 8:
|-
|-
{{#if:{{{segmentum|}}}|
{{#if:{{{segmentum|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Segmentum
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Segmentum
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{segmentum}}}
{{{segmentum}}}
Line 14: Line 14:
|-
|-
{{#if:{{{sector|}}}|
{{#if:{{{sector|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Sector
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Sector
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{sector}}}
{{{sector}}}
Line 20: Line 20:
|-
|-
{{#if:{{{subsector|}}}|
{{#if:{{{subsector|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Sub Sector
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Sub Sector
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{subsector}}}
{{{subsector}}}
Line 26: Line 26:
|-
|-
{{#if:{{{system|}}}|
{{#if:{{{system|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}System
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}System
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{system}}}
{{{system}}}
Line 32: Line 32:
|-
|-
{{#if:{{{pop|}}}|
{{#if:{{{pop|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Population
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Population
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{pop}}}
{{{pop}}}
Line 38: Line 38:
|-
|-
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;{{!}}Affiliation
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Affiliation
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{affiliation}}}
{{{affiliation}}}
Line 44: Line 44:
|-
|-
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Class
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Class
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{class}}}
{{{class}}}
Line 50: Line 50:
|-
|-
{{#if:{{{governor|}}}|
{{#if:{{{governor|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Planetary Governor
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Planetary Governor
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{governor}}}
{{{governor}}}
Line 56: Line 56:
|-
|-
{{#if:{{{tithe|}}}|
{{#if:{{{tithe|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Tithe Grade
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Tithe Grade
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{tithe}}}
{{{tithe}}}
Line 62: Line 62:
|-
|-
{{#if:{{{orbdist|}}}|
{{#if:{{{orbdist|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Orbital radius
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Orbital radius
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{orbdist}}}
{{{orbdist}}}
Line 68: Line 68:
|-
|-
{{#if:{{{gravity|}}}|
{{#if:{{{gravity|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;"{{!}}Gravity
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Gravity
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{gravity}}}
{{{gravity}}}
Line 74: Line 74:
|-
|-
{{#if:{{{temp|}}}|
{{#if:{{{temp|}}}|
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;{{!}}Temperature
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Temperature
{{!}} style="padding-left:0.4em;" {{!}}
{{!}} style="padding-left:0.4em;" {{!}}
{{{temp}}}
{{{temp}}}

Revision as of 18:21, 25 November 2022

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

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 #.