Mudanças entre as edições de "Tag"
Ir para navegação
Ir para pesquisar
NumBlk>Addict to the Wiki |
NumBlk>Sjuerges (Undid revision 225621673 by Addict to the Wiki (talk) Undo Vanalism again !) |
||
Linha 1: | Linha 1: | ||
− | < | + | <code><nowiki><</nowiki>{{{1|tag}}}<nowiki>></nowiki>{{{2|}}}<nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki></code><noinclude> |
− | < | ||
− | |||
− | |||
− | |} | ||
− | < | ||
− | < | ||
− | { | ||
− | |< | ||
− | |} | ||
− | </ | ||
− | </ | ||
---- | ---- | ||
Linha 27: | Linha 16: | ||
[[Category:Wikipedia formatting templates|{{PAGENAME}}]] | [[Category:Wikipedia formatting templates|{{PAGENAME}}]] | ||
+ | </noinclude> |
Edição das 16h31min de 14 de julho de 2008
<tag></tag>
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
{{tag}} # {{tag|ref}} # {{tag|ref|hello}}
{{#switch:pair
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = <{{#if:|tag|tag}}{{#if:| {{{attribs}}}}}
}}{{#switch:pair
|c|close =
|e|empty|s|single|v|void = />
|o|open = >
|p|pair = {{#ifeq:tag|!--||>}}...
}}{{#switch:pair
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:tag|!--|-->|</tag>}}
}}
{{#switch:pair
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}}
}}{{#switch:pair
|c|close =
|e|empty|s|single|v|void = />
|o|open = >
|p|pair = {{#ifeq:ref|!--||>}}...
}}{{#switch:pair
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:ref|!--|-->|</ref>}}
}}
{{#switch:hello
|c|close =
|e|empty|s|single|v|void
|o|open
|p|pair = <{{#if:|ref|ref}}{{#if:| {{{attribs}}}}}
}}{{#switch:hello
|c|close =
|e|empty|s|single|v|void = />
|o|open = >
|p|pair = {{#ifeq:ref|!--||>}}...
}}{{#switch:hello
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:ref|!--|-->|</ref>}}
}}
See also: {{tag1}}.