Template:40kplanet: Difference between revisions

From AAFNRPWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 4: Line 4:


<nowiki>
<nowiki>
{{40kplanet|Star=Sol|Campaign=YuriRT1|40kipd=Hive World|Planet Type=Terrestrrial|Planet Size=21340km|Planet Number=2|Planet Atmosphere Type=Breathable|Moons=0|Planet Population=24 million|Planet Year=402 days|Description=Fake}}
{{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=21340km|Planet Number=2|Planet Atmosphere Type=Breathable|Moons=0|Planet Population=24 million|Planet Year=402 days|Description=Fake}}
{{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>__NOTITLE__= {{#if: {{{Planet Name|}}}|{{{Planet Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}} = {{#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}}}}}


= Datasheet =
= Datasheet =


{{#if: {{{Star|}}}|* '''Star''': [[{{{Campaign}}}/{{{Star}}}|{{{Star}}}]]}}{{#set:star={{{Star}}}}}
{{#if: {{{Star|}}}|* '''Star''': [[Starpage::{{{Campaign}}}/{{{Star}}}|{{{Star}}}]]}}
{{#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}}}]]}}
Line 28: Line 28:


{{{Description}}}
{{{Description}}}
}}
}}[[Page has default form::Form:40kplanet|&nbsp;]]
</includeonly>
</includeonly>

Latest revision as of 10: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

Fake