Difference between revisions of "Template:Badge image"

From Project-GC
Jump to: navigation, search
(Creating template)
 
(Added category)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
https://project-gc.com/dimages/badgegen-v4-badge.php?icon={{{icon|}}}&quality={{{q|D}}}&addons={{{addon|}}}&.png<no include>
+
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 Diamonf.
+
*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.
 +
[[Category: Geocaching Templates]]</noinclude>

Latest revision as of 22:01, 26 April 2024

badgegen-v4-badge.php?icon=&quality=D&addons=&loop=&.png

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.