Template:Place: Difference between revisions

From Equestripedia, the Archives of Equestria!
Content added Content deleted
No edit summary
No edit summary
Line 8: Line 8:
}}
}}
{{!}}-
{{!}}-
{{#if: {{{location|}}} {{{type|}}}| {{{!}} class="infobox mw-collapsible infobox-bottom" style="{{#if:{{{image|}}}|width:278px|width:270px}}"
{{#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|MLP=''My Little Pony'' place|TALES=''Tales'' place}} {{#switch:{{{A}}}|FIM-A=|TOE=|FIM-C=}}
! class = "infobox-header3 purple-text" colspan="2" {{!}} {{#switch:{{{series}}}|FIM=''Friendship is Magic'' place|EQG=''Equestria Girls'' place|MLP=''My Little Pony'' place|TALES=''Tales'' place}} {{#switch:{{{A}}}|FIM-A=|TOE=|FIM-C=}}
}}
}}
Line 27: Line 27:
{{!}}-}}
{{!}}-}}


{{#if: {{{language|}}} {{{species|}}} {{{demonym|}}} {{{exports|}}} {{{imports|}}} {{{cities|}}} {{{organizations|}}} {{{establishments|}}} {{{structures|}}} {{{landmarks|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:278px|width: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}}"
! class = "infobox-header2 purple-text" colspan="2" {{!}} Culture and geography
! class = "infobox-header2 purple-text" colspan="2" {{!}} Culture and geography
{{!}}-
{{!}}-
Line 95: Line 95:
{{!}}-}}
{{!}}-}}


{{#if: {{{ruler|}}} {{{goods|}}} {{{menu|}}} {{{workers|}}} {{{regulars|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:278px|width:270px}}"
{{#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
! class = "infobox-header2 purple-text" colspan="2" {{!}} Stock and people
{{!}}-
{{!}}-
Line 135: Line 135:
{{!}}-}}
{{!}}-}}


{{#if: {{{founder|}}} {{{founding|}}} {{{disestablishment|}}} {{{battles|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:278px|width:270px}}"
{{#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
! class = "infobox-header2 purple-text" colspan="2" {{!}} History
{{!}}-
{{!}}-

Revision as of 15:02, 1 June 2021

Place
Template documentation[view] [edit] [history] [purge]

This infobox is for rendering typical places and their information. It is a generic template that should work for most places. There is only one alternate templates for different types of places, Template:School, but this should work for most pages for now.

The syntax is as following:

{{Place|series     = 
|name              = 
|image             = 
|location          = 
|type              = 
|leader            = 
|founder           = 
|founded           = 
|events            = 
|status            = 
|first             = 
|last              = 
}}