Difference between revisions of "Template:Region Infobox"

From Discovery Wiki
Jump to navigationJump to search
(Undo revision 100488 by Valafar (talk))
m
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Style Guide navigation}}<!--</noinclude>{{#if: {{{image|}}}||{{Stub|This Article needs a Picture for the '''Region'''. This is an automatically generated message that will disappear when an image is used.}}}}
+
<noinclude>{{Style Guide navigation}}</noinclude><includeonly>
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 250px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 250px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
|-
 
|-
Line 6: Line 6:
 
| colspan="2" style="padding: 0px; text-align: center;"|{{#if: {{{image|}}}
 
| colspan="2" style="padding: 0px; text-align: center;"|{{#if: {{{image|}}}
 
| [[image:{{{image}}}|center|244px]]
 
| [[image:{{{image}}}|center|244px]]
| ''No image''
+
| ''No image''}}
}}{{#ifeq: {{{docking}}} | No |{{#if:{{{owner|}}}|<br />
+
|-
 +
{{!}}class="infobox-data-title" {{!}} '''Owner'''
 +
{{!}}style="padding-right: 1em;" {{!}} {{#if: {{{owner|}}} | {{{owner}}} | ''unknown'' }}
 +
{{!}}-
 +
{{!}}class="infobox-data-title" {{!}} '''Location'''
 +
{{!}}style="padding-right: 1em;" {{!}} {{#if: {{{parent|}}}{{{system|}}}
 +
{{!}} {{#if: {{{parent|}}} | {{{system}}}, }} {{#if: {{{parent|}}} | {{{system}}} | ''unknown'' }}
 +
| ''unknown''}}
 +
{{!}}-
 +
{{!}} colspan="2" class="infobox-section" {{!}} Technical Information
 
{{!}}-
 
{{!}}-
{{!}}class="infobox-data-title" {{!}} '''Owner'''
+
{{!}}class="infobox-data-title" {{!}} '''Access'''
{{!}}style="padding-right: 1em;" {{!}} {{{owner}}} | }}|<br />
+
{{!}}style="padding-right: 1em" {{!}} {{#if: {{{access|}}}
 +
{{!}} {{ #ifeq: {{{access}}} | RESTRICTED | <span style-"color: #dd0000;">''RESTRICTED''</span> | {{{access}}} }}
 +
| ''unknown'' }}
 
{{!}}-
 
{{!}}-
{{!}}class="infobox-data-title" {{!}} '''Owner'''
 
{{!}}style="padding-right: 1em;" {{!}} {{#if: {{{owner|}}} | {{{owner}}} | ''unknown'' }} }}
 
|-
 
|class="infobox-data-title" | '''Location'''
 
|style="padding-right: 1em; line-height: 17px;" | {{#if: {{{system|}}}{{{sector|}}}{{{house|}}}
 
| {{#if: {{{sector|}}} | '''{{{sector}}}''', }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}{{#if: {{{house|}}} | <br>''{{{house}}}'' }}
 
| ''unknown''
 
}}
 
|-
 
| colspan="2" class="infobox-section" | Technical information
 
 
{{!}}class="infobox-data-title" {{!}} '''Population'''
 
{{!}}class="infobox-data-title" {{!}} '''Population'''
{{!}}style="padding-right: 1em;" {{!}} {{#if: {{{population|}}}
+
{{!}}style="padding-right: 1em" {{!}} {{#if: {{{population|}}}
| {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{population}}} }}
+
{{!}} {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{population}}} }}
| ''unknown''
+
| ''unknown'' }}
}}}}
+
|}</includeonly>
|-
+
<noinclude>==Usage==
|class="infobox-data-title" | '''Terrain'''
 
|style="padding-right: 1em;" | {{#if: {{{terrain|}}}
 
| {{ #ifeq: {{{terrain}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{terrain}}} }}
 
| ''unknown''
 
}}
 
|-
 
[[Category: Bases]]
 
[[Category: Planets]]}}<noinclude>
 
-->
 
 
 
==Usage==
 
 
<pre><nowiki>{{Region Infobox
 
<pre><nowiki>{{Region Infobox
| name = Korakies Valley
+
| name = Wight Company HQ
| image = Korakies_A.jpg
+
| image = Curacao_Planetside.jpg
| owner = La familia de Dominique; [[Corsairs]]
+
| owner = Edgar Wight
| location = [[Planet Crete]]
+
| parent = Planet Curacao
| system = [[Omicron Gamma]]
+
| system = Cortez
| population =  
+
| access = open
| terrain = Mountainous
+
| population = <50
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
==Result==
 
==Result==
 
{{Region Infobox
 
{{Region Infobox
| name = Korakies Valley
+
| name = Wight Company HQ
| image = Korakies_A.jpg
+
| image = Curacao_Planetside.jpg
| owner = La familia de Dominique; [[Corsairs]]
+
| owner = Edgar Wight
| location = [[Planet Crete]]
+
| parent = Planet Curacao
| system = [[Omicron Gamma]]
+
| system = Cortez
| population =  
+
| access = open
| terrain = Mountainous
+
| population = <50
}}
+
}}</noinclude>
[[Category:Templates]]
 
</noinclude>
 

Latest revision as of 21:00, 13 August 2014

Other Templates available to read:

The Basics  • Ships  • Factions  • Bases  • Planets  • Systems  • Commodities


Usage

{{Region Infobox
| name = Wight Company HQ
| image = Curacao_Planetside.jpg
| owner = Edgar Wight
| parent = Planet Curacao
| system = Cortez
| access = open
| population = <50
}}

Result

Wight Company HQ
Curacao Planetside.jpg
Owner Edgar Wight
Location unknown
Technical Information
Access unknown
Population unknown