Difference between revisions of "Template:Badge"
no edit summary
>ExE Boss |
>Krinkle |
||
Line 1: | Line 1: | ||
<!-- The outer <div class="mw-parser-output"> is necessary because the <indicator> tag | <!-- The outer <div class="mw-parser-output"> is necessary because the <indicator> tag | ||
-- doesn't currently include class="mw-parser-output" (see T188443) --> | -- doesn't currently include class="mw-parser-output" (see T188443) --> | ||
<onlyinclude><div class="mw-parser-output"><templatestyles src="Template:Badge/styles.css"/><div class="tpl-badge" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{content}}}</div></div></onlyinclude> | <onlyinclude><div class="mw-parser-output"><templatestyles src="Template:Badge/styles.css"/><div class="tpl-badge{{#if:{{{class|}}}| {{{class}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{content}}}</div></div></onlyinclude> | ||
{{Documentation}} | {{Documentation}} |