Template:40kstar: Difference between revisions

From AAFNRPWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 19: Line 19:
|Player Assets=Family-owned warehouse & loading facility near the Navy fortress}}
|Player Assets=Family-owned warehouse & loading facility near the Navy fortress}}
</noinclude>
</noinclude>
  <includeonly>__NOTITLE__= {{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}} =
  <includeonly>__NOTITLE__
= {{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}} =


{{#set:has_40kstar=yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}}
{{#set:has_40kstar=yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}}
Line 26: Line 27:


{{#if: {{{Star type|}}}|* '''Star type''': [[Star type::{{{Star type}}}]]}}
{{#if: {{{Star type|}}}|* '''Star type''': [[Star type::{{{Star type}}}]]}}
{{#ask: [[Has40kplanet::yes]] [[Campaign::YuriRT1]] [[Star::{{{Star Name}}}]]
{{#ask: [[Has40kplanet::yes]] [[Campaign::YuriRT1]] [[Star::{{#show: {{PAGENAME}}| ?Star Name}}]]
| link=none
| link=none
| format=template
| format=template

Revision as of 10:38, 22 April 2011

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

{{40kstar|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.

Datasheet

Some use of "" in your query was not closed by a matching "".


Notes

Player Assets

Family-owned warehouse & loading facility near the Navy fortress