Template:Mleague teams: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(9 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>
Line 33: Line 20:
     <td class="" style="">
     <td class="" style="">
{{{titles}}}</td></tr>
{{{titles}}}</td></tr>
</tbody></table>
</table>
</includeonly>
</includeonly>

Latest revision as of 04:07, 15 October 2021

This is the "Mleague teams" template.

It should be called in the following format:

{{Mleague teams
|name=
|logo=
|inception=
|owner=
|finals=
|titles=
}}

Edit the page to see the template text.

This template defines the table "mleague_teams". View table.