Difference between revisions of "Template:Tag"
add syntaxhighlight class
>Pppery (Undid revision 3905257 by 2600:1702:1350:87D0:5491:691B:8A51:8E1C (talk)) |
>Shirayuki (add syntaxhighlight class) |
||
Line 5: | Line 5: | ||
|s|single | |s|single | ||
|o|open | |o|open | ||
|p|pair = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} | |p|pair = <{{#tag:span|{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}|class="nt"}} | ||
}}{{#switch:{{{2|pair}}} | }}{{#switch:{{{2|pair}}} | ||
|c|close = {{{content|}}} | |c|close = {{{content|}}} | ||
Line 15: | Line 15: | ||
|o|open = <!--nothing--> | |o|open = <!--nothing--> | ||
|c|close | |c|close | ||
|p|pair = </{{{1|tag}}}> | |p|pair = </{{#tag:span|{{{1|tag}}}|class="nt"}}> | ||
}}{{#if:{{{plain|}}}| | }}{{#if:{{{plain|}}}| | ||
|</code> | |</code> | ||
Line 21: | Line 21: | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
{{#tag:span|hoge|class="nt"}} |