Vorlage:Button: Unterschied zwischen den Versionen
Aus TUEpedia
Dktue (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Dktue (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(9 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<includeonly> | <noinclude> | ||
[[{{{ | Verwendung: | ||
Erzeugt einen Button. | |||
<nowiki>{{Button|Button-Beschriftung|Verweis zu Artikel durch Angabe des Namens}}</nowiki> | |||
[[Kategorie:Vorlage]] | |||
</noinclude> | |||
<includeonly><div class="template-button>[[{{{2}}}|{{{1}}}]]</div> | |||
<htmltag tagname="style"> | <htmltag tagname="style"> | ||
<nowiki> | <nowiki> | ||
.template-button { | |||
display: inline-block; | display: inline-block; | ||
padding: 8px 16px; | padding: 8px 16px; | ||
background-color: # | background-color: #ccc; | ||
text-align: center; | text-align: center; | ||
cursor: pointer; | cursor: pointer; | ||
float: right; | float: right; | ||
margin: | margin-left: 16px; | ||
} | |||
.template-button:hover { | |||
background-color: #ddd; | |||
} | |||
.template-button:active { | |||
background-color: #bbb; | |||
} | |||
.template-button a { | |||
color: black !important; | |||
font-weight: 500; | |||
} | |||
.template-button a:hover { | |||
text-decoration: none !important; | |||
} | } | ||
</nowiki> | </nowiki> | ||
</htmltag> | </htmltag> | ||
</includeonly> | </includeonly> |
Aktuelle Version vom 15. Oktober 2018, 11:33 Uhr
Verwendung:
Erzeugt einen Button.
{{Button|Button-Beschriftung|Verweis zu Artikel durch Angabe des Namens}}