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 (Protected "Template:Location infobox" (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
m
Line 1: Line 1:
{| class="infobox" border="0" cellpadding="2" cellspacing="0" style="border-bottom: saddlebrown 1px solid; border-left: saddlebrown 1px solid; line-height: 1.5; margin: 0px 0px 0.5em 1em; width: 200px; border-collapse: collapse; float: right; font-size: 80%; border-top: saddlebrown 1px solid; border-right: saddlebrown 1px solid"
{| class="infobox" style="width: 225px; text-align: left; -moz-border-radius:10px; font-size: 85%" align="right" cellpadding="2"
{{Character infobox/character name|{{#if:{{{Location name|}}}|{{{Location name}}}|{{#if:{{{Rname|}}}|{{{Rname}}}|{{PAGENAME}}}}}}}}
{{#if:{{{Image|}}}|
{{Character infobox/image|[[File:{{{Image}}}|250px]]}}
}}
|-
|-
! colspan="2" style="text-align: left; background: #FF7272; color: #000000; font-weight: normal"|<center>'''Information'''</center>
! style="background: #1199AA; -moz-border-radius: 0.5em 0.5em 0 0; font-size: 120%;" align="center" colspan="2" |<font color="white">{{{Location name|{{PAGENAME}}}}}</font>
|-
{{!}}-
{{#if:{{{Location|}}}|
{{#if: {{{image|}}} | {{!}} align=center colspan=2 style="padding: 1em 0; text-align: center;" {{!}} [[File:{{{Image}}}|{{{Imagewidth|250px}}}]] }}
{{episode infobox/thingy|Location|{{{Location}}}}}
{{!}}- style="vertical-align: top;"
}}
{{#if: {{{caption|}}} | {{!}} align=center colspan=2 {{!}} <small>{{{caption}}}</small> }}
|-
{{!}}- style="vertical-align: top;"
{{#if:{{{Type|}}}|
{{#if: {{{Location|}}} | {{!}} '''Location''' {{!!}} {{{Location}}} }}
{{episode infobox/thingy|Type|{{{Type}}}}}
{{!}}- style="vertical-align: top;"
}}
{{#if: {{{Type|}}} | {{!}} '''Type''' {{!!}} {{{Type}}} }}
|-
{{!}}- style="vertical-align: top;"
{{#if:{{{Sells|}}}|
{{#if: {{{Sells|}}} | {{!}} '''Sells''' {{!!}} {{{Sells}}} }}
{{episode infobox/thingy|Sells|{{{Sells}}}}}
{{!}}- style="vertical-align: top;"
}}
{{#if: {{{Administrator|}}} | {{!}} valign=top {{!}} '''Administrator''' {{!!}} {{{Administrator}}} }}
|-
{{!}}- style="vertical-align: top;"
{{#if:{{{Administrator|}}}|
{{#if: {{{Number of staff|}}} | {{!}} '''Number of staff''' {{!!}} {{{Number of staff}}} }}
{{episode infobox/thingy|Administrator|{{{Administrator}}}}}
{{!}}- style="vertical-align: top;"
}}
{{#if: {{{Number of students|}}} | {{!}} '''Number of students''' {{!!}} {{{Number of students}}} }}
|-
{{!}}- style="vertical-align: top;"
{{#if:{{{Grade|}}}|
{{#if: {{{Number of rooms|}}} | {{!}} '''Number of rooms''' {{!!}} {{{Number of rooms}}} }}
{{episode infobox/thingy|Grade|{{{Grade}}}}}
{{!}}- style="vertical-align: top;"
}}
{{#if: {{{Residents|}}} | {{!}} '''Residents''' {{!!}} {{{Residents}}} }}
|-
{{!}}- style="vertical-align: top;"
{{#if:{{{Headmaster|}}}|
{{#if: {{{First appearance|}}} | {{!}} '''First appearance''' {{!!}} {{{First appearance}}} }}
{{episode infobox/thingy|Headmaster|{{{Headmaster}}}}}
}}
|-
{{#if:{{{Number of staff|}}}|
{{episode infobox/thingy|Number of staff|{{{Number of staff}}}}}
}}
|-
{{#if:{{{Number of students|}}}|
{{episode infobox/thingy|Number of students|{{{Number of students}}}}}
}}
|-
{{#if:{{{Number of rooms|}}}|
{{episode infobox/thingy|Number of rooms|{{{Number of rooms}}}}}
}}
|-
{{#if:{{{Number of fields|}}}|
{{episode infobox/thingy|Number of fields|{{{Number of fields}}}}}
}}
|-
{{#if:{{{Owner|}}}|
{{episode infobox/thingy|Owner|{{{Owner}}}}}
}}
|-
{{#if:{{{Residents|}}}|
{{episode infobox/thingy|Residents|{{{Residents}}}}}
}}
|-
{{#if:{{{First appearance|}}}|
{{episode infobox/thingy|First appearance|{{{First appearance}}}}}
}}
|}<includeonly>[[Category:Places]]</includeonly><noinclude>
|}<includeonly>[[Category:Places]]</includeonly><noinclude>
==Usage==
==Usage==
Line 64: Line 30:
|Location name    =
|Location name    =
|Image            =
|Image            =
|Imagewidth        =
|Location          =
|Location          =
|Type              =
|Type              =
|Sells            =
|Sells            =
|Administrator    =
|Administrator    =
|Grade            =
|Headmaster        =
|Number of staff  =
|Number of staff  =
|Number of students=
|Number of students=
|Number of rooms  =
|Number of rooms  =
|Number of fields  =
|First appearance  =   
|First appearance  =   
}}
}}
</pre>
</pre>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 01:53, 19 January 2013

Location infobox

Usage

{{Location infobox
|Location name     =
|Image             =
|Imagewidth        =
|Location          =
|Type              =
|Sells             =
|Administrator     =
|Number of staff   =
|Number of students=
|Number of rooms   =
|First appearance  =   
}}