Vorlage:Button: Unterschied zwischen den Versionen

Aus TUEpedia
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(11 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>
<noinclude>
<htmltag tagname="a" class="template-button" href="{{{2}}}">{{{1}}}</htmltag>
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>
a.template-button {
.template-button {
     display: inline-block;
     display: inline-block;
     padding: 8px 16px;
     padding: 8px 16px;
     background-color: #ddd;
     background-color: #ccc;
    font-weight: 500;
     text-align: center;
     text-align: center;
     cursor: pointer;
     cursor: pointer;
     float: right;
     float: right;
     margin: 0 16px 16px 0;
     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}}