Difference between revisions of "Template:Infobox Theater"

From Austin Improv Community Wiki
(Giving the template a basic table structure.)
m (making the homepage optional)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Give standard information about an improv theater.
This template lists standard, useful information about an improv theater.
{{ImprovTheater}}
<pre>
{{Infobox Theater
|Name =
|Picture =
|Address =
|Homepage =
|Years =
}}
</pre>
 
 
== Attributes ==
 
{| class="wikitable" style="line-height:1.3em;"
!style="background:gray; text-align:left;"| Parameter
!style="background:gray; text-align:left;"| Explanation
|-
| ''Name''      || The name of the theater.
|-
| ''Picture''          || A picture of the theater.
|-
| ''Address''          || The theater's street address.  Austin is assumed; if it's a nearby city, include the city name afterwards, in parentheses: "(Round Rock)".
|-
| ''Homepage''        || The URL of the theater's web page.
|-
| ''Years''    || The years that the theater was in operation, for instance "1993-1997".  If it's still in operation, set it to something like "1998-Present".
|}
</noinclude>
</noinclude>


<div style="background-color: #ddf5eb; max-width=200px; border-style: solid;">
<div>
<table>
<table class="infobox infobox-theater">
<tr>
<tr>
<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; font-style: italic;">{{{Name|Theater Name}}}</th>
<th colspan="2" class="infobox-header">{{{Name|Theater Name}}}</th>
</tr>
</tr>
<tr class="">
<tr class="">
<td colspan="2" class="" style="text-align:center;">
<td colspan="2" class="infobox-picture">
{{{Image | TheaterImage | 50px}}}
[[File:{{{Picture | Theater_Default_Image.jpg}}}|frameless|border|150px|]]
</td>
</td>
</tr>
</tr>
<tr class="">
<tr class="">
<th scope="row" style="text-align:left;">Address</th>
<th scope="row" class="category-header">Address</th>
<td class="category">{{{Address|Theater Address}}}</td>
<td class="category">{{{Address|Theater Address}}}</td>
</tr>
</tr>
{{#if: {{{Homepage|}}} |
<tr class="">
<tr class="">
<th scope="row" style="text-align:left;">Homepage</th>
<th scope="row" class="category-header">Homepage</th>
<td class="category">{{{Homepage|Theater Homepage URL}}}</td>
<td class="category">{{{Homepage}}}</td>
</tr>
</tr>
|}}
<tr class="">
<tr class="">
<th scope="row" style="text-align:left;">Years of Operation</th>
<th scope="row" class="category-header">Years of Operation</th>
<td class="category">{{{Years|Years of Operation}}}</td>
<td class="category">{{{Years|Years of Operation}}}</td>
</tr>
</tr>
</table>
</table>
</div>
</div>

Latest revision as of 18:27, 18 March 2015


Usage

This template lists standard, useful information about an improv theater.

{{Infobox Theater
|Name	=		
|Picture	=	
|Address	=	
|Homepage	=	
|Years	=		
}}


Attributes

Parameter Explanation
Name The name of the theater.
Picture A picture of the theater.
Address The theater's street address.  Austin is assumed; if it's a nearby city, include the city name afterwards, in parentheses: "(Round Rock)".
Homepage The URL of the theater's web page.
Years The years that the theater was in operation, for instance "1993-1997". If it's still in operation, set it to something like "1998-Present".


Theater Name

Theater Default Image.jpg

Address Theater Address
Years of Operation Years of Operation