Jump to content

Template:Tag: Difference between revisions

From p1gwars
Created page with "<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- Opening tag -->{{#switch:{{{2|pair}}} |c|close = |e|empty|s|single|v|void |o|open |p|pair = <{{#if:{{{link|}}}|tag}}}|{{{1|tag}}}|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}} }}<!-- Content between tags -->{{#switch:{{{2|pair}}} |c|close = {{{content|}}} |..."
 
Fix `|style=plain` in dark mode. See Template:Tag/testcases#Plain style
Line 1: Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;color:inherit;|{{{style|}}}}}"><!--
  Opening tag
  Opening tag
-->{{#switch:{{{2|pair}}}
-->{{#switch:{{{2|pair}}}

Revision as of 04:03, 17 March 2026

<tag>...</tag>

Template documentation