Template:40kplanet: Difference between revisions
From AAFNRPWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
<nowiki> | <nowiki> | ||
{{40kplanet|Star=Sol|Campaign=YuriRT1|40kipd=Hive World|Planet Type=Terrestrrial|Planet Size= | {{40kplanet|Star=Sol|Campaign=YuriRT1|40kipd=Hive World|Planet Type=Terrestrrial|Planet Size=10670km|Planet Number=2|Planet Atmosphere Type=Breathable|Moons=0|Planet Population=24 million|Planet Year=402 days|Description=Fake}} | ||
</nowiki> | </nowiki> | ||
produces this output: | produces this output: | ||
{{40kplanet|Star=Sol|Campaign=YuriRT1|40kipd=Hive World|Planet Type=Terrestrrial|Planet Size= | {{40kplanet|Star=Sol|Campaign=YuriRT1|40kipd=Hive World|Planet Type=Terrestrrial|Planet Size=10670km|Planet Number=2|Planet Atmosphere Type=Breathable|Moons=0|Planet Population=24 million|Planet Year=402 days|Description=Fake}} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}{{#set:has40kplanet=yes|Campaign={{{Campaign}}}|Planet Name={{#if: {{{Planet Name|}}}|{{{Planet Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}|Star={{{Star}}}}} | <includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}{{#set:has40kplanet=yes|Campaign={{{Campaign}}}|Planet Name={{#if: {{{Planet Name|}}}|{{{Planet Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}|Star={{{Star}}}}} | ||
Line 18: | Line 18: | ||
{{#if: {{{40kipd|}}}|* '''Imperial Designation''': [[40kipd::{{{40kipd}}}]]}} | {{#if: {{{40kipd|}}}|* '''Imperial Designation''': [[40kipd::{{{40kipd}}}]]}} | ||
{{#if: {{{Planet Type|}}}|* '''Planet Type''': [[Planet Type::{{{Planet Type}}}]]}} | {{#if: {{{Planet Type|}}}|* '''Planet Type''': [[Planet Type::{{{Planet Type}}}]]}} | ||
{{#if: {{{Planet Size|}}}|* '''Planet Size''': [[Planet Size::{{{Planet Size}}}]]}} | {{#if: {{{Planet Size|}}}|* '''Planet Size''': [[Planet Size::{{{Planet Size}}}]]}} mean radius | ||
{{#if: {{{Planet Number|}}}|* '''Planet Number''': [[Planet Number::{{{Planet Number}}}]]}} | {{#if: {{{Planet Number|}}}|* '''Planet Number''': [[Planet Number::{{{Planet Number}}}]]}} | ||
{{#if: {{{Planet Atmosphere Type|}}}|* '''Planet Atmosphere Type''': [[Planet Atmosphere Type::{{{Planet Atmosphere Type}}}]]}} | {{#if: {{{Planet Atmosphere Type|}}}|* '''Planet Atmosphere Type''': [[Planet Atmosphere Type::{{{Planet Atmosphere Type}}}]]}} |
Latest revision as of 19:31, 29 April 2011
Used to describe a planet in a Fantasy Flight 40k RPG.
The following template invocation:
{{40kplanet|Star=Sol|Campaign=YuriRT1|40kipd=Hive World|Planet Type=Terrestrrial|Planet Size=10670km|Planet Number=2|Planet Atmosphere Type=Breathable|Moons=0|Planet Population=24 million|Planet Year=402 days|Description=Fake}}
produces this output:
Datasheet
- Star: Sol
- Imperial Designation: Hive World
- Planet Type: Terrestrrial
- Planet Size: 10670km mean radius
- Planet Number: 2
- Planet Atmosphere Type: Breathable
- Moons: 0
- Planet Population: 24 million
- Planet Year: 402 days
Description