From GamingWiki
(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>}}}|< | + | -->{{#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 = {{ | + | | data8 = {{#arrayprint: systemConnections |, |$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 | + | -->{{#if: {{{cluster|}}} | {{#set:system in cluster = {{{cluster}}} }} }}<!-- |
− | -->{{#if: {{{environment|}}} | {{#set:environment | + | -->{{#if: {{{campaign|}}} | {{#set:location in campaign = {{{campaign}}} }} }}<!-- |
− | -->{{#if: {{{resources|}}} | {{#set: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 | |
one, two, three | |
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 = }} |