Template:MatchTableRow: Difference between revisions

From Hattrick
Jump to navigationJump to search
Fuegodiego (talk | contribs)
Initial Creation
 
Para Para (talk | contribs)
No edit summary
Line 1: Line 1:
|-
<span style="display:inline-block;">{{#switch: {{{1}}}
|align=right| {{{home-team}}} || align=center| {{{home-pts}}} - {{{away-pts}}} || {{{away-team}}} || {{matchid|{{{matchid}}}}}
| #default      = [[File:Flecha igual.png]]
<noinclude>
| trendup        = [[File:600px-Green Arrow Up.svg.png|11px]]
[[Category:Match templates]]
| trenddown      = [[File:Baisse.png]]
</noinclude>
| up|u          = [[File:Trend-green.png]]
| down|d        = [[File:Trend-red.png]]
| steady|equal|e = [[File:Flecha igual.png]]
}}</span><noinclude>
==Usage==
This template displays team's trophy
<pre>
{{MatchTableRow|"parameter"}}
</pre>
 
{| border=1 cellspacing=0 cellpadding=5 style="text-align:right; margin: 1em 1em 1em 0; border-collapse:collapse; border: 1px #aaa solid;"
|+ Parameters
| ''null'' = {{MatchTableRow|}}<br> up (or u) = {{MatchTableRow|up}}<br>down (or d){{MatchTableRow|down}}<br>trendup = {{MatchTableRow|trendup}}<br>trenddown = {{MatchTableRow|trenddown}}<br>
|}
[[Category:Series templates]]</noinclude>

Revision as of 14:00, 23 November 2020

Usage

This template displays team's trophy

{{MatchTableRow|"parameter"}}
Parameters
null =
up (or u) =
down (or d)
trendup =
trenddown =