Template:Diaspora system: Difference between revisions

From AAFNRPWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
This markup:
This markup:
<nowiki>
<nowiki>
{{Diaspora_system|Campaign=The Black Ocean|Tech=1|Environment=1|Resources=1|Aspects=* Rainy season is just our name for the solar year</nowiki><br /><nowiki>
{{Diaspora_system|Campaign=The Black Ocean|Diaspora_Tech=1|Diaspora_Environment=1|Diaspora_Resources=1|Aspects=* Rainy season is just our name for the solar year</nowiki><br /><nowiki>
* Would you like fish sauce on that?}}
* Would you like fish sauce on that?}}
</nowiki>
</nowiki>
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: {{{Diaspora_Tech|}}}|'''Diaspora_Tech''': {{{Diaspora_Tech}}}|}}{{#if: {{{Diaspora_Tech|}}}|{{#set:Diaspora_Tech={{{Diaspora_Tech}}}}}}}  {{#If: {{{Diaspora_Environment|}}}|'''Diaspora_Environment''': {{{Diaspora_Environment}}}|}}{{#if: {{{Diaspora_Environment|}}}|{{#set:Diaspora_Environment={{{Diaspora_Environment}}}}}}}  {{#if: {{{Diaspora_Resources|}}}|'''Diaspora_Resources''': {{{Diaspora_Resources}}}|}}{{#if: {{{Diaspora_Resources|}}}|{{#set:Diaspora_Resources={{{Diaspora_Resources}}}}}}}{{#if: {{{nomoreplanets|}}}|{{#set:nomoreplanets={{{nomoreplanets}}}}}|{{#set:nomoreplanets=false}}}}


= Aspects =
= Aspects =

Revision as of 13:41, 20 August 2013

Template describing a solar system in Diaspora.

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

produces this result:


Stats

Aspects

  • Rainy season is just our name for the solar year
  • Would you like fish sauce on that?

Notes