Difference between revisions of "Template:Badge image"
(Creating template) |
(Fix, add loop.) |
||
Line 1: | Line 1: | ||
− | https://project-gc.com/dimages/badgegen-v4-badge.php?icon={{{icon|}}}&quality={{{q|D}}}&addons={{{ | + | https://project-gc.com/dimages/badgegen-v4-badge.php?icon={{{icon|}}}&quality={{{q|D}}}&addons={{{addons|}}}&loop={{{loop|}}}&.png<noinclude> |
− | Usage:<code><nowiki>{{Badge image|icon=badge icon|q=quality|addons=list}}</nowiki></code> | + | Usage:<code><nowiki>{{Badge image|icon=badge icon|q=quality|addons=list|loop=number}}</nowiki></code> |
This template creates an image of a given badge. Parameters are as follows: | This template creates an image of a given badge. Parameters are as follows: | ||
*icon - the name of the badge as defined in the image url - e.g. TheTraditionalCacher. Default is blank. | *icon - the name of the badge as defined in the image url - e.g. TheTraditionalCacher. Default is blank. | ||
− | *q - the quality, i.e. level, of the badge. Can be B, S, G, P, R, Sa, E or D for Bronze, Silver, etc. Default is D for | + | *q - the quality, i.e. level, of the badge. Can be B, S, G, P, R, Sa, E or D for Bronze, Silver, etc. Default is D for Diamond. |
− | *addons - any addons required, separated by commas (no spaces) | + | *addons - any addons required, separated by commas (no spaces). Default is blank. |
+ | *loop - loop number. Default is blank.</nowiki> |
Revision as of 15:55, 6 October 2021
Usage:{{Badge image|icon=badge icon|q=quality|addons=list|loop=number}}
This template creates an image of a given badge. Parameters are as follows:
- icon - the name of the badge as defined in the image url - e.g. TheTraditionalCacher. Default is blank.
- q - the quality, i.e. level, of the badge. Can be B, S, G, P, R, Sa, E or D for Bronze, Silver, etc. Default is D for Diamond.
- addons - any addons required, separated by commas (no spaces). Default is blank.
- loop - loop number. Default is blank.</nowiki>