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)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 225px; text-align: left; -moz-border-radius:10px; font-size: 85%" align="right" cellpadding="2"
{| 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; -moz-border-radius: 0.5em 0.5em 0 0; font-size: 120%;" align="center" colspan="2" |<font color="white">{{{Location name|{{PAGENAME}}}}}</font>
{{!}}-   
{{!}}-   
{{#if: {{{Image|}}} | {{!}} align=center colspan=2 style="padding: 1em 0; text-align: center;" {{!}} [[File:{{{Image}}}|{{{Imagewidth|250px}}}]] }}
{{#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|}}} | {{!}} align=center colspan=2 {{!}} <small>{{{caption}}}</small> }}
{{#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|}}} | {{!}} '''Number of staff''' {{!!}} {{{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:Templates]]</noinclude>
[[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  = 
}}