Diferencia entre las páginas «Plantilla:Metaplantilla de avisos» y «Plantilla:Lang»

De El Museo de los 8 Bits
(Diferencia entre las páginas)
Ir a la navegación Ir a la búsqueda
m (1 revisión importada)
 
m (1 revisión importada)
 
Línea 1: Línea 1:
<table style="{{{estilo|}}}" class="noprint plainlinks ambox {{#switch:{{{tipo|}}}
<includeonly>{{#if:{{{1|}}}|<!--
  | protección = ambox-protection
  --><span class="url"><!--
  | serio      = ambox-serious
  -->{{#ifeq:{{#titleparts:{{lc:x{{{1|}}}}}|1|1}}|{{lc:x{{{1|}}}}}|<!-- work-around when titleparts doesn't accept the URL and returns the full string without a capital: don't attempt to transform the displayed URL
  | contenido  = ambox-content
      -->[{{#if:1|{{{1|}}}}} {{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}|{{#if:1|{{{1|}}}}}}}]<!-- These "#if:1" pseudo-tests (always true) allow trimming leading spaces in their text parameter
  | estilo    = ambox-style
  -->|<!--
  | fusionar  = ambox-merge
      -->{{#switch:{{lc:{{#titleparts:{{{1|}}}|2}}}}
  | desarrollo = ambox-growth
        |https:/
  | aviso
        |http:/
  | #default  = ambox-notice
        |ftp:/=<!-- Matches https:/ or http:/ or ftp:/
}} {{{clase|}}}">
        -->[{{#if:1|{{{1|}}}}} <!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}
<tr>
        -->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
<td class="ambox-image">
            -->{{lc:<!-- domain name in lowercase
{{#ifeq:{{{imagen}}}|ninguna
              -->{{#titleparts:{{{1|}}}|1|3}}<!--
  | <!-- no hay celda con imagen; celda vacía necesaria para que la celda de texto tenga anchura 100% -->
            -->}}<!--
  | <div style="width:50px;"> {{#switch:{{{imagen|{{{tipo|}}}}}}
            -->{{#if:{{#titleparts:{{{1|}}}||4}}<!-- rest of the path
    |protección = [[Archivo:Commons-emblem-padlock.svg|40px|link=|alt=]]
            -->|/{{#titleparts:{{{1|}}}||4}}<!--
    |serio      = [[Archivo:Commons-emblem-hand.svg|40px|link=|alt=]]
            -->}}<!--
    |contenido  = [[Archivo:Commons-emblem-issue.svg|40px|link=|alt=]]
        -->}}<!--
    |estilo    = [[Archivo:Commons-emblem-copyedit.svg|40px|link=|alt=]]
        -->]<!--
    |fusionar  = [[Archivo:Commons-emblem-merge.svg|40px|link=|alt=]]
      -->|#default=<!-- Not https:/ or http:/ or ftp:/
    |desarrollo = [[Archivo:Commons-emblem-success.svg|40px|link=|alt=]]
        -->[http://{{#if:1|{{{1|}}}}} <!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}
    |aviso      = [[Archivo:Commons-emblem-notice.svg|40px|link=|alt=]]
        -->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
    |vacío      = [[Archivo:No image.svg|link=|alt=]]
            -->{{lc:<!-- domain name in lowercase
    | #default  = {{{imagen|[[Archivo:Commons-emblem-notice.svg|40px|link=|alt=]]}}}
              -->{{#titleparts:{{{1|}}}|1|1}}<!--
  }}</div>
            -->}}<!--
}}</td>
            -->{{#if:{{#titleparts:{{{1|}}}||2}}<!-- rest of the path
<td class="ambox-text">{{{texto|{{{1|No has escrito ningún aviso}}}}}}</td>
            -->|/{{#titleparts:{{{1|}}}||2}}<!--
{{#if:{{{imagen derecha|}}}|
            -->}}<!--
  <td class="ambox-imageright"><div style="width:50px;">{{{imagen derecha}}}</div></td>
        -->}}<!--
}}
        -->]<!--
</tr>
      -->}}<!--
</table><noinclude>
  -->}}<!--
 
  --></span><!--
{{Documentación}}</noinclude>
-->|<!--
  -->{{#if:{{{2|}}}|{{{2|}}}|<!--
      --><code><nowiki>{{</nowiki>[[Plantilla:URL|URL]]&#124;''ejemplo.com''&#124;''texto opcional''<nowiki>}}</nowiki></code><!--
  -->}}<!--
-->}}</includeonly><noinclude>{{documentación}}</noinclude>

Revisión actual - 01:19 18 oct 2021

Documentación de plantilla [crear]