Difference between revisions of "Template:LevelModule"

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

Latest revision as of 07:40, 10 July 2019