Template:Place: Difference between revisions
From Equestripedia, the Archives of Equestria!
Content added Content deleted
No edit summary |
(Adding ruler parameter.) |
||
Line 95: | Line 95: | ||
{{!}}-}} |
{{!}}-}} |
||
{{#if: {{{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:278px|width:270px}}" |
||
! class = "infobox-header2 purple-text" colspan="2" {{!}} Stock and people |
! class = "infobox-header2 purple-text" colspan="2" {{!}} Stock and people |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
|- |
|||
{{#if:{{{ruler|}}}| |
|||
{{!}} class="infobox-label" {{!}} |
|||
'''{{{ruler-title|Ruler}}}''': |
|||
{{!}} class="infobox-cell" {{!}} |
|||
{{{ruler|}}} |
|||
{{!}}-}} |
|||
|- |
|- |
||
{{#if:{{{goods|}}}| |
{{#if:{{{goods|}}}| |
||
Line 155: | Line 162: | ||
{{!}}-}} |
{{!}}-}} |
||
{{#if:{{{ |
{{#if:{{{events|}}}| |
||
{{!}} class="infobox-label" {{!}} |
{{!}} class="infobox-label" {{!}} |
||
'''{{{ |
'''{{{events-title|Events}}}''': |
||
{{!}} class="infobox-cell" {{!}} |
{{!}} class="infobox-cell" {{!}} |
||
{{{ |
{{{events|}}} |
||
{{!}}-}} |
{{!}}-}} |
||
|}<noinclude>[[Category:Infobox templates]]{{Documentation}}</noinclude> |
|}<noinclude>[[Category:Infobox templates]]{{Documentation}}</noinclude> |
Revision as of 14:12, 3 November 2020
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 = }}