From GamingWiki
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
+
<!--
 +
 
 +
-->{{#arraydefine: systemConnections | {{{connections|<noinclude> one :: two :: three</noinclude>}}} | :: }}<!--
 +
 
 +
-->{{Infobox
 
| name = Infobox system
 
| name = Infobox system
 
| bodyclass = floatright {{{cssclass|}}}
 
| bodyclass = floatright {{{cssclass|}}}
| above  = {{{name}}}<!--
+
| above  = <div class="system">[[{{{name}}}]]</div><!--
     -->{{#if:{{{cluster<includeonly>|</includeonly>}}}|<br />{{{cluster}}} }}
+
    -->{{#if:{{{blurb<includeonly>|</includeonly>}}}|<div class="blurb">{{{blurb}}}</div> }}<!--
 +
     -->{{#if:{{{cluster<includeonly>|</includeonly>}}}|<div class="cluster">[[{{{cluster}}}]] cluster</div> }}
 
| image1  = {{{image_flag<includeonly>|</includeonly>}}}
 
| image1  = {{{image_flag<includeonly>|</includeonly>}}}
 
| caption1 = {{{caption_flag<includeonly>|</includeonly>}}} {{#if:{{{credit_flag<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit_flag}}}</span> }}
 
| caption1 = {{{caption_flag<includeonly>|</includeonly>}}} {{#if:{{{credit_flag<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit_flag}}}</span> }}
Line 22: Line 27:
 
| class6  = aspect
 
| class6  = aspect
 
| header7 = Connections
 
| header7 = Connections
| data8  = {{Array Map | array={{{connections<includeonly>|</includeonly><noinclude>| ;; one ;; two ;; three</noinclude>}}} | after=,<nowiki> </nowiki> | afterlast=<nowiki /> }}
+
| data8  = {{#arrayprint: systemConnections |,&nbsp;|$conn$|[[$conn$]]}}
 
| label9  = Notable features
 
| label9  = Notable features
 
| data9  = {{{features<includeonly>|</includeonly>}}}
 
| data9  = {{{features<includeonly>|</includeonly>}}}
Line 33: Line 38:
 
   Semantic MediaWiki properties
 
   Semantic MediaWiki properties
  
-->{{#if: {{{cluster|}}}    | {{#set:system in cluster = {{{cluster}}} }}<!--
+
-->{{#if: {{{name|}}}        | {{#set:system name          = {{{name}}} }} }}<!--
-->{{#if: {{{technology|}}}  | {{#set:technology       = {{{technology}}} }}<!--
+
-->{{#if: {{{cluster|}}}    | {{#set:system in cluster   = {{{cluster}}} }} }}<!--
-->{{#if: {{{environment|}}} | {{#set:environment       = {{{environment}}} }}<!--
+
-->{{#if: {{{campaign|}}}    | {{#set:location in campaign = {{{campaign}}} }} }}<!--
-->{{#if: {{{resources|}}}  | {{#set:resources         = {{{resources}}} }}<!--
+
-->{{#if: {{{blurb|}}}      | {{#set:blurb                = {{{blurb}}} }} }}<!--
 +
-->{{#if: {{{technology|}}}  | {{#set:technology           = {{{technology}}} }} }}<!--
 +
-->{{#if: {{{environment|}}} | {{#set:environment         = {{{environment}}} }} }}<!--
 +
-->{{#if: {{{resources|}}}  | {{#set:resources           = {{{resources}}} }} }}<!--
 +
-->{{#if: {{{connections|}}} | {{#arrayprint: systemConnections ||$conn$|{{#set:connected to = $conn$}} }} }}<!--
  
 
--></includeonly><!--
 
--></includeonly><!--

Latest revision as of 18:26, 6 May 2014

[[{{{name}}}]]
{{{blurb}}}
[[{{{cluster}}}]] cluster
{{{image_flag}}}
{{{caption_flag}}}
Credit: {{{credit_flag}}}
{{{image_map}}}
{{{caption_map}}}
Credit: {{{credit_map}}}
System attributes
Technology{{{technology}}}
Environment{{{environment}}}
Resources{{{resources}}}
Aspects
(aspects)
Connections
onetwothree
Notable features{{{features}}}
Other designations{{{names}}}

Infobox for articles on Star Systems.

Usage[edit]

{{Infobox system
| name =
| image =
| caption =
| credit =
| technology =
| environment = 
| resources =
| aspects = 
| connections =
| notes =
| names =
}}