metin2:Spielwiese: Unterschied zwischen den Versionen
Zeile 1: | Zeile 1: | ||
{{Spielwiese}}<!-- Bitte diese erste Zeile stehen lassen und erst DANACH schreiben! --> | {{Spielwiese}}<!-- Bitte diese erste Zeile stehen lassen und erst DANACH schreiben! --> | ||
+ | {{#switch: {{{ver|1}}} | ||
+ | |1= | ||
<div data-load-javascript="tabber" style="display: none;"> | <div data-load-javascript="tabber" style="display: none;"> | ||
</div> | </div> | ||
<div class="tabber-container" data-activation="{{#if:{{{activation|}}}||true}}" data-url="{{#if:{{{url|}}}||false}}"> | <div class="tabber-container" data-activation="{{#if:{{{activation|}}}||true}}" data-url="{{#if:{{{url|}}}||false}}"> | ||
− | + | <div style="display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap; {{#if:{{{noBg|}}}||background: rgba(0,0,0,.1); border: 1px black solid;}} padding: 5px; {{#if:{{{Center|}}}|justify-content: center; width: fit-content;}}{{#if:{{{Cadre|}}}|border-bottom: 1px black;}}{{#if:{{{Center2|}}}|margin: 0 auto;}}"> | |
− | <div style="display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap; {{#if:{{{noBg|}}}||background: rgba(0,0,0,.1); border: | ||
− | |||
− | |||
{{#forargs: Bo | {{#forargs: Bo | ||
| key | | key | ||
| value | | value | ||
− | |<div id="{{#var:value}}" class="button" data-position="{{#expr:{{#var:key}}-1}}">{{#var:value}}</div> | + | |<div id="{{#var:value}}" class="button {{#ifeq:{{#var:key}}|{{{numActive|1}}}|tabber-active}}" data-position="{{#expr:{{#var:key}}-1}}">{{#var:value}}</div> |
}} | }} | ||
− | + | </div> | |
<div style="{{#if:{{{Cadre|}}}|border: 1px black solid; padding: 5px;|padding-top: 10px;}} {{#if:{{{noOverflow|}}}||overflow-x: auto;}}"> | <div style="{{#if:{{{Cadre|}}}|border: 1px black solid; padding: 5px;|padding-top: 10px;}} {{#if:{{{noOverflow|}}}||overflow-x: auto;}}"> | ||
− | |||
{{#forargs: Co | {{#forargs: Co | ||
| key | | key | ||
Zeile 23: | Zeile 21: | ||
}} | }} | ||
</div> | </div> | ||
+ | </div> | ||
+ | |2= | ||
+ | <div data-load-javascript="tabber" style="display: none;"> | ||
+ | </div> | ||
+ | <div class="tabber-container" data-activation="{{#if:{{{activation|}}}||true}}" data-url="{{#if:{{{url|}}}|false|true}}"> | ||
+ | <div style="display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap; padding: 5px; justify-content: center; width: fit-content; margin: 0 auto;"> | ||
+ | {{#forargs: Bo | ||
+ | | key | ||
+ | | value | ||
+ | |<div id="{{#var:value}}" class="button {{#ifeq:{{#var:key}}|{{{numActive|1}}}|tabber-active}}" data-position="{{#expr:{{#var:key}}-1}}">{{#var:value}}</div> | ||
+ | }} | ||
+ | </div> | ||
+ | <div style="padding-top: 10px;"> | ||
+ | {{#forargs: Co | ||
+ | | key | ||
+ | | value | ||
+ | |<div {{#if:{{{category{{#var:key}}|}}}|data-category="{{{category{{#var:key}}|}}}"}} class="{{#ifeq:{{#var:key}}|{{{numActive|1}}}|tabber-active}} {{#if:{{{noSizing{{#var:key}}|}}}||image-sizing}}">{{#if:{{{noList{{#var:key}}|}}}|{{#var:value}}|<div {{#if:{{{oneColumn{{#var:key}}|}}}||class="grid2"}} style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); justify-content: left; grid-gap: 5px;">{{#var:value}}</div>}}</div> | ||
+ | }} | ||
+ | </div> | ||
+ | </div> | ||
+ | }} |
Version vom 11. Oktober 2022, 14:36 Uhr
Spielwiese
In der Spielwiese kann alles getestet werden, egal ob Texte formatieren oder die verschiedensten Wikifunktionen auszuprobieren. Diese Seite wird regelmäßig zurückgesetzt.