Template:MatchTableRow: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
mNo 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       = [[File:600px-Green Arrow Up.svg.png|11px]]
  | trendup|tu    = [[File:600px-Green Arrow Up.svg.png|11px]]
  | trenddown     = [[File:Baisse.png]]
  | trenddown|td  = [[File:Baisse.png]]
  | up|u          = [[File:Trend-green.png]]
  | up|u          = [[File:Trend-green.png]]
  | down|d        = [[File:Trend-red.png]]
  | down|d        = [[File:Icon trend down.png]]
  | steady|equal|e = [[File:Flecha igual.png]]
  | steady|equal|e = [[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 15:
{| 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|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}}
|}
|}
[[Category:Series templates]]</noinclude>
[[Category:Icon Templates]]</noinclude>

Revision as of 14:19, 23 November 2020

Usage

This template displays series table trend arrows.

{{MatchTableRow|"parameter"}}
Parameters
null (no parameter)
"up" (or "u")
"down" (or "d")
"steady" (or "equal" or "e")
"trendup" (or "tu")
"trenddown" (or "td")