Difference between revisions of "Template:LeagueIconSmall/doc"
Jump to navigation
Jump to search
m (Updated doc) |
|||
Line 27: | Line 27: | ||
== Usage == | == Usage == | ||
+ | ;{{LeagueIconSmall | ||
+ | :Brings out the template. | ||
+ | ;| | ||
+ | :The league icon you wish to display. | ||
;|link= | ;|link= | ||
:(Optional) Set this if you want to change the page the icon links to, say if you want to specify a specific tournament. | :(Optional) Set this if you want to change the page the icon links to, say if you want to specify a specific tournament. | ||
;|name= | ;|name= | ||
:(Optional) Set this variable to show a different name than the standard one in the tool-tip. If you set link but not name the link name will show by default. | :(Optional) Set this variable to show a different name than the standard one in the tool-tip. If you set link but not name the link name will show by default. | ||
+ | ;}} | ||
+ | :Ends the template. | ||
− | + | == Example == | |
− | + | <pre>{{LeagueIconSmall|etf2l|link=ETF2L 6v6 Season 21|name=Season 21}}</pre> | |
− | + | Would bring out: {{LeagueIconSmall|etf2l|link=ETF2L 6v6 Season 21|name=Season 21}} | |
− | |||
<noinclude>[[Category:documentation]]</noinclude> | <noinclude>[[Category:documentation]]</noinclude> |
Revision as of 19:01, 2 September 2015
Example
CEVO
Template:LeagueIconSmall/Ready Steady Pan Ready Steady Pan |
Note: when adding new icon you should write a name of a parameter for a template, not a name for a league
Usage
- {{LeagueIconSmall
- Brings out the template.
- |
- The league icon you wish to display.
- |link=
- (Optional) Set this if you want to change the page the icon links to, say if you want to specify a specific tournament.
- |name=
- (Optional) Set this variable to show a different name than the standard one in the tool-tip. If you set link but not name the link name will show by default.
- }}
- Ends the template.
Example
{{LeagueIconSmall|etf2l|link=ETF2L 6v6 Season 21|name=Season 21}}