Vorlage:Button: Unterschied zwischen den Versionen

Aus TUEpedia
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<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>
<includeonly><div class="template-button>[[{{{2}}}|{{{1}}}]]</div>
<htmltag tagname="style">
<htmltag tagname="style">
Zeile 6: Zeile 17:
     padding: 8px 16px;
     padding: 8px 16px;
     background-color: #ccc;
     background-color: #ccc;
    font-weight: 500;
     text-align: center;
     text-align: center;
     cursor: pointer;
     cursor: pointer;
     float: right;
     float: right;
    margin-left: 16px;
}
}
.template-button:hover {
.template-button:hover {
Zeile 16: Zeile 27:
.template-button:active {
.template-button:active {
     background-color: #bbb;
     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}}