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
Annawantimes (talk | contribs) |
(cleaned up template code) |
||
(29 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size: 85%" | |||
{{ | ! style="background: #1199AA; font-size: 120%; text-align:center;color:white" colspan="2" |{{{Location name|{{PAGENAME}}}}} | ||
{{#if:{{{ | {{!}}- | ||
{{ | {{#if: {{{Image|}}} | {{!}} colspan=2 style="padding: 1em 0; text-align: center;" {{!}} [[File:{{{Image}}}|{{{Imagewidth|250px}}}]] }} | ||
}} | {{!}}- style="vertical-align: top;" | ||
|- | {{#if: {{{caption|}}} | {{!}} colspan=2 {{!}} <small>{{{caption}}}</small> }} | ||
{{#if:{{{Location|}}}| | {{!}}- style="vertical-align: top;" | ||
{{ | {{#if: {{{Location|}}} | {{!}} '''Location''' {{!!}} {{{Location}}} }} | ||
}} | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{Type|}}} | {{!}} '''Type''' {{!!}} {{{Type}}} }} | |||
{{#if:{{{Type|}}}| | {{!}}- style="vertical-align: top;" | ||
{{ | {{#if: {{{Sells|}}} | {{!}} '''Sells''' {{!!}} {{{Sells}}} }} | ||
}} | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{Administrator|}}} | {{!}} valign=top {{!}} '''Administrator''' {{!!}} {{{Administrator}}} }} | |||
{{#if:{{{Sells|}}}| | {{!}}- style="vertical-align: top;" | ||
{{ | {{#if: {{{Number of staff|}}} | {{!}} '''Staff''' {{!!}} {{{Number of staff}}} }} | ||
}} | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{Number of students|}}} | {{!}} '''Number of students''' {{!!}} {{{Number of students}}} }} | |||
{{#if:{{{Administrator|}}}| | {{!}}- style="vertical-align: top;" | ||
{{ | {{#if: {{{Number of rooms|}}} | {{!}} '''Number of rooms''' {{!!}} {{{Number of rooms}}} }} | ||
}} | {{!}}- style="vertical-align: top;" | ||
{{#if: {{{Residents|}}} | {{!}} '''Residents''' {{!!}} {{{Residents}}} }} | |||
{{#if:{{{ | {{!}}- style="vertical-align: top;" | ||
{{ | {{#if: {{{First appearance|}}} | {{!}} '''First appearance''' {{!!}} {{{First appearance}}} }} | ||
}} | |}<includeonly>[[Category:Places]]</includeonly><noinclude> | ||
{{#if:{{{ | |||
{{ | |||
}} | |||
{{#if:{{{Number of | |||
{{ | |||
}} | |||
{{#if:{{{ | |||
{{ | |||
}} | |||
|}</ | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ | {{Location infobox | ||
| | |Location name = | ||
| | |Image = | ||
| | |Imagewidth = | ||
| | |Location = | ||
| | |Type = | ||
| | |Sells = | ||
| | |Administrator = | ||
| | |Number of staff = | ||
| | |Number of students= | ||
|Number of rooms = | |||
|First appearance = | |||
}} | }} | ||
</pre> | </pre> | ||
[[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 = }}