Difference between revisions of "Template:Badge"

From Project-GC
Jump to: navigation, search
(Reversing requirements into increasing order)
(Make MaxLoops and AddonsAvailable conditional ({{!}} is required to replace | in conditional statements))
Line 7: Line 7:
 
|-
 
|-
 
|Name||{{{BadgeName}}}
 
|Name||{{{BadgeName}}}
|-
+
{{#IF:{{{MaxLoops|}}}|
|Max loops||{{{MaxLoops}}}
+
{{!}}-
 +
{{!}}Max loops{{!}}{{!}}{{{MaxLoops}}}}}
 
|-
 
|-
 
! colspan="2"|Requirements
 
! colspan="2"|Requirements
Line 28: Line 29:
 
|Diamond||{{{DiamondRequirement}}}
 
|Diamond||{{{DiamondRequirement}}}
 
|-
 
|-
! colspan="2"|Addons available
+
{{#IF:{{{AddonsAvailable|}}}|
|-
+
! colspan="2"{{!}}Addons available
| colspan="2"|{{{AddonsAvailable}}}
+
{{!}}-
 +
{{!}} colspan="2"{{!}}{{{AddonsAvailable}}}}}
 
|}
 
|}
  

Revision as of 12:30, 19 February 2020

{{{BadgeName}}}
General data
Name {{{BadgeName}}}
Requirements
Bronze {{{BronzeRequirement}}}
Silver {{{SilverRequirement}}}
Gold {{{GoldRequirement}}}
Platinum {{{PlatinumRequirement}}}
Ruby {{{RubyRequirement}}}
Sapphire {{{SapphireRequirement}}}
Emerald {{{EmeraldRequirement}}}
Diamond {{{DiamondRequirement}}}

{{{BadgeName}}}


TEMPLATE NOTES

  • For variable AddonsAvailable, add a <br> after the four first (D/T, 366, Leapday, FTF), so that the others ends up on a new row.
  • Suggested headers, besides Badge-name: Loop, Addons, Related tools, History