Difference between revisions of "Template:LevelModule"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly>{{#if: {{#external_value:BuNayGrade}} | <div class="level-module position-relative">
+
<includeonly>{{#switch:{{#external_value:BuNayGrade}}
<div class="levelModuleTriggerStyle levelModuleTrigger {{#switch:{{#external_value:BuNayGrade}}
+
|I
|I=btn-level-one
+
|II
|II=btn-level-two
+
|III
|III=btn-level-three
+
|IV= <div class="level-module position-relative">
|IV=btn-level-four
+
<div class="levelModuleTriggerStyle levelModuleTrigger {{#switch:{{#external_value:BuNayGrade}}
}} d-flex justify-content-between align-items-center align-middle">{{#if: {{#external_value:BuNayGrade}} | <div class="text-center" style="width: 100%;">{{#switch:{{#external_value:BuNayGrade}}
+
|I=btn-level-one
|I=[[File:Buddha icon.png|15px|link=|]]
+
|II=btn-level-two
|II=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
+
|III=btn-level-three
|III=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
+
|IV=btn-level-four
|IV=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
+
}} d-flex justify-content-between align-items-center align-middle">{{#if: {{#external_value:BuNayGrade}} | <div class="text-center" style="width: 100%;">{{#switch:{{#external_value:BuNayGrade}}
}}</div> | <span class="pt-1">No category set</span> }}
+
|I=[[File:Buddha icon.png|15px|link=|]]
</div>
+
|II=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
</div> | }}</includeonly><noinclude>{{TemplateTag}}</noinclude>
+
|III=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
 +
|IV=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
 +
}}</div> | <span class="pt-1">No category set</span> }}
 +
</div>
 +
</div>  
 +
|#default=
 +
}}</includeonly><noinclude>{{TemplateTag}}</noinclude>

Revision as of 07:37, 10 July 2019