Template:MatchTableRow: Difference between revisions

From Hattrick
Jump to navigationJump to search
Fuegodiego (talk | contribs)
Initial Creation
 
Para Para (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
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>
| trend up|tu      = [[File:600px-Green Arrow Up.svg.png|11px]]
[[Category:Match templates]]
| trend down|td    = [[File:600px-Red Arrow Down.svg.png|11px]]
</noinclude>
| up trend|ut    = [[File:Hausse.png]]
| stable trend|st = [[File:Stagne.png]]
| down trend|dt  = [[File:Baisse.png]]
| up|u            = [[File:Trend-green.png]]
| down|d          = [[File:Icon trend down.png]]
| stable|s        = [[File:Trend-red.png]]
}}</span><noinclude>
==Usage==
This template displays [[series]] table trend arrows.
<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'' (no parameter) {{MatchTableRow|}}<br> "up" (or "u") {{MatchTableRow|u}}<br>"down" (or "d") {{MatchTableRow|d}}<br>"stable trend" (or "st") {{MatchTableRow|st}}<br>"up trend" (or "ut") {{MatchTableRow|ut}}<br>"down trend" (or "dt") {{MatchTableRow|dt}}<br>"trend up" (or "tu") {{MatchTableRow|tu}}<br>"trend down" (or "td") {{MatchTableRow|td}}
|}
[[Category:Icon Template]]</noinclude>

Latest revision as of 17:44, 23 November 2020

Usage

This template displays series table trend arrows.

{{MatchTableRow|"parameter"}}
Parameters
null (no parameter)
"up" (or "u")
"down" (or "d")
"stable trend" (or "st")
"up trend" (or "ut")
"down trend" (or "dt")
"trend up" (or "tu")
"trend down" (or "td")