Difference between revisions of "Template:Infobox Theater"
From Austin Improv Community Wiki
(initial version.) |
m (making the homepage optional) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
This template lists standard, useful information about an improv theater. | |||
{{ | <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> | |||
<table class="infobox infobox-theater"> | |||
<tr> | |||
<th colspan="2" class="infobox-header">{{{Name|Theater Name}}}</th> | |||
</tr> | |||
<tr class=""> | |||
<td colspan="2" class="infobox-picture"> | |||
[[File:{{{Picture | Theater_Default_Image.jpg}}}|frameless|border|150px|]] | |||
</td> | |||
</tr> | |||
<tr class=""> | |||
<th scope="row" class="category-header">Address</th> | |||
<td class="category">{{{Address|Theater Address}}}</td> | |||
</tr> | |||
{{#if: {{{Homepage|}}} | | |||
<tr class=""> | |||
<th scope="row" class="category-header">Homepage</th> | |||
<td class="category">{{{Homepage}}}</td> | |||
</tr> | |||
|}} | |||
<tr class=""> | |||
<th scope="row" class="category-header">Years of Operation</th> | |||
<td class="category">{{{Years|Years of Operation}}}</td> | |||
</tr> | |||
</table> | |||
</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". |