Template:RitsuTest: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | <includeonly><div class="tabdiv tabber-new {{{$divclass|}}}" style="{{{$divstyle|}}}"> | ||
| | <ul style="{{{$ulstyle|}}}" class="tabber-ul {{{$ulclass|}}}">{{#forargs: | ||
| | | key | ||
| | | value | ||
| | | <nowiki/> | ||
| | {{#if: {{#var:key}} | | ||
{{ | {{#if:{{#pos:{{#var:key}}|$|0}} | ||
|$ | ||<li class="tabber-tab {{{$tab{{#var:key}}class|}}}" style="{{{$tabstyle|}}}"><span class="tabber-tab-content">{{#var:key}}</span></li> | ||
| | }} | ||
| | |||
| | |||
< | |||
{{ | |||
{{ | |||
< | |||
< | |||
}} | }} | ||
}} | }} | ||
</div> | </ul>{{#forargs: | ||
| key | |||
| value | |||
| <nowiki/> | |||
{{#if: {{#var:key}} | | |||
{{#if:{{#pos:{{#var:key}}|$|0}} | |||
| | |||
|<div class="tabber-content {{{$conclass|}}} {{{$con{{#var:key}}class|}}}" style="{{#ifeq:{{#var:key}}|1||display: none;}}{{{$constyle|}}}"> | |||
{{#var:value}} | |||
</div> | </div> | ||
}} | }} | ||
}} | }} | ||
}}</div></includeonly><noinclude> | |||
{{Tabber | |||
|tab1=content1 | |||
|tab2=content2 | |||
|tab3=content3 | |||
}}</noinclude> |
Revision as of 13:03, 14 June 2022
- tab1
- tab2
- tab3
content1