Template:Db/row: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{1|}}}|table|<table class="wikitable sortable" width=40% style="text-align:left; background:#eee; border: 1px #b70 solid; font-size:90%"><tr bgcolor=#ddd><th>Team</th><th>Country</th><th>Times</th></tr> | <tr><td>{{{1}}}</td><td>{{country data {{{2}}} | country flag2 | name = {{{2}}} | variant = | altlink = | size = }}</td><td>{{{3|}}}</td></tr>}}
<noinclude>Please, use only for [[double]] page.<br>
Champions with only 1 double are never shown!<br>
eu|europe    = Europe
am|america  = America
as|asia      = Asia
af|africa    = Africa
o|oceania    = Oceania</noinclude>{{#ifeq:{{{1|}}}|table|<table class="toccolours sortable" style="text-align:left; border-radius: 10px; border: 1px #b70 solid;"><tr bgcolor=#b0c4de><th>Continent</th><th>Country</th><th>Team</th><th>Doubles</th></tr>|{{#ifeq:{{{3|}}}|1||<tr><td bgcolor=#ededed>{{#switch: {{{4}}}
| eu|europe|Europe    = <small>Europe</small>
| am|america|America  = <small>America</small>
| as|asia|Asia        = <small>Asia</small>
| af|africa|Africa    = <small>Africa</small>
| o|oceania|Oceania    = <small>Oceania</small>
| #default            = N/a
}}</td><td bgcolor=#ededed><small>{{country data {{{2}}}|RC}}</small></td><td>[[{{{1|insert data}}}]]</td><td align=right><b>{{{3}}}</b></td></tr>}}|}}

Latest revision as of 23:32, 7 July 2020

Please, use only for double page.

Champions with only 1 double are never shown!
eu|europe = Europe am|america = America as|asia = Asia af|africa = Africa

o|oceania = OceaniaN/a{{country data {{{2}}}|RC}}insert data{{{3}}}