Difference between revisions of "Template:Infobox Theater"

From Austin Improv Community Wiki
m (moving the margin setting back to the div, where it belongs)
m (making the homepage optional)
 
(4 intermediate revisions by 2 users not shown)
Line 32: Line 32:
</noinclude>
</noinclude>


<div style="background-color: #ddf5eb; max-width=200px; border: 1px solid #aaa; clear: right; float: right; font-size: 88%; margin: 5px 0px 5px 10px;">
<div>
<table style = "padding: 5px;">
<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">
[[File:{{{Picture | Theater_Default_Image.jpg}}}|frameless|border|150px|]]
[[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