Template:Professionals: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> {{#template_params:name (label=Name)|image (label=Image)|in_mleague (label=In M League?)|mleague_team (label=M League team)|org (label=Org)}} {{#cargo_declare:_tab...")
 
No edit summary
Line 2: Line 2:
{{#template_params:name (label=Name)|image (label=Image)|in_mleague (label=In M League?)|mleague_team (label=M League team)|org (label=Org)}}
{{#template_params:name (label=Name)|image (label=Image)|in_mleague (label=In M League?)|mleague_team (label=M League team)|org (label=Org)}}
{{#cargo_declare:_table=professionals|name=String|image=String|in_mleague=Boolean|mleague_team=String|org=String}}
{{#cargo_declare:_table=professionals|name=String|image=String|in_mleague=Boolean|mleague_team=String|org=String}}
</noinclude><includeonly>{{#cargo_store:_table=professionals}}
 
{{#template_display:_format=infobox}}</includeonly>
</table>
</noinclude>
<includeonly>{{#cargo_store:_table=professionals}}
<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;">
[[File:{{{image}}}|250px]]<tr class=""><th scope="row" style="text-align:left; width:33%">Org</th>
    <td class="" style="">
{{{org}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Pro since</th>
    <td class="" style="">
{{{pyear}}}</td></tr>{{#if: {{{mleague_team}}} | <tr class=""><th scope="row" style="text-align:left; width:33%">M League Team:</th>
    <td class="" style="">
{{{mleague_team}}}</td></tr>}}
</includeonly>

Revision as of 15:19, 15 October 2021

This is the "Professionals" template.

It should be called in the following format:

{{Professionals
|name=
|image=
|in_mleague=
|mleague_team=
|org=
}}

Edit the page to see the template text.

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