Difference between revisions of "Template:Badge"

From WPRDC Wiki
Jump to navigation Jump to search
>Krinkle
(Created page with "<div style="{{#switch: {{{align|}}} | right= float: right; clear: right; margin: 0 0 0.5em 0.5em; | left= float: left; clear: left; margin: 0 0 0.5em 0.5em; | middle | cen...")
 
>Krinkle
 
(21 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<div style="{{#switch: {{{align|}}}
<!-- The outer <div class="mw-parser-output"> is necessary because the <indicator> tag
| right= float: right; clear: right; margin: 0 0 0.5em 0.5em;
  -- doesn't currently include class="mw-parser-output" (see T188443) -->
| left= float: left; clear: left; margin: 0 0 0.5em 0.5em;
<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>
| middle
{{Documentation}}
| center= margin: 0.5em auto;
}} background-color: {{{color|#ccff99}}}; padding: 5px 8px; {{border-radius|10px}} font-size: 85%; text-align: center;">{{{content}}}</div>

Latest revision as of 23:42, 30 August 2021

{{{content}}}

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.