Template:ModuleButton: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-budnat" to "images")
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="btn-group dropleft">
{{#if: {{{1}}} |
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="level-module">
Dropleft
{{#widget:ModuleButton
</button>
|icon={{#switch:{{{1}}}
<div class="dropdown-menu">
|I=<img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/>
<a class="dropdown-item" href="#">Action</a>
|II=<img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/> <img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/>
<a class="dropdown-item" href="#">Another action</a>
|III=<img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/> <img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/> <img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/>
<a class="dropdown-item" href="#">Something else here</a>
|IV=<img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/> <img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/> <img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/> <img src="/images/c/c5/Buddha_icon.png" alt="Buddha module icon"/>
</div>
}}
</div>
|button={{#switch:{{{1}}}
|I=btn-level-one
|II=btn-level-two
|III=btn-level-three
|IV=btn-level-four
}}
|level={{{1}}}
}}
</div> | }}

Latest revision as of 10:20, 10 November 2022