Template:MatchTableRow: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
mNo edit summary
Para Para (talk | contribs)
No edit summary
 
Line 1: Line 1:
<span style="display:inline-block;">{{#switch: {{{1}}}
<span style="display:inline-block;">{{#switch: {{{1}}}
  | #default       = [[File:Flecha igual.png]]
  | #default       = [[File:Flecha igual.png]]
  | trendup|tu     = [[File:600px-Green Arrow Up.svg.png|11px]]
  | trend up|tu     = [[File:600px-Green Arrow Up.svg.png|11px]]
  | trenddown|td  = [[File:Baisse.png]]
  | trend down|td   = [[File:600px-Red Arrow Down.svg.png|11px]]
  | up|u           = [[File:Trend-green.png]]
| up trend|ut    = [[File:Hausse.png]]
  | down|d         = [[File:Icon trend down.png]]
| stable trend|st = [[File:Stagne.png]]
  | steady|equal|e = [[File:Trend-red.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>
}}</span><noinclude>
==Usage==
==Usage==
Line 15: Line 18:
{| border=1 cellspacing=0 cellpadding=5 style="text-align:right; margin: 1em 1em 1em 0; border-collapse:collapse; border: 1px #aaa solid;"
{| border=1 cellspacing=0 cellpadding=5 style="text-align:right; margin: 1em 1em 1em 0; border-collapse:collapse; border: 1px #aaa solid;"
|+ Parameters
|+ Parameters
| ''null'' (no parameter) {{MatchTableRow|}}<br> "up" (or "u") {{MatchTableRow|up}}<br>"down" (or "d") {{MatchTableRow|down}}<br>"steady" (or "equal" or "e") {{MatchTableRow|e}}<br>"trendup" (or "tu") {{MatchTableRow|trendup}}<br>"trenddown" (or "td") {{MatchTableRow|trenddown}}
| ''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>
[[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")