Difference between revisions of "Template:Infobox venue/tenantlist"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
imported>Tholme
 
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|child=<includeonly>yes</includeonly>
 
|child=<includeonly>yes</includeonly>
|label1=<span class="nowrap" style="font-weight:normal">{{{tenant_clubs}}}</span>
+
|label1=<div class="nowrap" style="font-weight:normal">{{{tenant_clubs}}}</div>
 
|data1={{{tenant_years}}}
 
|data1={{{tenant_years}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 21:43, 11 August 2019

{{{tenant_clubs}}}
{{{tenant_years}}}
Template documentation[view] [edit] [history] [purge]

Usage

This template is designed to be used in the {{infobox stadium}} template to add structure to the list of tenant clubs if there have been more than one. In the tenants field, use the following code:

| tenants      =
{{infobox stadium/tenantlist
| tenant_clubs = team1<br />team2<br />team3<br />team4
| tenant_years = 1901-1902<br />1903-1904<br />1905-1906<br />1902-1906
}}
tenant_clubs
A list of clubs who have used the stadium. Separate entries with a <br /> tag.
tenant_years
A list of time periods, corresponding to the list of clubs. Separate entries with a <br /> tag.

Don't forget the closing }} curly brackets, to escape back into the {{infobox stadium}} template.

See also