Difference between revisions of "Template:Country Badge image"
(Creating template for country badges) |
(Usage template name) |
||
Line 1: | Line 1: | ||
https://project-gc.com/dimages/badgegen-v4-countrybadge.php?country={{{1|}}}&quality={{{q|D}}}&addons={{{addons|}}}&loop={{{loop|}}}&.png<noinclude> | https://project-gc.com/dimages/badgegen-v4-countrybadge.php?country={{{1|}}}&quality={{{q|D}}}&addons={{{addons|}}}&loop={{{loop|}}}&.png<noinclude> | ||
− | Usage:<code><nowiki>{{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> |
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: |
Revision as of 07:46, 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.