Esta plantilla es similar a {{ WikiProject banner shell }} en el sentido de que puede utilizarse para agregar una o más plantillas de categorías de redireccionamiento ( rcat ) apropiadas, junto con sus parámetros, a las redirecciones. Además, esta plantilla detecta, describe, categoriza y cambia automáticamente los niveles de protección cuando corresponde. Una tercera función importante es ayudar a los editores a aprender más sobre la categorización de redireccionamientos mediante el uso de la ordenación múltiple . Para obtener más información, consulte la página siguiente y el índice principal de rcat .
Al igual que la plantilla Esta es una plantilla de redireccionamiento, esta plantilla se basa en una propuesta para estandarizar las plantillas de redireccionamiento (rcats). Su propósito básico es simplificar el proceso de etiquetado y categorización de redireccionamientos.
Al igual que la plantilla Esta es una plantilla de redireccionamiento , esta plantilla de shell también puede ayudar a los nuevos colaboradores a aprender el sistema de categorías de redireccionamiento. Los detalles de esta parte del propósito de esta plantilla de shell se pueden encontrar en la sección Cuando se usa sola a continuación.
Esta plantilla detecta automáticamente los niveles de protección mediante el uso de {{ pp-protected }} y {{ pp-move }} . Cuando se aplica protección contra edición o protección contra movimiento (o ambas) a una redirección que se ha etiquetado con esta plantilla, el nivel de protección se detecta automáticamente y la redirección se etiquetará con un rcat de protección y se ordenará en las categorías relacionadas con la protección correspondientes. Cuando se modifica o elimina la protección, las categorías y rcat relacionadas con la protección también se cambiarán o eliminarán (automáticamente) de la redirección.
Esta plantilla puede categorizar y mostrar el texto (con parámetros) de cualquier cantidad de rcats que se necesiten (normalmente de uno a siete).
[Nota 1 de Mbox] [Nota 1 de imprenta]
Si se utiliza por sí sola sin parámetros, por ejemplo, {{Redirect category shell}}
(y su alias {{Rcat shell}}
), la plantilla aparecerá como aparece en la parte superior de esta página y la redirección completará Category:Miscellaneous redirects . Esa categoría también se completará si el primer parámetro se deja vacío mientras que rcats ocupa el segundo parámetro. Esto es útil cuando un editor agrega rcats y, sin embargo, no está seguro de que pueda haber al menos otro rcat con categoría que pueda usarse para etiquetar la redirección. Los monitores de la categoría Miscellaneous redirects ayudarán a decidir si se necesitan otros rcat. Luego, el primer parámetro vacío se puede excluir eliminando la primera o la segunda barra vertical. Eso eliminará la redirección de Category:Miscellaneous redirects . Consulte a continuación para obtener más información.
Esta plantilla puede contener cualquier cantidad de plantillas de categorías de redireccionamiento ( rcat ), generalmente de una a siete. Las opciones para los editores se enumeran en Wikipedia:Índice de plantillas/Páginas de redireccionamiento tanto en orden alfabético como por función. Cualquiera de esas rcat se puede usar con su nombre de plantilla completo, por ejemplo, R de lenguaje alternativo , o con un alias (redireccionamiento de acceso directo), que se puede encontrar en la documentación de cada rcat .
|1=
Se ha introducido un parámetro sin nombre, , en esta plantilla y funciona de la siguiente manera:
{{ Shell de categoría de redireccionamiento | 1 = {{ rcat 1 }} {{ rcat 2 }} {{ rcat 3 }} {{ rcat N }} }}
1=
omitirse:{{ Shell de categoría de redireccionamiento | {{ rcat 1 }} {{ rcat 2 }} {{ rcat 3 }} {{ rcat N }} }}
Al igual que con todas las plantillas que tienen parámetros sin nombre (numerados), se pueden omitir los números y los signos iguales.
"N" representa la mayor cantidad de rcats que se pueden usar en esta plantilla y, en este punto, el único límite sería cualquier límite de marcado wiki que pueda existir. Por lo general, basta con entre uno y siete rcats; sin embargo, se pueden usar más rcats si es necesario.
La secuencia real de rcats se deja en manos de los editores: no hay prioridad en cuanto a qué rcat debería ser el "primero" y cuáles deberían "seguir" en un orden particular.
|2=
También se ha introducido un segundo parámetro sin nombre, , que proporciona a esta plantilla la misma función de "ayuda" que se utiliza en la plantilla Esta es una redirección . Si el primer parámetro se deja "vacío", se completarán las redirecciones de Categoría:Misceláneas :
{{ Shell de categoría de redireccionamiento | 1 = | 2 = {{ rcat 1 }} {{ rcat 2 }} {{ rcat N }} }}
{{ Shell de categoría de redireccionamiento || {{ rcat 1 }} {{ rcat 2 }} {{ rcat N }} }}
Tenga en cuenta la barra vertical doble después de la palabra "shell" que aparece arriba, lo que indica que el primer parámetro está vacío. Los editores que supervisan la categoría de redirecciones varias accederán a la redirección y comprobarán, añadirán o eliminarán rcats según sea necesario.
Además, cuando se utiliza por sí sola, esta plantilla aparecerá como lo hace en la parte superior de esta página y completará la categoría de redirecciones varias :
{{ Redirigir categoría shell }}
Esta plantilla se puede agregar a una página de redireccionamiento de la siguiente manera:
#REDIRECT [[ (nombre de la página de destino) ]] {{ Redirigir categoría shell || {{ R del nombre corto }} {{ R no apto para imprimir }} }}
#REDIRECT [[ (nombre de la página de destino) ]] {{ Redirigir categoría shell ||{{ R del nombre corto }}{{ R no apto para imprimir }}}}
Generalmente, para una buena legibilidad en la pantalla de edición, esta plantilla se coloca comenzando en la tercera línea de esa pantalla de la siguiente manera:
Línea 1: #REDIRECT [[ (nombre de la página de destino) ]]
Línea 2: (deje esta línea en blanco para enfatizar y facilitar la lectura por parte de los editores)
Línea 3: {{ Redirigir categoría shell |{{ R desde movimiento }}{{ R a sección }}{{ R printworthy }}}}
Además de los parámetros |1=
y sin nombre |2=
, existe un parámetro "hatnote", |h=
que proporciona una nota TOP en cursiva cuando es necesario. Por ejemplo:
{{ Redirect category shell | h = Este código no ha sido confirmado como un código de aeropuerto de la [[ Asociación Internacional de Transporte Aéreo | IATA ]] . | {{ R from aeropuerto code }} }}
...utiliza el rcat {{ R del código del aeropuerto }} y produce:
|h=
parámetro. Si se omite este símbolo, se verán resultados muy inusuales cuando se obtenga una vista previa de la edición o se guarde. Asegúrese de incluir ese símbolo de barra vertical al final del texto si el |h=
parámetro se utiliza para formar una nota de sombrero.Además de la capacidad de esta plantilla de actuar como plantilla de shell para rcats, acepta todos los parámetros que acepta rcats. Los parámetros de rcat, cuando sean necesarios, funcionarán en esta plantilla de la siguiente manera:
{{ Redirigir categoría shell | {{ R del plural | printworthy }} }}
Esto reduce la categoría de redirecciones que no son aptas para imprimir , a la que {{ R del plural }} se aplica de forma predeterminada, y en su lugar llena la categoría de redirecciones aptas para imprimir . La posición que ocupa un rcat no tendrá ningún efecto sobre los parámetros de otros rcat que se utilicen para etiquetar una redirección:
{{ Redirigir categoría shell | {{ R de movimiento }} {{ R de modificación }} {{ R de nombre alternativo }} {{ R de idioma alternativo | en | es }} {{ R por conveniencia }} {{ R de plural | digno de imprimir }} {{ R digno de imprimir }} }}
En el ejemplo anterior, {{ R from plural }} es el sexto rcat, y su primer parámetro se utiliza para cambiar de "no apto para imprimir" a "apto para imprimir". {{ R from alternative language }} ) ocupa la cuarta posición, y su primer parámetro se utiliza para albergar el código de idioma ISO 639 del idioma de origen, en este caso para inglés . Su segundo parámetro alberga el código de idioma de la página de destino, en este caso para el idioma español . No importa si la posición relativa de estos rcats cambia por cualquier motivo, sus parámetros individuales seguirán siendo efectivos. en
es
Si se utilizan más parámetros rcat, funcionan de la misma manera. Por ejemplo, si existe una redirección que es un error ortográfico en un título, se puede etiquetar con {{ R from misspelling }} de la siguiente manera:
{{ Redirigir categoría shell | {{ R de error ortográfico | (corregir la ortografía si es necesario) | printworthy }} {{ R printworthy }} }}
En este caso, el |1=
parámetro de rcat es la ortografía correcta (se usa solo si el destino de la redirección no tiene la ortografía correcta). El |2=
parámetro de rcat se puede usar para cambiar la categorización predeterminada "no apta para imprimir". Algunos errores ortográficos pueden ser útiles en una versión impresa de Wikipedia , por lo que el segundo parámetro en R de la ortografía incorrecta anterior se usa para atenuar su clasificación de categoría predeterminada "no apta para imprimir", y la redirección completará las redirecciones Category:Printworthy en su lugar. En esta plantilla de shell, el orden de los rcats no afectará los parámetros de los rcats. Si un editor verifica el historial de la página y descubre que la redirección anterior también es el resultado de un movimiento de página e inserta {{ R from move }} en la parte superior del orden:
{{ Redirigir categoría shell | {{ R de mover }} {{ R de error ortográfico | (ortografía correcta) | digno de imprimir }} {{ R digno de imprimir }} }}
...los parámetros de la plantilla R de error ortográfico rcat no se verán afectados, como puede suceder cuando se usan en Esta es una plantilla de redireccionamiento.
Se puede encontrar un ejemplo de un "error ortográfico digno de imprimirse" en la plantilla {{ R from misspelling }} .
Otro ejemplo:
{{ Redirigir categoría shell | {{ R desde lenguaje alternativo | ja | es }} {{ R no apto para imprimir }} }}
El código anterior ordenará la redirección en tres categorías:
|1=ja
),|2=es
) yConsulta las listas de códigos ISO 639-1 e ISO 639-2 para conocer los códigos de idioma de dos y tres letras que se pueden utilizar de esta manera. Consulta también Wikipedia:Mensajes de plantilla/Códigos de idioma de redireccionamiento para conocer los códigos comunes que ya se utilizan en las redirecciones.
Esta plantilla está diseñada para ayudar a los colaboradores que no están familiarizados con la categorización de redirecciones, permitiéndoles ordenar las redirecciones en la categoría monitoreada Redirecciones varias . No dude en utilizar esta importante función para ayudar a ordenar las redirecciones en categorías correctas y apropiadas.
Hay dos formas de ordenar una redirección en la categoría Redirecciones varias . Cuando se utiliza esta plantilla sin ningún redireccionamiento, se realizará la clasificación por redirecciones varias:
{{Redirect category shell}}
...
Además, si se conocen uno o más rcats, pero un editor no está seguro de que pueda haber uno o más rcats adicionales que sean necesarios, deje el primer parámetro en blanco (escriba dos barras verticales juntas → ||
):
{{ Redirigir categoría shell || {{ R del subtema }} {{ R printworthy }} }}
Los monitores de la categoría Redirecciones varias verificarán la redirección, agregarán otros rcats si es necesario y luego eliminarán el primer parámetro vacío.
Plantilla:Categoría de redireccionamiento shell/Comparación muestra la diferencia en la apariencia del texto entre cuando se utilizan rcats individuales y cuando se utiliza esta plantilla.
Esta plantilla también puede contener otras plantillas dentro de ella. Incluso la palabra mágica {{ DEFAULTSORT }} y una clave de ordenación se pueden usar dentro de esta plantilla o debajo de ella. Otra plantilla que se usa comúnmente dentro de la plantilla de shell de categoría Redireccionamiento es {{ Título en cursiva }} y su acceso directo para dar formato a los títulos en cursiva. Algunas categorías como {{ R from book }} y {{ R from film }} dan formato automáticamente a los nombres de redireccionamiento en cursiva. Se puede usar cualquier plantilla adecuada dentro de esta plantilla de shell de la siguiente manera:
{{ Redirigir categoría shell | {{ R de movimiento }} {{ R de nombre alternativo }} {{ Título en cursiva }} {{ DEFAULTSORT : El Hobbit }} }}
Nota de Mbox
#REDIRECT [[ (página de destino) ]] {{ Redirigir categoría shell || {{ R no apto para imprimir }} }}
# REDIRECT [[ (página de destino) ]] {{ Redirigir categoría shell ||{{ R no apto para imprimir }}}}
Nota de idoneidad para impresión
{{ Redirigir categoría shell | {{ R de término ambiguo }} }}
...entonces, las categorías ocultas que se llenarán serán Redirecciones desde páginas ambiguas , Redirecciones que no son aptas para imprimir y cualquier categoría de protección adecuada. Estas aparecerán en la parte inferior de la página de redireccionamiento solo para los usuarios registrados que hayan iniciado sesión y que hayan configurado sus preferencias para ver las categorías ocultas. El cuadro de diálogo que aparecerá para todos los lectores se verá así:
Para mostrar la información de capacidad de impresión o idoneidad para imprimir en el mbox, la redirección debe estar etiquetada con el rcat de apto para imprimir o no apto para imprimir, como en el siguiente ejemplo:
{{ Redirigir categoría shell | {{ R de término ambiguo }} {{ R no apto para imprimir }} }}
...que produce:
Solo entonces se describirá si es apta o no para imprimir dentro del mbox de esta plantilla en la página de redireccionamiento.
TemplateData para la categoría de redirección del shell
Esta plantilla se puede utilizar para agregar una o más plantillas de categorías de redireccionamiento (rcat) adecuadas, junto con sus parámetros, a las redirecciones. Además, esta plantilla detecta, describe, categoriza y cambia automáticamente los niveles de protección cuando corresponde.