Template:Cup: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
| (11 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
[[Image: | [[Image:cupseason56.png{{#if:{{{1|}}}|{{!}}{{{1}}}px|}}{{#if:{{{size|}}}|{{!}}{{{size}}}px|}}{{#if:{{{style|}}}|{{!}}{{{style}}}|}}{{#if:{{{text|}}}|{{!}}<small>{{{text}}}</small>|{{!}}link=}}]]<noinclude> | ||
==== Usage ==== | |||
<pre> | |||
{{Cup| | |||
|(blank)= specify a dimension | |||
| size = specify a dimension | |||
| style = frame (frame, border, thumb) or position (left, right, center) | |||
To add both use {{!}} (ex: {{Cup|style=frame{{!}}center)}} | |||
| text = write caption about cup (readable when mouse is over icon) | |||
}} | |||
</pre> | |||
==== Examples ==== | |||
{| class=prettytable style="text-align:center;" | |||
|- valign=bottom | |||
|<nowiki>{{cup}}</nowiki> | |||
|<nowiki>{{cup|size=22|text=Season 49}}</nowiki><br>''or simply''<br><nowiki>{{cup|22|text=Season 49}}</nowiki> | |||
|<nowiki>{{cup|style=frame|text=Season49}}</nowiki>''' | |||
|- bgcolor=white | |||
| {{cup}}|| {{cup|22|style=center|text=Season 49}} | |||
| {{cup|style=frame{{!}}center|text=<small>Season49</small>}} | |||
|- | |||
| basic || redimensioned || with a style | |||
|- | |||
|} | |||
(see more [http://wiki.hattrick.org/w/index.php?title=Special:WhatLinksHere&target=Template%3ACup examples]) | |||
</noinclude><noinclude> | |||
[[Category:Trophy templates]] | [[Category:Trophy templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:32, 26 December 2019
Usage
{{Cup|
|(blank)= specify a dimension
| size = specify a dimension
| style = frame (frame, border, thumb) or position (left, right, center)
To add both use {{!}} (ex: {{Cup|style=frame{{!}}center)}}
| text = write caption about cup (readable when mouse is over icon)
}}
Examples
| {{cup}} | {{cup|size=22|text=Season 49}} or simply {{cup|22|text=Season 49}} |
{{cup|style=frame|text=Season49}} |
| basic | redimensioned | with a style |
(see more examples)

