Template:40kstar: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
| ?40kipd | | ?40kipd | ||
}} | }} | ||
{{#forminput:form=40kplanet|query string=super page=YuriRT1&40kplanet[Campaign]={{{Campaign}}}&40kplanet[Star]={{SUBPAGENAME}}|button text=Add Planet}} | {{#forminput:form=40kplanet|query string=super page=YuriRT1&40kplanet[Campaign]={{{Campaign}}}&40kplanet[Star]={{SUBPAGENAME}}&40kplanet[Planet Number]={{#expr: 1 + {{#ask: [[Campaign::{{{Campaign}}}[[Has40kplanet::true]][[Starpage::{{PAGENAME}}|sort=Planer Number|order=DESC}}}}|button text=Add Planet}} | ||
{{#if: {{{Orbital Bodies|}}}|== Orbital Bodies == | {{#if: {{{Orbital Bodies|}}}|== Orbital Bodies == | ||
Revision as of 07:24, 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
{{#forminput:form=40kplanet|query string=super page=YuriRT1&40kplanet[Campaign]={{{Campaign}}}&40kplanet[Star]=40kstar&40kplanet[Planet Number]={{#expr: 1 + {{#ask: {{{Campaign}}}[[Has40kplanet::true[[Starpage::40kstar|sort=Planer Number|order=DESC}}}}|button text=Add Planet}}
Notes
Player Assets
Family-owned warehouse & loading facility near the Navy fortress