Difference between revisions of "Template:Country Badge image"
(Usage template name) |
(Use country for parameter, not 1) |
||
Line 1: | Line 1: | ||
− | https://project-gc.com/dimages/badgegen-v4-countrybadge.php?country={{{ | + | https://project-gc.com/dimages/badgegen-v4-countrybadge.php?country={{{country|}}}&quality={{{q|D}}}&addons={{{addons|}}}&loop={{{loop|}}}&.png<noinclude> |
Usage:<code><nowiki>{{Country Badge image|country=country code|q=quality|addons=list|loop=number}}</nowiki></code> | Usage:<code><nowiki>{{Country Badge image|country=country code|q=quality|addons=list|loop=number}}</nowiki></code> |
Latest revision as of 07:52, 28 June 2024
Usage:{{Country Badge image|country=country code|q=quality|addons=list|loop=number}}
This template creates an image of a given badge. Parameters are as follows:
- country - the two letter code of the badge as defined in the image url - e.g. GB. 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. Included for completeness as Badgegen does not support looping for country badges.