Template:Mleague teams: Difference between revisions

no edit summary
m (dunno if this will work, just doing a dirty quick way before bed)
No edit summary
 
(11 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><includeonly>{{#cargo_store:_table=mleague_teams}}
{{#template_display:_format=infobox}}
<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;">
Name: {{{name|}}}
[[File:{{{logo}}}|250px]]<tr class=""><th scope="row" style="text-align:left; width:33%">Owner</th>
 
</noinclude>
 
<includeonly>
 
{{#cargo_store:_table=mleague_teams
}}
 
 
 
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="infobox" cellspacing="3" style="border-spacing: 3px; width:22em; width:20em;"><caption class="" style="">{{name}}</caption><tbody><tr class=""><td colspan="2" class="" style="text-align:center;">
<a href="{{logo}}" class="image"><img src="/images/{{logo}}" width="250" height="184" data-file-width="468" data-file-height="344" /></a></td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Owner</th>
     <td class="" style="">
     <td class="" style="">
{{owner}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Inception</th>
{{{owner}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Inception</th>
     <td class="" style="">
     <td class="" style="">
{{inception}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Finals:</th>
{{{inception}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Finals:</th>
     <td class="" style="">
     <td class="" style="">
{{finals}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Titles</th>
{{{finals}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Titles</th>
     <td class="" style="">
     <td class="" style="">
{{titles}}</td></tr>
{{{titles}}}</td></tr>
</tbody></table>
</table>
</includeonly>
</includeonly>