Difference between revisions of "Template:Badge"

From Project-GC
Jump to: navigation, search
m (Added note about line break for list of addons)
(Make MaxLoops and AddonsAvailable conditional ({{!}} is required to replace | in conditional statements))
 
(4 intermediate revisions by 2 users not shown)
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}}}}}
 
|}
 
|}
  
== {{{BadgeName}}} ==
+
<h2> {{{BadgeName}}} </h2>
  
  
Line 39: Line 41:
 
TEMPLATE NOTES
 
TEMPLATE NOTES
 
* For variable AddonsAvailable, add a &lt;br&gt; after the four first (D/T, 366, Leapday, FTF), so that the others ends up on a new row.
 
* For variable AddonsAvailable, add a &lt;br&gt; 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
 
</noinclude>
 
</noinclude>

Latest revision as of 13: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