Template:HorseBadge: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly><span class="horse-alert-badge"> 32px|frameless|alt=Horse Alert {{{1}}} </span>{{#css: .horse-alert-badge { display: inline-block; border-radius: 4px; border: 1px solid #bbb; padding: 2px 8px; box-shadow: inset 4px -4px 8px #000a, 0px 2px 4px #0008; } }} </span></includeonly><noinclude> <code><nowiki>{{HorseBadge|you have alerted the horse}}</nowiki></code> → {{HorseBadge|you have alerted the horse}} </noinclude>" |
HorseBadge v2.1.2016 release notes: HorseBadge now supports an optional argument which is used for the image link |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span class="horse-alert-badge"> | <includeonly><span class="horse-alert-badge"> | ||
[[File:Horse Alert.webp|32px|frameless|alt=Horse Alert]] {{{1}}} | [[File:Horse Alert.webp|32px|frameless|alt=Horse Alert|link={{{2|Horse}}}]] {{{1}}} | ||
</span>{{#css: | </span>{{#css: | ||
.horse-alert-badge { | .horse-alert-badge { | ||
| Line 9: | Line 9: | ||
box-shadow: inset 4px -4px 8px #000a, 0px 2px 4px #0008; | box-shadow: inset 4px -4px 8px #000a, 0px 2px 4px #0008; | ||
} | } | ||
}} | }}</includeonly><noinclude> | ||
<code><nowiki>{{HorseBadge|you have alerted the horse}}</nowiki></code> → {{HorseBadge|you have alerted the horse}}<br/> | |||
<code><nowiki>{{HorseBadge|you have alerted the horse}}</nowiki></code> → {{HorseBadge|you have alerted the horse}} | <code><nowiki>{{HorseBadge|this horse has a link|Divorce}}</nowiki></code> → {{HorseBadge|this horse has a link|Divorce}} | ||
</noinclude> | </noinclude> | ||