Template:Professionals: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#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)|inmleague (label=In M League?)|mleagueteam (label=M League team)|org (label=Association)|pyear (label=Pro Since)}}
{{#cargo_declare:_table=professionals|name=String|image=String|in_mleague=Boolean|mleague_team=String|org=String}}
{{#cargo_declare:_table=professionals|name=String|image=String|inmleague=Boolean|mleagueteam=String|org=String|pyear=Date}}
 
</table>
</table>
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table=professionals}}
<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;">
<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>
  [[File:{{{image}}}|200px]]<tr class=""><th scope="row" style="text-align:left; width:33%">Association</th>
     <td class="" style="">
     <td class="" style="">
{{{org}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Pro since</th>
{{{org}}}</td></tr><tr class=""><th scope="row" style="text-align:left; width:33%">Pro since</th>
     <td class="" style="">
     <td class="" style="">
{{{pyear}}}</td></tr>{{#if: {{{mleague_team}}} | <tr class=""><th scope="row" style="text-align:left; width:33%">M League Team:</th>
{{{pyear}}}</td></tr>{{#if: {{{mleagueteam}}} | <tr class=""><th scope="row" style="text-align:left; width:33%">M.League</th>
     <td class="" style="">
     <td class="" style="">
{{{mleague_team}}}</td></tr>}}
{{{mleagueteam}}}</td></tr>}}
</includeonly>
</table></includeonly>

Latest revision as of 08:00, 11 October 2024

This is the "Professionals" template.

It should be called in the following format:

{{Professionals
|name=
|image=
|inmleague=
|mleagueteam=
|org=
|pyear=
}}

Edit the page to see the template text.

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