Template:Place: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1:
<onlyinclude><templatestyles src="Template:Infobox/styles.css" />{{Infobox
{| class="infobox"
| autoheaders=y
|-
| bodystyle = width:270px; border: 2px solid #DFCDDD;
! class = "infobox-header1" colspan="2" | {{{name|{{PAGENAME}}}}}
| abovestyle = background-color: #2B1D42; color: #DFCDDD; padding: 8px; font-size: 150%;
{{#if:{{{image|}}}|}}
| imagestyle = padding-top: 9px;
|-
| captionstyle = padding: 5px 10px;
{{#if:{{{image|}}}|
| subheaderstyle = font-size: 110%; padding: 5px;
! 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}}
| headerstyle = background-color: #2B1D42; font-weight: bold; #DFCDDD: white; font-size: 110%; padding: 4px;
}}
| bodyclass = infobox
{{!}}-
{{#if: {{{location|}}} {{{type|}}}| {{{!}} class="infobox mw-collapsible infobox-bottom" style="{{#if:{{{image|}}}|width:279px|width:270px}}"
! 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=}}
}}
{{!}}-}}
{{!}}-
{{#if:{{{location|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{location-title|Location}}}''':
{{!}} class="infobox-cell" {{!}}
{{{location|}}}
{{!}}-}}
 
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}|#if:{{{fan|true}}} [[category:Fan names]]}}} | {{PAGENAME}}}}
{{#if:{{{type|}}}|
|subheader = {{Place/SeriesCategorization|series={{{series|}}}}}
{{!}} class="infobox-label" {{!}}
'''{{{type-title|Type}}}''':
{{!}} class="infobox-cell" {{!}}
{{{type|}}}
{{!}}-}}
 
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}}
{{#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}}"
| caption = {{{caption|}}}
! class = "infobox-header2 purple-text" colspan="2" {{!}} Culture and geography
{{!}}-
}}
|-
{{#if:{{{language|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{language-title|Language}}}''':
{{!}} class="infobox-cell" {{!}}
{{{language|}}}
{{!}}-}}
 
| header1 = Overview information
{{#if:{{{species|}}}|
| label2 = {{tooltip|aka|Also known as}}
{{!}} class="infobox-label" {{!}}
| data2 = {{{aka|}}}
'''{{{species-title|Species}}}''':
| rowclass2 = bordered
{{!}} class="infobox-cell" {{!}}
| label3 = Location
{{{species|}}}
| data3 = {{{location|}}}
{{!}}-}}
| rowclass3 = bordered
| label4 = Type
| data4 = {{{type|}}}
| rowclass4 = bordered
| label5 = {{{leader-type|Leader}}}
| data5 = {{{leader|}}}
| rowclass5 = bordered
| header6 = Historical information
 
| label7 = Founder
{{#if:{{{demonym|}}}|
| data7 = {{{founder|}}}
{{!}} class="infobox-label" {{!}}
| rowclass7 = bordered
'''{{{demonym-title|Demonym}}}''':
| label8 = Founded
{{!}} class="infobox-cell" {{!}}
| data8 = {{{demonymfounded|}}}
| rowclass8 = bordered
{{!}}-}}
| label9 = Events
 
| data9 = {{{events|}}}
{{#if:{{{exports|}}}|
| rowclass9 = bordered
{{!}} class="infobox-label" {{!}}
| label10 = Status
'''{{{exports-title|Exports}}}''':
| data10 = {{{status|}}}
{{!}} class="infobox-cell" {{!}}
| rowclass10 = bordered
{{{exports|}}}
|data11 = {{#if:{{{first|}}}{{{last|}}}|
{{!}}-}}
{{(!}} style="width: 100%; display: inline-table; border-collapse: collapse"
 
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''First'''<br />{{#if: {{{first|}}} | {{{first}}} | &mdash;}}
{{#if:{{{imports|}}}|
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''Last'''<br />{{#if: {{{last|}}} | {{{last}}} | &mdash;}}
{{!}} 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
{{!}}-
}}
}}</onlyinclude><includeonly>[[Category:Using place infobox]]{{#if:{{{Y|}}}|[[Category:{{{Y}}} place debuts‎]]}}</includeonly><noinclude><br style="clear:both;" />{{documentation}}</noinclude>
|-
{{#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>