The forum pages are fully operational! See this link for the latest forum topics, where users can collaborate or discuss certain topics in one place!
Difference between revisions of "Template:Location infobox"
From Arthur Wiki
Jump to navigationJump to search
m |
(cleaned up template code) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style=" | {| class="infobox" style="font-size: 85%" | ||
! style="background: #1199AA; font-size: 120%; text-align:center;color:white" colspan="2" |{{{Location name|{{PAGENAME}}}}} | |||
! style="background: #1199AA | |||
{{!}}- | {{!}}- | ||
{{#if: {{{ | {{#if: {{{Image|}}} | {{!}} colspan=2 style="padding: 1em 0; text-align: center;" {{!}} [[File:{{{Image}}}|{{{Imagewidth|250px}}}]] }} | ||
{{!}}- style="vertical-align: top;" | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{caption|}}} | {{!}} | {{#if: {{{caption|}}} | {{!}} colspan=2 {{!}} <small>{{{caption}}}</small> }} | ||
{{!}}- style="vertical-align: top;" | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{Location|}}} | {{!}} '''Location''' {{!!}} {{{Location}}} }} | {{#if: {{{Location|}}} | {{!}} '''Location''' {{!!}} {{{Location}}} }} | ||
Line 15: | Line 14: | ||
{{#if: {{{Administrator|}}} | {{!}} valign=top {{!}} '''Administrator''' {{!!}} {{{Administrator}}} }} | {{#if: {{{Administrator|}}} | {{!}} valign=top {{!}} '''Administrator''' {{!!}} {{{Administrator}}} }} | ||
{{!}}- style="vertical-align: top;" | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{Number of staff|}}} | {{!}} ''' | {{#if: {{{Number of staff|}}} | {{!}} '''Staff''' {{!!}} {{{Number of staff}}} }} | ||
{{!}}- style="vertical-align: top;" | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{Number of students|}}} | {{!}} '''Number of students''' {{!!}} {{{Number of students}}} }} | {{#if: {{{Number of students|}}} | {{!}} '''Number of students''' {{!!}} {{{Number of students}}} }} | ||
Line 25: | Line 24: | ||
{{#if: {{{First appearance|}}} | {{!}} '''First appearance''' {{!!}} {{{First appearance}}} }} | {{#if: {{{First appearance|}}} | {{!}} '''First appearance''' {{!!}} {{{First appearance}}} }} | ||
|}<includeonly>[[Category:Places]]</includeonly><noinclude> | |}<includeonly>[[Category:Places]]</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Location infobox | {{Location infobox | ||
|Location name = | |Location name = | ||
|Image = | |Image = | ||
|Imagewidth = | |Imagewidth = | ||
|Location = | |Location = | ||
|Type = | |Type = | ||
|Sells = | |Sells = | ||
|Administrator = | |Administrator = | ||
|Number of staff = | |Number of staff = | ||
|Number of students= | |Number of students= | ||
|Number of rooms = | |Number of rooms = | ||
|First appearance = | |First appearance = | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category: | [[Category:Infoboxes]]</noinclude> |
Latest revision as of 02:20, 7 June 2020
Location infobox |
---|
Usage
{{Location infobox |Location name = |Image = |Imagewidth = |Location = |Type = |Sells = |Administrator = |Number of staff = |Number of students= |Number of rooms = |First appearance = }}