Template:40kstar: Difference between revisions
From AAFNRPWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}{{#set:has40kstar=Yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}} | <includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}{{#set:has40kstar=Yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}} | ||
{{#if: {{{Star type|}}}|'''Star type''': {{{Star type}}}|}}{{#if: {{{Star type|}}}|{{#set:Star type={{{Star type}}}}}}}{{#if: {{{nomoreplanets|}}}|{{#set:nomoreplanets={{{nomoreplanets}}}|{{#set:nomoreplanets=false}}}} | {{#if: {{{Star type|}}}|'''Star type''': {{{Star type}}}|}}{{#if: {{{Star type|}}}|{{#set:Star type={{{Star type}}}}}}}{{#if: {{{nomoreplanets|}}}|{{#set:nomoreplanets={{{nomoreplanets}}}}}|{{#set:nomoreplanets=false}}}} | ||
{{#ask: [[Has40kplanet::true]] [[Campaign::{{{Campaign}}}]] [[Starpage::{{PAGENAME}}]] | {{#ask: [[Has40kplanet::true]] [[Campaign::{{{Campaign}}}]] [[Starpage::{{PAGENAME}}]] | ||
| link=none | | link=none |
Revision as of 07:56, 23 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:
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.
Star type: K
Notes
Player Assets
Family-owned warehouse & loading facility near the Navy fortress