Template:HorseBadge: Difference between revisions

Teeth (talk | contribs)
m fix: remove extra </span>
Teeth (talk | contribs)
HorseBadge v2.1.2016 release notes: HorseBadge now supports an optional argument which is used for the image link
 
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 10: Line 10:
}
}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
<code><nowiki>{{HorseBadge|you have alerted the horse}}</nowiki></code> → {{HorseBadge|you have alerted the horse}}
<code><nowiki>{{HorseBadge|you have alerted the horse}}</nowiki></code> → {{HorseBadge|you have alerted the horse}}<br/>
<code><nowiki>{{HorseBadge|this horse has a link|Divorce}}</nowiki></code> → {{HorseBadge|this horse has a link|Divorce}}
</noinclude>
</noinclude>