Template:LevelModule: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(22 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> | '''No category set''' }}
}} d-flex justify-content-between align-items-center align-middle">{{#if: {{{ 1 | }}} |  
</div>{{#if: {{#external_value:BuNayGrade}} |
<div class="text-center" style="width: 100%;">{{#switch:{{{ 1 | }}}
<div class="relatedContent depth-2">{{#if: {{#ask:[[Category:Articles]][[BuNayGrade::{{#external_value:BuNayGrade}}]] OR [[Category:Multimedia]][[BuNayGrade::{{#external_value:BuNayGrade}}]]}} |
|I=[[File:Buddha icon.png|15px|link=|]]
<div class="related-column p-1">
|II=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
{{#ask:[[Category:Articles]][[BuNayGrade::{{#external_value:BuNayGrade}}]]
|III=[[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]] [[File:Buddha icon.png|15px|link=|]]
|?AuthorRaw
|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=|]]
|?citation
}}</div> | <span class="pt-1">No category set</span> }}
|?Author
</div>
|?AuthorPage
</div>  
|?ArticleSummary
|#default= }}</includeonly><noinclude>{{TemplateTag}}</noinclude>
|?description
|?performer
|?MediaSeries
|?Frontcoverimg
|?AuthorImage
|?TranslatorRaw
|link=none
|format=template
|template=PageTile
|limit=10000
}}
{{#ask:[[Category:Multimedia]][[BuNayGrade::{{#external_value:BuNayGrade}}]]
|?AuthorRaw
|?citation
|?Author
|?AuthorPage
|?ArticleSummary
|?description
|?performer
|?MediaSeries
|?Frontcoverimg
|?AuthorImage
|?TranslatorRaw
|link=none
|format=template
|template=PageTile
|limit=10000
}}
</div> | }}{{#if: {{#ask:[[Category:Books]][[BuNayGrade::{{#external_value:BuNayGrade}}]] OR [[Category:Source Texts]][[BuNayGrade::{{#external_value:BuNayGrade}}]]}} |
<div class="related-column p-1">
{{#ask:[[Category:Books]][[BuNayGrade::{{#external_value:BuNayGrade}}]]
|?AuthorRaw
|?citation
|?Author
|?AuthorPage
|?ArticleSummary
|?description
|?performer
|?MediaSeries
|?Frontcoverimg
|?AuthorImage
|?TranslatorRaw
|link=none
|format=template
|template=PageTile
|limit=10000
}}
{{#ask: [[Category:Source Texts]] [[BuNayGrade::{{#external_value:BuNayGrade}}]]
|?AuthorRaw
|?citation
|?Author
|?AuthorPage
|?ArticleSummary
|?description
|?performer
|?MediaSeries
|?Frontcoverimg
|?AuthorImage
|?TranslatorRaw
|link=none
|format=template
|template=PageTile
|limit=10000
}}
</div> | }}
</div> | }}
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 07:40, 10 July 2019