Difference between revisions of "Template:Badge"

From Project-GC
Jump to: navigation, search
(Initial badge template)
 
(Make MaxLoops and AddonsAvailable conditional ({{!}} is required to replace | in conditional statements))
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right;clear:right;width:20%;"
+
<includeOnly>
 +
[[Category:BadgeGen]]
 +
</includeOnly>
 +
{| class="wikitable" style="float:right;"
 
|+ {{{BadgeName}}}
 
|+ {{{BadgeName}}}
 
! colspan="2"|General data
 
! colspan="2"|General data
 
|-
 
|-
 
|Name||{{{BadgeName}}}
 
|Name||{{{BadgeName}}}
 +
{{#IF:{{{MaxLoops|}}}|
 +
{{!}}-
 +
{{!}}Max loops{{!}}{{!}}{{{MaxLoops}}}}}
 
|-
 
|-
|Max loops||?
+
! colspan="2"|Requirements
 
|-
 
|-
! colspan="2"|Requirements
+
|Bronze||{{{BronzeRequirement}}}
 +
|-
 +
|Silver||{{{SilverRequirement}}}
 +
|-
 +
|Gold||{{{GoldRequirement}}}
 +
|-
 +
|Platinum||{{{PlatinumRequirement}}}
 
|-
 
|-
|Bronze||1
+
|Ruby||{{{RubyRequirement}}}
 
|-
 
|-
|Silver||2
+
|Sapphire||{{{SapphireRequirement}}}
 
|-
 
|-
! colspan="2"|Addons available
+
|Emerald||{{{EmeraldRequirement}}}
 
|-
 
|-
|81||?
+
|Diamond||{{{DiamondRequirement}}}
 
|-
 
|-
|366||?
+
{{#IF:{{{AddonsAvailable|}}}|
 +
! colspan="2"{{!}}Addons available
 +
{{!}}-
 +
{{!}} colspan="2"{{!}}{{{AddonsAvailable}}}}}
 
|}
 
|}
  
== {{{BadgeName}}} ==
+
<h2> {{{BadgeName}}} </h2>
https://project-gc.com/dimages/pgc-badge.php?icon=TheAchiever&quality=D&.png
 
Find and log ''Found it'' on Challenge caches.
 
  
== Loop ==
 
https://project-gc.com/dimages/pgc-badge.php?icon=TheAchiever&quality=D&loop=99&.png
 
Do this and that.
 
  
== Addons ==
+
<noinclude>
https://project-gc.com/dimages/pgc-badge.php?icon=TheAchiever&quality=D&loop=99&addons=81matrix,366cal,leapday,ftf&.png
+
TEMPLATE NOTES
* Leapday - Find at least one [[Challenge cache]] on Leapday.
+
* 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.
* 366 - Fill your calendar (366 days) with [[Challenge cache]] finds.
+
* Suggested headers, besides Badge-name: Loop, Addons, Related tools, History
 +
</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