Difference between revisions of "Template:Infobox Theater"

From Austin Improv Community Wiki
(Added "Attributes" section.)
m (making the homepage optional)
 
(13 intermediate revisions by 2 users not shown)
Line 4: Line 4:
This template lists standard, useful information about an improv theater.
This template lists standard, useful information about an improv theater.
<pre>
<pre>
{{ImprovTheater
{{Infobox Theater
|Name =
|Name =
|Picture =
|Picture =
|Address =
|Homepage =
|Homepage =
|Years =
|Years =
}}
}}
</pre>
</pre>
Line 22: Line 23:
|-
|-
| ''Picture''          || A picture 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.
| ''Homepage''        || The URL of the theater's web page.
Line 29: Line 32:
</noinclude>
</noinclude>


<div style="background-color: #ddf5eb; max-width=200px; border: 1px solid #aaa; clear: right; float: right; font-size: 88%">
<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 | Picture | 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 17: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