Template:Place: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
<includeonly><templatestyles src="Template:Character/styles.css" /><div class="articlehead"><table class="infobox ib-type-band">
{| class="infobox"
<tr><td colspan="2" style="text-align: center; font-size:140%;">'''{{#if: {{{name|}}}|{{{name|}}}|{{PAGENAME}}}}'''</td></tr>
|-
<tr><td colspan="2">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}</td></tr><!--
! class = "infobox-header1" colspan="2" | {{{name|{{PAGENAME}}}}}
--><tr><td colspan="2" style="text-align: center;>{{{caption|}}}</td></tr><!--
{{#if:{{{image|}}}|}}
--><!--
|-
--><td colspan="2" class="ib-line"></td>
{{#if:{{{image|}}}|
<!-------------------------------------------------------------------------------------------------------------------
! style="text-align:center; padding: 0px; border-bottom:0px solid" colspan="2" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}
-->
}}
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Place</td></tr>
{{!}}-
{{#if: {{{location|}}}|<tr>
{{#if: {{{location|}}} {{{type|}}}| {{{!}} class="infobox mw-collapsible infobox-bottom" style="{{#if:{{{image|}}}|width:279px|width:270px}}"
<td class="ib-data-title">Location</td>
! class = "infobox-header3 purple-text" colspan="2" {{!}} {{#switch:{{{series}}}|FIM=''Friendship is Magic'' place|EQG=''Equestria Girls'' place[[Category:Equestria Girls places]]|MLP=''My Little Pony'' place|TALES=''Tales'' place}} {{#switch:{{{A}}}|FIM-A=|TOE=|FIM-C=}}
<td class="ib-data">{{{location|}}}</td>
}}
</tr>}}<!--<!--
{{!}}-}}
-->{{#if: {{{type|}}}|<tr>
{{!}}-
<td class="ib-data-title">Type</td>
{{#if:{{{location|}}}|
{{!}} <td class="infoboxib-labeldata" >{{!{type|}}}</td>
</tr>}}<!--
'''{{{location-title|Location}}}''':
<!--
{{!}} class="infobox-cell" {{!}}
-->{{#if: {location{{leader|}}}|<tr>
<td class="ib-data-title">Leader</td>
{{!}}-}}
<td class="ib-data">{{{leader|}}}</td>
 
</tr>}}
{{#if:{{{type|}}}|
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Appearances</td></tr>
{{!}} class="infobox-label" {{!}}
'''{{#if: {type-title{{first|Type}}}''':|<tr>
<td class="ib-data-title">First</td>
{{!}} class="infobox-cell" {{!}}
<td class="ib-data">{{{first|}}}</td>
{{{type|}}}
</tr>}}<!--
{{!}}-}}
-->{{#if: {{{last|}}}|<tr>
 
<td class="ib-data-title">Last</td>
{{#if: {{{language|}}} {{{species|}}} {{{demonym|}}} {{{exports|}}} {{{imports|}}} {{{cities|}}} {{{organizations|}}} {{{establishments|}}} {{{structures|}}} {{{landmarks|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:279px|width:270px}}"
<td class="ib-data">{{{last|}}}</td>
! class = "infobox-header2 purple-text" colspan="2" {{!}} Culture and geography
</tr>}}
{{!}}-
</table>[[Category:Places]]{{#Switch:{{{series}}}|MLP=[[Category:My Little Pony places]]|TALES=[[Category:Tales places]]|G3=[[Category:Generation 3 places]]|FIM=[[Category:Friendship is Magic places]]|PL=[[Category:Pony Life places]]|EQG=[[Category:Equestria Girls places]]|ANG=[[Category:A New Generation places]]}}</includeonly>
}}
|-
{{#if:{{{language|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{language-title|Language}}}''':
{{!}} class="infobox-cell" {{!}}
{{{language|}}}
{{!}}-}}
 
{{#if:{{{species|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{species-title|Species}}}''':
{{!}} class="infobox-cell" {{!}}
{{{species|}}}
{{!}}-}}
 
{{#if:{{{demonym|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{demonym-title|Demonym}}}''':
{{!}} class="infobox-cell" {{!}}
{{{demonym|}}}
{{!}}-}}
 
{{#if:{{{exports|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{exports-title|Exports}}}''':
{{!}} class="infobox-cell" {{!}}
{{{exports|}}}
{{!}}-}}
 
{{#if:{{{imports|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{imports-title|Imports}}}''':
{{!}} class="infobox-cell" {{!}}
{{{imports|}}}
{{!}}-}}
 
{{#if:{{{imports|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{imports-title|Imports}}}''':
{{!}} class="infobox-cell" {{!}}
{{{imports|}}}
{{!}}-}}
 
{{#if:{{{organizations|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{organizations-title|Organizations}}}''':
{{!}} class="infobox-cell" {{!}}
{{{organizations|}}}
{{!}}-}}
 
{{#if:{{{establishments|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{establishments-title|Establishments}}}''':
{{!}} class="infobox-cell" {{!}}
{{{establishments|}}}
{{!}}-}}
 
{{#if:{{{structures|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{structures-title|Structures}}}''':
{{!}} class="infobox-cell" {{!}}
{{{structures|}}}
{{!}}-}}
 
{{#if: {{{ruler|}}} {{{goods|}}} {{{menu|}}} {{{workers|}}} {{{regulars|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:279px|width:270px}}"
! class = "infobox-header2 purple-text" colspan="2" {{!}} Stock and people
{{!}}-
}}
|-
{{#if:{{{ruler|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{ruler-title|Ruler}}}''':
{{!}} class="infobox-cell" {{!}}
{{{ruler|}}}
{{!}}-}}
|-
{{#if:{{{goods|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{goods-title|Goods}}}''':
{{!}} class="infobox-cell" {{!}}
{{{goods|}}}
{{!}}-}}
 
{{#if:{{{menu|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{menu-title|Menu}}}''':
{{!}} class="infobox-cell" {{!}}
{{{menu|}}}
{{!}}-}}
 
{{#if:{{{workers|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{workers-title|Workers}}}''':
{{!}} class="infobox-cell" {{!}}
{{{workers|}}}
{{!}}-}}
 
{{#if:{{{regulars|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{regulars-title|Regulars}}}''':
{{!}} class="infobox-cell" {{!}}
{{{regulars|}}}
{{!}}-}}
 
{{#if: {{{founder|}}} {{{founding|}}} {{{disestablishment|}}} {{{battles|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:279px|width:270px}}"
! class = "infobox-header2 purple-text" colspan="2" {{!}} History
{{!}}-
}}
|-
 
{{#if:{{{founder|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{founder-title|Founder}}}''':
{{!}} class="infobox-cell" {{!}}
{{{founder|}}}
{{!}}-}}
 
{{#if:{{{founding|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{founding-title|Goods}}}''':
{{!}} class="infobox-cell" {{!}}
{{{founding|}}}
{{!}}-}}
 
{{#if:{{{disestablishment|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{disestablishment-title|Disestablishment}}}''':
{{!}} class="infobox-cell" {{!}}
{{{disestablishment|}}}
{{!}}-}}
 
{{#if:{{{events|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{events-title|Events}}}''':
{{!}} class="infobox-cell" {{!}}
{{{events|}}}
{{!}}-}}
|}<includeonly></includeonly><noinclude>[[Category:Infobox templates]]{{Documentation}}</noinclude>