Diferencia entre revisiones de «Plantilla:Tag»

De WikiEducator
Saltar a: navegación, buscar
 
Línea 1: Línea 1:
<noinclude>{{Documentation}}</noinclude>
+
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
{{#switch: {{{2|pair}}}
+
  |c|close  = <!--nothing-->
  |pair = &lt;{{{1}}}{{#if:{{{params|}}}| {{{params}}}}&gt;{{{content|...}}}&lt;/{{{1}}}&gt;
+
|s|single
|open = &lt;{{{1}}}{{#if:{{{params|}}}| {{{params}}}}&gt;{{{content|}}}
+
|o|open
  |close = {{{content|}}}&lt;/{{{1}}}&gt;
+
|p|pair   = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
  |single = &lt;{{{1}}}{{#if:{{{params|}}}| {{{params}}}} /&gt;
+
}}{{#switch:{{{2|pair}}}
  |#default = &lt;{{{1}}}{{#if:{{{params|}}}| {{{params}}}}&gt;{{{content|...}}}&lt;/{{{1}}}&gt;
+
|c|close  = {{{content|}}}
}}
+
|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>

Última revisión de 18:02 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}}}