Template:40kstar: Difference between revisions

From AAFNRPWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 24: Line 24:
{{#set:has40kstar=Yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}}
{{#set:has40kstar=Yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}}


{{#if: {{{Star type|}}}|'''Star type''': [[Star type::{{{Star type}}}]]{{#set: Star type={{{Star type}}}}
{{#if: {{{Star type|}}}|'''Star type''': {{{Star type}}}{{#set: Star type={{{Star type}}}}}


{{#ask: [[Has40kplanet::true]] [[Campaign::{{{Campaign}}}]] [[Starpage::{{PAGENAME}}]]
{{#ask: [[Has40kplanet::true]] [[Campaign::{{{Campaign}}}]] [[Starpage::{{PAGENAME}}]]

Revision as of 16:22, 22 April 2011

Template describing a star in the Fantasy Flight 40k games. This markup:

{{40kstar|Star Type=K|Orbital bodies=* Planet 1 (unnamed metallic rock) * Planet 2 (unnamed metallic rock) * Planet 3 (unnamed Death World with high sulfuric acid content in atmosphere, uninhabitable * Imperial Navy Blackstone Fortress in solar orbit between planets 3 and 4 * Planet 4 (gas giant) |Player Assets=Family-owned warehouse & loading facility near the Navy fortress}} produces this result:


40kstar

Property "Campaign" (as page type) with input value "{{{Campaign}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

{{#if: |Star type: {{{Star type}}}



Notes

Player Assets

Family-owned warehouse & loading facility near the Navy fortress