Template:City: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
(New page: <div id="City_infobox" class="infobox" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}"> {| id="infoboxinternal" class="infoboxtable" cellspacing="0" cellpadding="4" style="b...)
 
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="City_infobox" class="infobox" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"
{| id="infoboxinternal" class="infoboxtable" cellspacing="0" cellpadding="4" style="border-width: 0px"
|-
|-
{{#if: {{{image|}}}|
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:AC8751|background: #AC8751|background: #999999}}}}" | {{{image|}}}
{{!}} class="infoboximage" colspan="2" {{!}} {{{image}}}}}
|-  
|-
! class="infoboxheading" colspan="2" style="{{#if:AC8751|background: #AC8751|background: #999999}}; {{{css|}}}" | {{{name}}}
| colspan="2" class="name system" | '''{{{name}}}'''
{{#if:{{{hideg|}}}|{{!}}-|{{!}}-
|-
! class="infoboxsubheading" colspan="2" style="background: #DFCAA0" {{!}} '''General information'''}}
| colspan="2" class="header system" | '''General information'''
{{#if:{{{constructed|}}}|
|-
{{!}}-
{{#if: {{{constructed|}}}|
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Constructed
{{!}} class="infoboxinfoheader" {{!}} Constructed :
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxinfodata" {{!}}  
{{{constructed|}}}
{{{constructed}}}}}
{{!}}-
|-
|}} {{#if:{{{destroyed|}}}|
{{#if: {{{destroyed|}}}|
{{!}}-
{{!}} class="infoboxinfoheader" {{!}} Destroyed:
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Destroyed
{{!}} class="infoboxinfodata" {{!}}  
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{destroyed}}}}}
{{{destroyed|}}}
|-
{{!}}-
{{#if: {{{builder|}}}|
|}} {{#if:{{{builder|}}}|
{{!}} class="infoboxinfoheader" {{!}} Builder:
{{!}}-
{{!}} class="infoboxinfodata" {{!}}  
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Builder
{{{builder}}}}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
|-
{{{builder|}}}
| colspan="2" class="header system" | '''Location information'''
{{!}}-
|-
|}} {{#if:{{{hidel|}}}|{{!}}-|{{!}}-
{{#if: {{{planet|}}}|
! class="infoboxsubheading" colspan="2" style="background: #DFCAA0" {{!}} '''Location information'''}}
{{!}} class="infoboxinfoheader" {{!}} Planet:
{{#if:{{{planet|}}}|
{{!}} class="infoboxinfodata" {{!}}  
{{!}}-
{{{planet}}}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Planet
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{#if: {{{continent|}}}|
{{{planet|}}}
{{!}} class="infoboxinfoheader" {{!}} Continent:
{{!}}-
{{!}} class="infoboxinfodata" {{!}}  
|}} {{#if:{{{continent|}}}|
{{{continent}}}}}
{{!}}-
|-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Continent
{{#if: {{{location|}}}|
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxinfoheader" {{!}} Official location:
{{{continent|}}}
{{!}} class="infoboxinfodata" {{!}}  
{{!}}-
{{{location}}}}}
|}} {{#if:{{{location|}}}|
|-
{{!}}-
{{#if: {{{climate|}}}|
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Location
{{!}} class="infoboxinfoheader" {{!}} Climate:
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxinfodata" {{!}}  
{{{location|}}}
{{{climate}}}}}
{{!}}-
|-
|}} {{#if:{{{climate|}}}|
{{#if: {{{interest|}}}|
{{!}}-
{{!}} class="infoboxinfoheader" {{!}} Points of Interest:
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Climate
{{!}} class="infoboxinfodata" {{!}}  
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{interest}}}}}
{{{climate|}}}
|-
{{!}}-
| colspan="2" class="header system" | '''Societal'''
|}} {{#if:{{{interest|}}}|
|-
{{!}}-
{{#if: {{{population|}}}|
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Points of interest
{{!}} class="infoboxinfoheader" {{!}} Population:
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxinfodata" {{!}}  
{{{interest|}}}
{{{population}}}}}
{{!}}-
|-
|}} {{#if:{{{hides|}}}|{{!}}-|{{!}}-
{{#if: {{{era|}}}|
! class="infoboxsubheading" colspan="2" style="background: #DFCAA0" {{!}} '''Societal'''}}
{{!}} class="infoboxinfoheader" {{!}} Era(s):
{{#if:{{{population|}}}|
{{!}} class="infoboxinfodata" {{!}}  
{{!}}-
{{{era}}}}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Population
|-
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{#if: {{{affiliation|}}}|
{{{population|}}}
{{!}} class="infoboxinfoheader" {{!}} Affiliation:
{{!}}-
{{!}} class="infoboxinfodata" {{!}}  
|}} {{#if:{{{era|}}}|
{{{affiliation}}}}}
{{!}}-
|-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Era(s)
| colspan="2" class="infoboxfooter system" | {{Link color|Template:City|#C0C08F|[ Source ]}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{era|}}}
{{!}}-
|}} {{#if:{{{affiliation|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Affiliation
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{affiliation|}}}
{{!}}-
|}}  
|}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:AC8751|background: #AC8751|background: #999999}}"><span id="infoboxend"></span>[[{{{srclink|Template:City infobox}}}|[Source]]]</div>
<noinclude>{{Clear}}
{{#if:AC8751|{{rb|#AC8751}}|{{rb|#999999}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
{{clear}}
==Usage==
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
<pre>
<pre>
{{Eras|}}
{{City
{{City infobox
|image=
|image=
|name=
|name=
Line 102: Line 88:
}}
}}
</pre>
</pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
===Display parameters===
*hideg
*hidel
*hides
 
==Source==
<nowiki>
{{subst:slh|AC8751}} {{subst:sli|AC8751}} {{subst:slc|AC8751|name}} {{subst:sls|General information|DFCAA0|hideg}} {{subst:sld|Constructed|constructed}} {{subst:sld|Destroyed|destroyed}} {{subst:sld|Builder|builder}} {{subst:sls|Location information|DFCAA0|hidel}} {{subst:sld|Planet|planet}} {{subst:sld|Continent|continent}} {{subst:sld|Location|location}} {{subst:sld|Climate|climate}} {{subst:sld|Points of interest|interest}} {{subst:sls|Societal|DFCAA0|hides}} {{subst:sld|Population|population}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf|AC8751}}
</nowiki>
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 18:33, 27 July 2015

{{{name}}}
General information
Location information
Societal
[ Source ]

To use: Paste the following text into the desired character article, and fill in the appropriate fields.

{{City
|image=
|name=
|constructed=
|destroyed=
|builder=
|planet=
|continent=
|location=
|climate=
|interest=
|population=
|era=
|affiliation=
}}