Template:TopLevelModule: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{#external_value:BuNayGrade}} | <div class="d-flex justify-content-end levelModuleWrapper"> | <includeonly>{{#if: {{#external_value:BuNayGrade}} | | ||
<div id="levelModuleContainer"> | <div class="d-flex justify-content-end levelModuleWrapper"> | ||
<div id="levelModuleContainer"> | |||
<div class="levelModuleTriggerStyle levelModuleTrigger {{#switch:{{#external_value:BuNayGrade}}|I=btn-level-one|II=btn-level-two|III=btn-level-three|IV=btn-level-four }} depth-1">{{#switch:{{{1}}} | |||
|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> | |||
<div id="levelModuleContent"> | |||
<div id="levelCloseModule"><i class="fal fa-times fa-4x"></i></div> | |||
<div class="h1 large" style="color: #fff;">Related Material</div> | |||
<div class="row"> | |||
{{PageTileQuery|query=[[Category:Articles]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}} | |||
{{PageTileQuery|query=[[Category:Books]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}} | |||
{{PageTileQuery|query=[[Category:Multimedia]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}} | |||
{{PageTileQuery|query=[[Category:Source Texts]][[BuNayGrade::{{{1}}}]]|classes=col-lg-6 col-xl-4}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | }}</includeonly><noinclude>{{TemplateTag}}</noinclude> |