Template:Diaspora system: Difference between revisions

From AAFNRPWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 15: Line 15:
</noinclude>
</noinclude>
  <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}}}}}}
{{#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}}}}}}}

Revision as of 10:42, 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:


Tech: 1 Environment: 1 Resources: 1

Aspects

{{if: * Rainy season is just our name for the solar year

  • Would you like fish sauce on that?* Rainy season is just our name for the solar year
  • Would you like fish sauce on that?}}{{if: * Rainy season is just our name for the solar year
  • Would you like fish sauce on that?|}}

Notes