Difference between revisions of "Template:Badge"

From WPRDC Wiki
Jump to navigation Jump to search
>AKlapper (WMF)
m (11 revisions imported from meta:Template:Badge: See phab:T231001)
>Tacsipacsi
(Please import more carefully. The new version completely broke {{Shortcut}}, for example.)
Line 1: Line 1:
<includeonly><span style="border-radius: 3px; border: 1px solid #CCC; color: inherit; padding: .2em; font-weight:bold; font-size:80%; text-decoration:none; background-color:{{#switch:{{{1|}}}|1=#FFC|2=#FCC|3=#FCF|4=#CCF|5=#CFF|6=#CFC|0=transparent}}">{{{2}}}</span></includeonly><noinclude>
<div style="{{#switch: {{{align|}}}
===Example===
| right= float: right; clear: right; margin: 0 0 0.5em 0.5em;
{| class="wikitable"
| left= float: left; clear: left; margin: 0 0 0.5em 0.5em;
|-
| middle
! code !! output
| center= margin: 0.5em auto;
|-
}} background-color: {{{bg-color|#E7EFF5}}}; {{{border|border: 1px solid #A1CEF5}}}; padding: 5px 8px; {{border-radius|10px}} {{{style|}}}; text-align: center;">{{{content}}}</div><noinclude>
||<tt><nowiki>{{badge|1|Hello}}</nowiki></tt>||{{badge|1|Hello}}
{{TNT|Documentation}}
|-
||<tt><nowiki>{{badge|2|Hello}}</nowiki></tt>||{{badge|2|Hello}}
|-
||<tt><nowiki>{{badge|3|Hello}}</nowiki></tt>||{{badge|3|Hello}}
|-
||<tt><nowiki>{{badge|4|Hello}}</nowiki></tt>||{{badge|4|Hello}}
|-
||<tt><nowiki>{{badge|5|Hello}}</nowiki></tt>||{{badge|5|Hello}}
|-
||<tt><nowiki>{{badge|6|Hello}}</nowiki></tt>||{{badge|6|Hello}}
|-
||<tt><nowiki>{{badge|0|Hello}}</nowiki></tt>||{{badge|0|Hello}}
|-
|}
[[Category:Research templates]]
</noinclude>
</noinclude>

Revision as of 14:40, 2 September 2019

{{{content}}}

Template:TNT