Template:Badge image: Difference between revisions

From Project-GC
Jump to navigation Jump to search
Creating template
 
Fix, add loop.
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.</nowiki>

Revision as of 14:55, 6 October 2021

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.</nowiki>