Zeile 1: |
Zeile 1: |
− | <div class="mw-ui-button {{#switch: {{{Typ|}}} | + | <onlyinclude><templatestyles src="MediaWiki-Button/styles.css" /><div |
− | | constructive = mw-ui-constructive
| + | role="button" class="plainlinks {{#ifeq:{{#if:{{{Zentriert|0}}}|{{{Zentriert|0}}}|0}}|0||center}}" |
− | | destructive = mw-ui-destructive
| + | style="margin:{{{Margin|.5em}}};">[{{#if: {{#invoke:URLutil|isResourceURL|1={{{Link|{{{1}}}}}}}} |
− | | progressive = mw-ui-progressive
| + | | {{{Link|{{{1}}}}}} |
− | }} {{#if: {{{Groß|}}} | mw-ui-big | }} {{#if: {{{Quiet|}}} | mw-ui-quiet | }} {{#if: {{{Block|}}} | mw-ui-block | }}"<!--
| + | | {{#ifeq: {{padleft:|1|{{{Link|{{{1}}}}}}}}|# |
− | --> style="{{#if: {{{Zentriert|}}} | margin: auto; display: table; | }}{{#if: {{{Padding|}}} | padding: {{{Padding}}}; | }}{{#if: {{{Margin|}}} | margin: {{{Margin}}}; | margin: .5em; }}"><!--
| + | | {{fullurl:{{FULLPAGENAME}}{{{Link|{{{1}}}}}}}} |
− | -->{{#if: {{{Freitext|}}} | {{{Freitext}}} | [<!--
| + | | {{fullurl:{{{Link|{{{1|{{FULLPAGENAME}}}}}}}}}} |
− | -->{{#if: {{#invoke:URLutil|isProtocolMW|{{#invoke:URLutil|getURIScheme|1={{{Link|}}}}}}}
| + | }} |
− | | {{{Link|{{{1}}}}}}
| + | }}<!-- link target finished |
− | | {{#ifeq: {{padleft:|1|{{{Link|{{{1|}}}}}}}}|#
| + | --> <span class="mw-ui-button {{#switch: {{{Typ|}}} |
− | | {{fullurl:{{FULLPAGENAME}}{{{Link|{{{1}}}}}}}}
| + | |destructive=mw-ui-destructive |
− | | {{fullurl:{{{Link|{{{1|{{FULLPAGENAME}}}}}}}}}}
| + | |progressive=mw-ui-progressive |
− | }}
| + | |destructive-normal=mw-ui-destructive mw-ui-quiet |
− | }}<!-- | + | |progressive-normal=mw-ui-progressive mw-ui-quiet |
− | --> <span class="plainlinks" {{#if: {{{Quiet|}}} | {{#switch: {{{Typ|}}} | + | }} |
− | | constructive = style="color: #00af89;" | + | {{#ifeq:{{#if:{{{Groß|0}}}|{{{Groß|0}}}|0}}|0||mw-ui-big}} |
− | | destructive = style="color: #d11d13;" | + | {{#ifeq:{{#if:{{{Quiet|0}}}|{{{Quiet|0}}}|0}}|0|||mw-ui-quiet}}" |
− | | progressive = style="color: #347bff;" | + | {{#if: {{{Padding|}}} | style="padding: {{{Padding}}};"}} |
− | | #default = style="color: #555" | + | {{#if:{{{Tooltip|}}}|title="{{{Tooltip}}}"}} |
− | }} | {{#if: {{{Typ|}}} | style="color: white;" | style="color: #555" }} }}>{{{Text|mwButton}}}</span>] }}</div><noinclude>{{Dokumentation}}</noinclude> | + | >{{#if:{{{Icon|}}} |
| + | |<span style="margin-right:.5em">[[Datei:{{{Icon}}}|{{#ifeq: |
| + | {{#if:{{{Groß|0}}}|{{{Groß|0}}}|0}} |
| + | |0|16|24}}px|link=]]</span> |
| + | }}{{{Text}}}</span>]{{#if: {{{Hilfe|}}} | |
| + | <span style=" margin-left:2px; position:relative; top:-{{#ifeq: |
| + | {{#if:{{{Groß|0}}}|{{{Groß|0}}}|0}} |
| + | |0|10|12}}px;" |
| + | >[[Datei:OOjs UI icon help.svg|{{#ifeq: |
| + | {{#if:{{{Groß|0}}}|{{{Groß|0}}}|0}} |
| + | |0|16|20}}px|link={{{Hilfe}}}]]</span> |
| + | }}</div></onlyinclude> |
| + | |
| + | {{Dokumentation}} |
| + | {{QuelleWikipedia|datum=15. November 2019|oldid=183527257|oldid-lokal=4529|geschichte=true}} |