Template:Cup: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
m add a missing "noinclude"
Para Para (talk | contribs)
mNo edit summary
 
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>

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

(see more examples)