From GamingWiki
Jump to: navigation, search
 
(10 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
 
| 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 8: Line 14:
 
| caption2 = {{{caption_map<includeonly>|</includeonly>}}} {{#if:{{{credit_map<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit_map}}}</span> }}
 
| caption2 = {{{caption_map<includeonly>|</includeonly>}}} {{#if:{{{credit_map<includeonly>|</includeonly>}}}|<br/><span style="font-size:smaller;">Credit: {{{credit_map}}}</span> }}
 
| imagestyle  = text-align: center;
 
| imagestyle  = text-align: center;
| abovestyle  = background: #FFFFC0;
 
| belowstyle  = background: #FFFFC0;
 
 
| labelstyle  = width:50%;
 
| labelstyle  = width:50%;
 
| header1 = System attributes
 
| header1 = System attributes
Line 23: 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>}}}
 
| label10 = Other designations
 
| label10 = Other designations
 
| data10  = {{{names<includeonly>|</includeonly>}}}
 
| data10  = {{{names<includeonly>|</includeonly>}}}
}}<noinclude>
+
}}<!--
 +
 
 +
--><includeonly><!--
 +
 
 +
  Semantic MediaWiki properties
 +
 
 +
-->{{#if: {{{name|}}}        | {{#set:system name          = {{{name}}} }} }}<!--
 +
-->{{#if: {{{cluster|}}}    | {{#set:system in cluster    = {{{cluster}}} }} }}<!--
 +
-->{{#if: {{{campaign|}}}    | {{#set:location in campaign = {{{campaign}}} }} }}<!--
 +
-->{{#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><!--
 +
 
 +
--><noinclude>
 
Infobox for articles on [[Star System]]s.
 
Infobox for articles on [[Star System]]s.
  

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 =
}}