Difference between revisions of "Template:Cup"

From Hattrick
(instructions)
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:National Cup.PNG{{#if:{{{1|}}}|{{!}}{{{1}}}px|}}{{#if:{{{size|}}}|{{!}}{{{size}}}px|}}{{#if:{{{style|}}}|{{!}}{{{style}}}|}}{{#if:{{{text|}}}|{{!}}<small>{{{text}}}</small>|{{!}}link=}}]]<noinclude>
+
[[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 17:32, 26 December 2019

Cupseason56.png

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}}
Cupseason56.png
Season 49
Season49
basic redimensioned with a style

(see more examples)