Template:Cup: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user 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 ==== | ==== Usage ==== | ||
<pre> | <pre> | ||
| Line 24: | Line 24: | ||
|} | |} | ||
(see more [http://wiki.hattrick.org/w/index.php?title=Special:WhatLinksHere&target=Template%3ACup examples]) | (see more [http://wiki.hattrick.org/w/index.php?title=Special:WhatLinksHere&target=Template%3ACup examples]) | ||
<noinclude> | </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)

