Diferencia entre revisiones de «Plantilla:Tag»

De WikiEducator
Saltar a: navegación, buscar
Línea 1: Línea 1:
 
+
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
 
+
|c|close  = <!--nothing-->
<includeonly>
+
|s|single
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
+
|o|open
[[Category:Programming typing-aid templates|{{PAGENAME}}]]
+
|p|pair  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
[[Category:Wikipedia XHTML tag replacing templates|*]]
+
}}{{#switch:{{{2|pair}}}
 
+
|c|close  = {{{content|}}}
</includeonly>
+
|s|single = &#32;&#47;&gt;
 +
|o|open  = &gt;{{{content|}}}
 +
|p|pair  = &gt;{{{content|...}}}
 +
}}{{#switch:{{{2|pair}}}
 +
|s|single
 +
|o|open  = <!--nothing-->
 +
|c|close
 +
|p|pair  = &lt;&#47;{{{1|tag}}}&gt;
 +
}}</code><noinclude>
 +
{{documentation}}
 +
</noinclude>

Revisión de 17:45 14 sep 2025

<tag>...</tag>

[edit]

Documentation

{{#switch: pair

|pair = <{{{1}}}{{#if:| {{{params}}}}>...</{{{1}}}>
|open = <{{{1}}}{{#if:| {{{params}}}}>
|close = </{{{1}}}>
|single = <{{{1}}}{{#if:| {{{params}}}} />
|#default = <{{{1}}}