Template:Diaspora system: Difference between revisions

From AAFNRPWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 16: Line 16:
  <includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}{{#set:hasdiasporastar=Yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}}
  <includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}{{#set:hasdiasporastar=Yes|Campaign={{{Campaign}}}|Star Name={{#if: {{{Star Name|}}}|{{{Star Name}}}|{{#titleparts: {{PAGENAME}}||-1}}}}}}
= Stats =
= Stats =
{{#if: {{{Tech|}}}|'''Tech''': {{{Tech}}}|}}{{#if: {{{Tech|}}}|{{#set:Tech={{{Tech}}}}}}}{{#If: {{{Environment|}}}|'''Environment''': {{{Environment}}}|}}{{#if: {{{Environment|}}}|{{#set:Environment={{{Environment}}}}}}}{{#if: {{{Resources|}}}|'''Resources''': {{{Resources}}}|}}{{#if: {{{Resources|}}}|{{#set:Resources={{{Resources}}}}}}}{{#if: {{{nomoreplanets|}}}|{{#set:nomoreplanets={{{nomoreplanets}}}}}|{{#set:nomoreplanets=false}}}}
{{#if: {{{Tech|}}}|'''Tech''': {{{Tech}}}|}}{{#if: {{{Tech|}}}|{{#set:Tech={{{Tech}}}}}}} {{#If: {{{Environment|}}}|'''Environment''': {{{Environment}}}|}}{{#if: {{{Environment|}}}|{{#set:Environment={{{Environment}}}}}}} {{#if: {{{Resources|}}}|'''Resources''': {{{Resources}}}|}}{{#if: {{{Resources|}}}|{{#set:Resources={{{Resources}}}}}}}{{#if: {{{nomoreplanets|}}}|{{#set:nomoreplanets={{{nomoreplanets}}}}}|{{#set:nomoreplanets=false}}}}
 
= Aspects =
= Aspects =
{{#if: {{{Aspects|}}}{{{Aspects}}}}}{{#if: {{{Aspects|}}}|{{#set:Aspects={{{Aspects}}}}}}}
{{#if: {{{Aspects|}}}{{{Aspects}}}}}{{#if: {{{Aspects|}}}|{{#set:Aspects={{{Aspects}}}}}}}
{{#ask: [[HasDiasporaCelestial::true]] [[Campaign::{{{Campaign}}}]] [[Starpage::{{PAGENAME}}]]
{{#ask: [[HasDiasporaCelestial::true]] [[Campaign::{{{Campaign}}}]] [[Starpage::{{PAGENAME}}]]
| link=none
| link=none

Revision as of 10:46, 20 August 2013

Template describing a solar system in Diaspora.

This markup: {{Diaspora_system|Campaign=The Black Ocean|Tech=1|Environment=1|Resources=1|Aspects=* Rainy season is just our name for the solar year * Would you like fish sauce on that?}}

produces this result:


Stats

Tech: 1 Environment: 1 Resources: 1

Aspects

{{{Orbital Bodies}}} }}

Notes