Mudanças entre as edições de "Tag"

De Wiki Coolab
Ir para navegação Ir para pesquisar
NumBlk>Alfakim
 
NumBlk>Alfakim
Linha 3: Linha 3:
 
----
 
----
  
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.</noinclude>
+
This template simply provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.
 +
 
 +
<pre># {{tag|ref}}
 +
# {{tag|ref|hello}}</pre>
 +
 
 +
# {{tag|ref}}
 +
# {{tag|ref|hello}}
 +
 
 +
</noinclude>

Edição das 11h44min de 2 de outubro de 2006

<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|ref}}
# {{tag|ref|hello}}

{{#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>}} }}