Template:Place: Difference between revisions

From Equestripedia, the Archives of Equestria!
Content added Content deleted
No edit summary
(Adding ruler parameter.)
Line 95:
{{!}}-}}
 
{{#if: {{{ruler|}}} {{{goods|}}} {{{menu|}}} {{{workers|}}} {{{regulars|}}} | {{{!}} class="infobox mw-collapsible mw-collapsed infobox-bottom" style="{{#if:{{{image|}}}|width:278px|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|}}}|
Line 155 ⟶ 162:
{{!}}-}}
 
{{#if:{{{battlesevents|}}}|
{{!}} class="infobox-label" {{!}}
'''{{{battlesevents-title|BattlesEvents}}}''':
{{!}} class="infobox-cell" {{!}}
{{{battlesevents|}}}
{{!}}-}}
|}<noinclude>[[Category:Infobox templates]]{{Documentation}}</noinclude>

Revision as of 14:12, 3 November 2020

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              = 
}}