Template:Infobox 40k Planet: Difference between revisions
Jump to navigation
Jump to search
created template using code from 40k wiki |
1d4chan>Slipmcripfist made closer to Lex |
||
| Line 7: | Line 7: | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 | |||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{segmentum}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 | |||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{sector}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 | |||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{subsector}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 | |||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{system}}} | ||
}} | }} | ||
|- | |- | ||
{{#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}}} | ||
}} | |||
|- | |||
{{#if:{{{affiliation|}}}| | |||
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" | |||
{{!}}Affiliation | |||
{{!}} style="padding-left:0.4em;" {{!}} | |||
{{{affiliation}}} | |||
}} | |||
|- | |||
{{#if:{{{class|}}}| | |||
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" | |||
{{!}}Class | |||
{{!}} style="padding-left:0.4em;" {{!}} | |||
{{{class}}} | |||
}} | }} | ||
|- | |- | ||
{{#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}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 | |||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{tithe}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 | |||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{orbdist}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#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 | |||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{gravity}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{temp|}}}| | ||
{{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}} | {{!}} style="width:40%; font-weight:bold;text-align:center; background-color:#dddddd;" {{!}}Temperature | ||
{{!}} style="padding-left:0.4em;" {{!}} | {{!}} style="padding-left:0.4em;" {{!}} | ||
{{{ | {{{temp}}} | ||
}} | }} | ||
|} | |} | ||
| Line 75: | Line 98: | ||
|fgcolor= | |fgcolor= | ||
|image= | |image= | ||
| | |segmentum= | ||
|sector= | |||
|subsector= | |||
|system= | |||
|pop= | |||
|affiliation= | |||
|class= | |||
|governor= | |||
|tithe= | |||
|orbdist= | |orbdist= | ||
|gravity= | |gravity= | ||
|temp= | |temp= | ||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 18:17, 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
#.