Template:MatchTableRow: 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:
<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        = [[File:600px-Green Arrow Up.svg.png|11px]]
  | trend up|tu      = [[File:600px-Green Arrow Up.svg.png|11px]]
  | trenddown      = [[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:Trend-red.png]]
| stable trend|st = [[File:Stagne.png]]
  | steady|equal|e = [[File:Flecha igual.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==
This template displays team's trophy
This template displays [[series]] table trend arrows.
<pre>
<pre>
{{MatchTableRow|"parameter"}}
{{MatchTableRow|"parameter"}}
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'' = {{MatchTableRow|}}<br> up (or u) = {{MatchTableRow|up}}<br>down (or d){{MatchTableRow|down}}<br>trendup = {{MatchTableRow|trendup}}<br>trenddown = {{MatchTableRow|trenddown}}<br>
| ''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:Series templates]]</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")