Template:Place: Difference between revisions
From Equestripedia, the Archives of Equestria!
Content added Content deleted
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
{{!}}- |
{{!}}- |
||
{{#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:278px|width:270px}}" |
||
! class = "infobox-header3 purple-text" colspan="2" {{!}} {{#switch:{{{series}}}|FIM=''Friendship is Magic'' place |
! class = "infobox-header3 purple-text" colspan="2" {{!}} {{#switch:{{{series}}}|FIM=''Friendship is Magic'' place[[Category:Friendship is Magic places]][[Category:Places]]|EQG=''Equestria Girls'' place[[Category:Equestria Girls places]][[Category:Places]]|MLP=''My Little Pony'' place[[Category:My Little Pony places]][[Category:Places]]|TALES=''Tales'' place[[Category:Tales places]][[Category:Places]]}} {{#switch:{{{A}}}|FIM-A=[[Category:Friendship is Magic cartoon places]][[Category:Places]]|TOE=[[Category:Tails of Equestria places]][[Category:Places]]|FIM-C=[[Category:Friendship is Magic comic places]][[Category:Places]]}} |
||
}} |
}} |
||
{{!}}-}} |
{{!}}-}} |
||
Line 168: | Line 168: | ||
{{{events|}}} |
{{{events|}}} |
||
{{!}}-}} |
{{!}}-}} |
||
|}<noinclude> |
|}<noinclude>[[Category:Infobox templates]]{{Documentation}}</noinclude> |
Revision as of 14:06, 11 February 2021
Place |
---|
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 = }}