Difference between revisions of "Template:Badge"

Jump to navigation Jump to search
80 bytes added ,  23:42, 30 August 2021
no edit summary
>Krinkle
>Krinkle
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="{{#switch: {{{align|{{{type|}}}}}}
<!-- The outer <div class="mw-parser-output"> is necessary because the <indicator> tag
| right
  -- doesn't currently include class="mw-parser-output" (see T188443) -->
| left
<onlyinclude><div class="mw-parser-output"><templatestyles src="Template:Badge/styles.css"/><div class="tpl-badge {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{content}}}</div></div></onlyinclude>
| small= display: inline-block;
{{Documentation}}
| middle
| center= margin: 0.5em auto;
}} background-color: #eaf3ff; padding: 5px 8px; border-radius: 10px; text-align: center; {{{style|}}}">{{{content}}}</div><noinclude>
{{TNT|Documentation}}
</noinclude>
Anonymous user

Navigation menu