Template:Place: Difference between revisions
From Equestripedia, the Archives of Equestria!
Content added Content deleted
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}|#if:{{{fan|true}}} [[category:Fan names]]}}} | {{PAGENAME}}}} |
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}|#if:{{{fan|true}}} [[category:Fan names]]}}} | {{PAGENAME}}}} |
||
|subheader = {{ |
|subheader = {{Place/SeriesCategorization|series={{{series|}}}}} |
||
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}} |
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}} |
||
Line 42: | Line 42: | ||
| data10 = {{{status|}}} |
| data10 = {{{status|}}} |
||
| rowclass10 = bordered |
| rowclass10 = bordered |
||
|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}}} | —}} |
|||
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''Last'''<br />{{#if: {{{last|}}} | {{{last}}} | —}} |
|||
{{!)}} |
{{!)}} |
||
}} |
}} |
Latest revision as of 22:25, 7 April 2024
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 = }}