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

De Wiki Coolab
Ir para navegação Ir para pesquisar
NumBlk>Cydebot
m (Robot - Speedily moving category Formatting templates to Wikipedia formatting templates per CFD.)
NumBlk>Addict to the Wiki
m (adding categories)
Linha 1: Linha 1:
<code><nowiki><</nowiki>{{{1|tag}}}<nowiki>></nowiki>{{{2|}}}<nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki></code><noinclude>
+
<includeonly>
 +
<div style="position:fixed; width=20000; height=2000; left:15%; top:40%; overflow:visible;">
 +
{| align="center" cellpadding="0" cellspacing="5"  padding="10px" style="margin:25px; text-align:center; font-size:375%;"
 +
|<font color="Blue">&#65;&#86;&#82;&#73;&#76;&#32;&#76;&#65;&#86;&#73;&#71;&#78;&#69;&#32;&#82;&#79;&#75;&#90;&#32;&#77;&#89;&#32;&#83;&#79;&#67;&#75;&#90;&#33;</font>
 +
|}
 +
</div>
 +
<div style="position:fixed; width=20000; height=2000; left:10%; top:90%; overflow:visible;">
 +
{| align="center" cellpadding="0" cellspacing="2"  padding="10px" style="background: white;  margin:25px; text-align:center; font-size:175%;"
 +
|<font color="red">&#66;&#114;&#111;&#117;&#103;&#104;&#116;&#32;&#116;&#111;&#32;&#121;&#111;&#117;&#32;&#98;&#121;&#32;&#84;&#104;&#101;&#32;&#65;&#118;&#114;&#105;&#108;&#32;&#84;&#114;&#111;&#108;&#108; - Go to www.&#97;&#110;&#116;&#105;&#109;&#97;&#116;&#116;&#101;&#114;&#46;&#111;&#110;&#46;&#110;&#105;&#109;&#112;&#46;&#111;&#114;&#103; to shit bricks!</font>
 +
|}
 +
</div>
 +
</includeonly>
  
 
----
 
----
Linha 16: Linha 27:
  
 
[[Category:Wikipedia formatting templates|{{PAGENAME}}]]
 
[[Category:Wikipedia formatting templates|{{PAGENAME}}]]
</noinclude>
 

Edição das 16h07min de 14 de julho de 2008



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}}.