Difference between revisions of "Template:Badge"

From WPRDC Wiki
Jump to navigation Jump to search
>Krinkle
(Only used by Template:Ptag. Use its style as the default and reduce config options. It's a simple thing. If another template needs something else, it should create its own rather than needlessly inherit from here.)
>Krinkle
 
(8 intermediate revisions by 4 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: #eaf3ff; padding: 5px 8px; border-radius: 10px; text-align: center; {{{style|}}}">{{{content}}}</div><noinclude>
{{TNT|Documentation}}
</noinclude>

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.