Template:Infobox 40k Planet: Difference between revisions
Jump to navigation
Jump to search
created template using code from 40k wiki |
imported>Administrator m 4 revisions imported |
||
(3 intermediate revisions by one other user not shown) | |||
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}}} | ||
}} | }} | ||
|- | |- | ||
Line 35: | Line 35: | ||
{{!}} 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}}} | |||
}} | }} | ||
|- | |- | ||
Line 43: | Line 55: | ||
}} | }} | ||
|- | |- | ||
{{#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 87: | ||
|fgcolor= | |fgcolor= | ||
|image= | |image= | ||
| | |segmentum= | ||
|sector= | |||
|subsector= | |||
|system= | |||
|pop= | |||
|affiliation= | |||
|class= | |||
|governor= | |||
|tithe= | |||
|orbdist= | |orbdist= | ||
|gravity= | |gravity= | ||
|temp= | |temp= | ||
}} | }} | ||
</pre> | </pre> |
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
&
#35;
.
- fgcolor
- Manually sets the foreground color of the header text.
- If using hex triplet (ex. #000000) the # must be replaced with
&
#35;
.