Template:Mleague teams: Difference between revisions

no edit summary
No edit summary
Tag: Manual revert
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:name (label=Name)|logo (label=Logo;namespace=File)|inception (label=Inception)|owner (label=Owner)|finals (label=Finals)|titles (label=Titles)}}
{{#template_params:name (label=Name)|logo (label=Logo)|inception (label=Inception)|owner (label=Owner)|finals (label=Finals)|titles (label=Titles)}}
 
{{#cargo_declare:
{{#cargo_declare:
_table=mleague_teams
_table=mleague_teams
|name=String
|name=String
|logo=File
|logo=String
|inception=Date
|inception=Date
|owner=String
|owner=String
|finals=Date
|finals=List (,) of Date
|titles=Date}}
|titles=List (,) of Date}}
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table=mleague_teams}}
 
<table class="infobox" cellspacing="3" style="border-spacing: 3px; width:22em; width:20em;"><caption class="" style="">{{{name}}}</caption><tr class=""><td colspan="2" class="" style="text-align:center;">
<includeonly>
[[File:{{{logo}}}|250px]]<tr class=""><th scope="row" style="text-align:left; width:33%">Owner</th>
 
    <td class="" style="">
{{#cargo_store:_table=mleague_teams
{{{owner}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Inception</th>
}}
    <td class="" style="">
 
{{{inception}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Finals:</th>
 
    <td class="" style="">
 
{{{finals}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Titles</th>
{{#template_display:_format=infobox}}
    <td class="" style="">
{{{titles}}}</td></tr>
</table>
</includeonly>
</includeonly>