Template:Professionals: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#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)}}
{{#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|inmleague=Boolean|mleagueteam=String|org=String|pyear=Date}}
{{#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}}}|200px]]<tr class=""><th scope="row" style="text-align:left; width:33%">Association</th>
  [[File:{{{image}}}|200px]]<tr class=""><th scope="row" style="text-align:left; width:33%">Association</th>
Line 11: Line 9:
{{{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: {{{mleagueteam}}} | <tr class=""><th scope="row" style="text-align:left; width:33%">M League</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="">
{{{mleagueteam}}}</td></tr>}}
{{{mleagueteam}}}</td></tr>}}
</table>
</table></includeonly>
</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.