YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Region Infobox"

From Discovery Wiki
Jump to navigationJump to search
(Created page with "<noinclude>{{Style Guide navigation}}<!--</noinclude>{{#if: {{{image|}}}||{{Stub|This Article needs a Picture for the '''Region'''. This is an automatically generated message ...")
 
(Blanked the page)
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.}}}}
 
{| 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"
 
|-
 
| colspan="2" class="infobox-name"|'''{{{name}}}'''
 
|-
 
| colspan="2" style="padding: 0px; text-align: center;"|{{#if: {{{image|}}}
 
| [[image:{{{image}}}|center|244px]]
 
| ''No image''
 
}}{{#ifeq: {{{docking}}} | No |{{#if:{{{owner|}}}|<br />
 
{{!}}-
 
{{!}}class="infobox-data-title" {{!}} '''Owner'''
 
{{!}}style="padding-right: 1em;" {{!}} {{{owner}}} | }}|<br />
 
{{!}}-
 
{{!}}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'''
 
{{!}}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
 
| name = Korakies Valley
 
| image = Korakies_A.jpg
 
| owner = La familia de Dominique; [[Corsairs]]
 
| location = [[Planet Crete]]
 
| system = [[Omicron Gamma]]
 
| population =
 
| terrain = Mountainous
 
}}</nowiki></pre>
 
 
==Result==
 
{{Region Infobox
 
| name = Korakies Valley
 
| image = Korakies_A.jpg
 
| owner = La familia de Dominique; [[Corsairs]]
 
| location = [[Planet Crete]]
 
| system = [[Omicron Gamma]]
 
| population =
 
| terrain = Mountainous
 
}}
 
[[Category:Templates]]
 
</noinclude>
 

Revision as of 21:02, 12 August 2014