Diferencia entre revisiones de «Plantilla:AP»
Contenido eliminado Contenido añadido
mSin resumen de edición |
Si se usa sin parámetros en el espacio principal dará error. Si se coloca una categoría como artículo principal de otra, no la mostrará. Y si solo se pone una categoría como AP en dicho espacio de nombres, dará error. |
||
Línea 1:
<div class="noprint AP" style="margin:0 0 0.2ex 1em"><span style="font-size:87%">
{{#ifeq: {{NAMESPACE}} | {{ns:14}}
| ''{{#if: {{{2|}}} | Los artículos principales de esta categoría son | El artículo principal de esta categoría es }}:''</span><!--
-->{{#ifeq: {{NAMESPACE:{{{1}}}}} | {{ns:14}} | {{#if:{{{2|}}}|| ''(<span class="error" style="font-size:90%">especifique al menos un artículo principal</span>)''}} | [[{{{1|{{PAGENAME}}}}} | {{ucfirst:{{{l1|{{{1|{{PAGENAME}}}}}}}}}}]] }}<!--
-->{{#
-->{{#ifeq: {{NAMESPACE:{{{3}}}}} | {{ns:14}} | | {{#if: {{{3|}}} | {{#if:{{{4|}}}|
-->{{#ifeq: {{NAMESPACE:{{{4}}}}} | {{ns:14}} | | {{#if: {{{4|}}} | {{#if:{{{5|}}}|
-->
-->{{#if:{{{6|}}} |  ''(<span class="error" style="font-size:90%">demasiados parámetros en {{[[Plantilla:AP|AP]]}}</span>)''
[[Categoría:Wikipedia:Plantilla AP con demasiados parámetros]]
}}
| ''{{#if: {{{2|}}}
| <!--
Línea 21 ⟶ 35:
| Categorías y artículos principales
| {{#ifeq: {{NAMESPACE:{{{5}}}}} | {{ns:14}} | Categoría y artículos principales | Artículos principales }}
}} }} }} }}:''</span><!--
--> | {{#ifeq: {{NAMESPACE:{{{1|}}}}} | {{ns:14}} | Categoría principal | Artículo principal }}:''</span>
-->{{#ifeq: {{NAMESPACE}} | {{ns:14}} |<!-- Anula todo lo siguiente si está en el espacio Plantilla -->
| {{#ifeq: {{{1|{{PAGENAME}}}}} | {{FULLPAGENAME}} |  ''(<span class="error" style="font-size:90%">especifique al menos un artículo principal</span>)''
-->{{#if: {{{2|}}} | {{#if:{{{3|}}}|, | {{y-e|{{{2}}}|sin texto}} }}[[:{{{2}}} | {{#ifeq: {{NAMESPACE:{{{2}}}}} | {{ns:14}} | {{PAGENAME:{{{2}}}}} | {{ucfirst:{{{l2|{{{2}}}}}}}} }}]] }}<!--
-->{{#if: {{{3|}}} | {{#if:{{{4|}}}|, | {{y-e|{{{3}}}|sin texto}} }}[[:{{{3}}} | {{#ifeq: {{NAMESPACE:{{{3}}}}} | {{ns:14}} | {{PAGENAME:{{{3}}}}} | {{ucfirst:{{{l3|{{{3}}}}}}}} }}]] }}<!--
-->{{#if: {{{4|}}} | {{#if:{{{5|}}}|, | {{y-e|{{{4}}}|sin texto}} }}[[:{{{4}}} | {{#ifeq: {{NAMESPACE:{{{4}}}}} | {{ns:14}} | {{PAGENAME:{{{4}}}}} | {{ucfirst:{{{l4|{{{4}}}}}}}} }}]] }}<!--
-->{{#if: {{{5|}}} |  {{y-e|{{{5}}}|sin
▲}} }}</span><!--
▲-->[[:{{{1|{{PAGENAME}}}}} | {{#ifeq: {{NAMESPACE:{{{1|}}}}} | {{ns:14}} | {{PAGENAME:{{{1}}}}} | {{{l1|{{{1|{{PAGENAME}}}}}}}} }}]]<!--
▲-->{{#if: {{{2|}}} | {{#if:{{{3|}}}|, | {{y-e|{{{2}}}|sin texto}} }}[[:{{{2}}} | {{#ifeq: {{NAMESPACE:{{{2}}}}} | {{ns:14}} | {{PAGENAME:{{{2}}}}} | {{{l2|{{{2}}}}}} }}]] }}<!--
▲-->{{#if: {{{3|}}} | {{#if:{{{4|}}}|, | {{y-e|{{{3}}}|sin texto}} }}[[:{{{3}}} | {{#ifeq: {{NAMESPACE:{{{3}}}}} | {{ns:14}} | {{PAGENAME:{{{3}}}}} | {{{l3|{{{3}}}}}} }}]] }}<!--
▲-->{{#if: {{{4|}}} | {{#if:{{{5|}}}|, | {{y-e|{{{4}}}|sin texto}} }}[[:{{{4}}} | {{#ifeq: {{NAMESPACE:{{{4}}}}} | {{ns:14}} | {{PAGENAME:{{{4}}}}} | {{{l4|{{{4}}}}}} }}]] }}<!--
▲-->{{#if: {{{5|}}} |  {{y-e|{{{5}}}|sin texto}}[[:{{{5}}} | {{#ifeq: {{NAMESPACE:{{{5}}}}} | {{ns:14}} | {{PAGENAME:{{{5}}}}} | {{{l5|{{{5}}}}}} }}]] }}<!--
-->{{#if:{{{6|}}} |   ''(<span class="error" style="font-size:90%">demasiados parámetros en {{[[Plantilla:AP|AP]]}}</span>)''
[[Categoría:Wikipedia:Plantilla AP con demasiados parámetros]]
}} }} }}</div><noinclude>{{documentación}}
<!-- No mover a la documentación -->
[[Categoría:Wikipedia:Excluir al imprimir]]
|