Difference between revisions of "Template:LevelModule"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="level-module position-relative">
+
<includeonly>{{#switch:{{{ 1 | }}}
<div class="levelModuleTriggerStyle 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>
+
|I=[[File:Buddha icon.png|15px|link=|]]
<div id="levelModuleContent">
+
|II=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
<div id="levelCloseModule"><i class="fal fa-times fa-4x"></i></div>
+
|III=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
<div class="h1 large" style="color: #fff;">Related Material</div>
+
|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 class="row">
+
}}</div> | <span class="pt-1">No category set</span> }}
{{PageTileQuery|query=[[Category:Articles]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}}
+
</div>
{{PageTileQuery|query=[[Category:Books]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}}
+
</div>  
{{PageTileQuery|query=[[Category:Multimedia]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}}
+
|#default= }}</includeonly><noinclude>{{TemplateTag}}</noinclude>
{{PageTileQuery|query=[[Category:Source Texts]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}}
 
</div>
 
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>
 

Latest revision as of 07:40, 10 July 2019