Difference between revisions of "Template:Region Infobox"

From Discovery Wiki
Jump to navigationJump to search
m
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Style Guide navigation}}<!--</noinclude>
+
<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''}}
 
{{!}}-
 
{{!}}-
{{!}}class="infobox-data-title" {{!}} '''Owner'''
+
{{!}} colspan="2" class="infobox-section" {{!}} Technical Information
{{!}}style="padding-right: 1em;" {{!}} {{{owner}}} | }}|<br />
+
{{!}}-
 +
{{!}}class="infobox-data-title" {{!}} '''Access'''
 +
{{!}}style="padding-right: 1em" {{!}} {{#if: {{{access|}}}
 +
{{!}} {{ #ifeq: {{{access}}} | RESTRICTED | <span style-"color: #dd0000;">''RESTRICTED''</span> | {{{access}}} }}
 +
| ''unknown'' }}
 
{{!}}-
 
{{!}}-
{{!}}class="infobox-data-title" {{!}} '''Owner'''
+
{{!}}class="infobox-data-title" {{!}} '''Population'''
{{!}}style="padding-right: 1em;" {{!}} {{#if: {{{owner|}}} | {{{owner}}} | ''unknown'' }} }}
+
{{!}}style="padding-right: 1em" {{!}} {{#if: {{{population|}}}
|-
+
{{!}} {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{population}}} }}
|class="infobox-data-title" | '''Location'''
+
| ''unknown'' }}
|style="padding-right: 1em; line-height: 17px;" | {{#if: {{{system|}}}{{{sector|}}}{{{house|}}}
+
|}</includeonly>
| {{#if: {{{sector|}}} | '''{{{sector}}}''', }} {{#if: {{{system|}}} | {{{system}}} | ''unknown'' }}{{#if: {{{house|}}} | <br>''{{{house}}}'' }}
+
<noinclude>==Usage==
| ''unknown''
 
}}
 
|-
 
| colspan="2" class="infobox-section" | Technical information
 
{{!}}-class="infobox-data-title" {{!}} '''Population'''
 
{{!}}style="padding-right: 1em;" {{!}}- {{#if: {{{population|}}}
 
| {{ #ifeq: {{{population}}} | CLASSIFIED | <span style="color: #dd0000;">''CLASSIFIED''</span> | {{{population}}} }}
 
| ''unknown''
 
}}}}
 
|-
 
|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 = Ramirez Plantation
+
| name = Wight Company HQ
| image = Planet_Malta.jpg
+
| image = Curacao_Planetside.jpg
| owner = Atis Ramirez; [[Outcasts]]
+
| owner = Edgar Wight
| location = [[Planet Malta]]
+
| parent = Planet Curacao
| system = [[Omicron Alpha]]
+
| system = Cortez
| population = 13
+
| access = open
| terrain = Plains
+
| population = <50
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
==Result==
 
==Result==
 
{{Region Infobox
 
{{Region Infobox
| name = Ramirez Plantation
+
| name = Wight Company HQ
| image = Planet_Malta.jpg
+
| image = Curacao_Planetside.jpg
| owner = Atis Ramirez; [[Outcasts]]
+
| owner = Edgar Wight
| location = [[Planet Malta]]
+
| parent = Planet Curacao
| system = [[Omicron Alpha]]
+
| system = Cortez
| population = 13
+
| access = open
| terrain = Plains
+
| population = <50
}}
+
}}</noinclude>
 
 
 
 
{{Region Infobox
 
| name = Blank infobox
 
| image =
 
| owner =
 
| location =
 
| system =  
 
| population =  
 
| terrain =
 
}}
 
[[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