Diferencia entre revisiones de «Ayuda:Enlace»

Contenido eliminado Contenido añadido
Echani (discusión | contribs.)
comienzo la traducción de en:Help:Link
 
Echani (discusión | contribs.)
Sin resumen de edición
Línea 10:
Un '''enlace wiki''' o '''enlace interno''' enlaza con otra página de un mismo proyecto, en este caso, con otra página de la ''wikiversidad''.
 
===Sintaxis===
*<nowiki>[[a]]</nowiki> gives [[a]].
 
*<nowiki>[[a|b]]</nowiki> gives [[a|b]] (link to a, labelled b).
*<nowikicode>[[a]]b</nowiki> gives [[a]]b, just like </nowiki>[[a|ab]]</nowikicode> does:resulta [[a|ab]].
*<code><nowiki>[[a|b]]c</nowiki></code> givesresulta [[a|b]]c, just(enlace likea <nowiki>[[''a|bc]]</nowiki>'', does:etiquetado [[a|bc]]como ''b'').
*<code><nowiki>[[a]]b</nowiki></code> resulta [[a]]b, tal y como haría <nowiki>[[a|ab]]</nowiki> gives: a[[ba|ab]].
*<code><nowiki>[[a|b]]<c</nowiki>nowiki>b</nowikicode> givesmuestra [[a|b]]c, tal como resultaría <nowiki>b[[a|bc]]</nowiki>, o sea, [[a|bc]].
*<code><nowiki>a[[ab]]''b''</nowiki></code> givesmuestra a[[ab]]''b''.
*<code><nowiki>''[[a]]''<</nowiki>nowiki>b</nowiki></code> givesresulta ''[[a]]''<nowiki>b</nowiki>.
*<code><nowiki>[[a|b]]c<''b''</nowiki>nowiki>d</nowikicode> givesmuestra [[a|b]]c<nowiki>d</nowiki>''b''.
*<code><nowiki>''[[a]]''b</nowiki></code> givesmuestra ''[[a]]''b.
*<nowiki>[[a]][[b]]</nowiki> gives [[a]][[b]] (two links, but looking equal to the single link [[ab]]), even if the links are underlined ([[a]] [[b]] and [[a b]] look the same only if links are not underlined).
*<code><nowiki>[[a|b]]c<</nowiki>nowiki>d</nowiki></code> resulta [[a|b]]c<nowiki>d</nowiki>.
*<code><nowiki>[[a]][[b]]</nowiki></code> muestra [[a]][[b]] (dos enlaces, pero aparentemente idénticos al enlace [[ab]]), incluso si los enlaces están subrayados ([[a]] [[b]] y [[a b]] se ven igual solo si los enlaces no están subrayados).
 
Links with parameters (the link name) are said to be "piped" because of the pipe symbol used ( | ).
Línea 26 ⟶ 28:
 
Los enlaces a las imágenes, categorías y otras lenguas, utilizan la misma sintaxis que los enlaces internos. Sin embargo, estos enlaces no se muestran como tales, sino que el software realizará acciones automáticas, como mostrar la imagen, añadir el artículo a la categoría o añadir el interwiki al listado del panel lateral. Para evitar que esto se produzca, se puede añadir dos puntos al principio del enlace, con lo que se convierten en enlaces corrientes. Por ejemplo
* <code><nowiki>[[CategoryCategoría:HelpAyuda]]</nowiki></code> añade el artículo a la categoría
** pero <code><nowiki>[[:CategoryCategoría:HelpAyuda]]</nowiki></code> se muestra como [[:CategoryCategoría:HelpAyuda]].
* <code><nowiki>[[fren:Help:Link]]</nowiki></code> añade el interwiki al panel lateral
** pero <code><nowiki>[[:fren:Help:Link]]</nowiki></code> se muestra como [[:fren:Help:Link]].
* <code><nowiki>[[Image:Mediawiki.png]]</nowiki></code> inserta una imagen
** pero <code><nowiki>[[:Image:Mediawiki.png]]</nowiki></code> se muestra como [[:Image:Mediawiki.png]].
Línea 38 ⟶ 40:
Un enlace interno se cataloga como esbozo si:
*se encuentra en el espacio de nombres principal,
*no es una [[w:AyudaWikipedia:redirecciónRedirecciones]]
*el tamaño es inferior al ''umbral de esbozo'' especificado en las [[w:Ayuda:preferencias de usuario]].
 
Esta funcionalidad permite identificar inmediatamente páginas cortas que probablemente necesitan ser ampliadas. Por el contrario, un usuario puede establecer un umbral de esbozo elevado para:
*identificar enlaces a páginas excesivamente largas. Sin embargo, como sólo se comprueba el tamaño del [[w:wikitexto|wikitexto]], puede pasar por alto páginas que se exceden por la inclusión de plantillas o imágenes.
*Distinguir enlaces al espacio de nombres principal del resto. Una redirección al espacio de nombres principal no se mostrará como tal, incluso aunque la propia redirección esté en este espacio de nombres.
*Identificar los enlaces a redirecciones, para tareas de limpieza.
Línea 52 ⟶ 54:
== Enlaces interwiki ==
 
Un '''[[w:Ayuda:Interwiki|enlace interwiki]]''' enlaza una página con otra de otro [[w:sitio web|sitio web]] diferente. A pesar de su nombre, un interwiki no tiene que apuntar necesariamente a un sitio web que a su vez sea un [[w:Wiki|wiki]], pero sí tiene que figurar en el mapa Unlike the name suggests, the target site need not be a wiki, but it has to be on the [[m:Interwiki map|interwiki map]] specified for the source wiki.
 
Estos enlaces llevan asociada la clase ''"extiw"'' por lo que pueden representarse de manera diferente por medio de CSS. Estos enlaces se escriben de manera idéntica a los enlaces internos, pero con elprefijo referente al sitio web en cuestión: Por ejemplo, en los proyectos de la familia Wikimedia <code><nowiki>[[wikipedia:Portada]]</nowiki></code> enlaza a la portada de wikipedia Wikipedia's main page. Se puede modificar el texto que se muestra de la misma manera que con los ''wikilinks''.
Línea 73 ⟶ 75:
A diferencia de los enlaces internos, <nowiki>[http://www.example.org a]s</nowiki> aparece como [http://www.example.org a]s.
 
*Consulte información más detallada sobre [[Ayuda:URL#URLs en los enlaces externos|URLs en los enlaces externos]]
See [[Help:URL#URLs in external links|URLs in external links]] for more detailed information.
*[[Special:Linksearch]] encuentra todas las páginas que enlazan con un sitio web determinado.
 
=== Enlace externo al mismo proyecto ===
[[Special:Linksearch]] encuentra todas las páginas que enlazan con un sitio web determinado.
 
Se suelen utilizar enlaces externos cuando se quieren especificar parámetros a través de la URL. Por ejemplo, para enlazar a una versión antigua de una página, o al diff entre versiones, etc. También se pueden emplear para crear [[Help:Navigational image|navigational image]].
=== External links to the same project ===
External links are often used to use special URL parameters in links. This allows links directly to the edit history of a page, to a page in edit view, a diff of two versions, et cetera. They can also be used to create a [[Help:Navigational image|navigational image]].
 
Sin embargo, no se acoseja utilizar enlaces externos a una página normal del proyecto. Esta clase de enlaces no se beneficia de ninguna de las bondades de los ''wikilinks'', y puede dejar de funcionar si el contenido es exportado a otro [[w:Dominio de internet|dominio]].
However, the use of external links to link to a normal page on the same project is not recommended. These links benefit from none of the features of a wikilink, and may break the web of links when the content is exported to another domain.
 
===ArrowSímbolo iconde la flecha===
Monobook skin produces an arrow icon after every external link. This can be suppressed with class="plainlinks":
*<nowiki><</nowiki>span class="plainlinks">http<nowiki>://a</</nowiki>span> gives <span class="plainlinks">http://a</span>
*http<nowiki>://a</nowiki> gives http://a
 
La interfaz ''monobook'', empleada por defecto en wikimedia, inserta una ''flechita'' tras cad enlace externo. Esta función puede suprimirse especificando la clase ''plainlinks'' así:
== Section linking (anchors) ==
*<nowiki><</nowiki>span class="plainlinks">http<nowiki>://a</</nowiki>span> givesse ve como <span class="plainlinks">http://a</span>
Links in the form <code><nowiki>[[#anchor_name]]</nowiki></code> will link to any anchor named "anchor_name" on the page. This may be either a heading named "anchor_name", or an arbitrary position. <code><nowiki>[[#top]]</nowiki></code> is a reserved name that links to the [[#top|top of a page]]. It is possible to create an arbitrary anchor name using the HTML code <code><nowiki><div id="anchor_name"></div></nowiki></code>.
*http<nowiki>://a</nowiki> givesmuestra http://a
 
== Enlaces a secciones ==
Anchor links can also be appended to any type of link; for more information, see [[Help:Section#Section_linking]].
 
Enlaces del tipo <code><nowiki>[[#nombre de ancla]]</nowiki></code> apuntarán a una sección de la misma página identificada por el ''nombre de ancla''. Los encabezados del tipo ''wikitext'', como <code><nowiki>==éste==</nowiki></code>, son nombres de ancla válidos a los que se puede apuntar. Además, existe un nombre reservado que es <code><nowiki>[[#top]]</nowiki></code>, y que indica el [[#top|inicio de la página]]. Por último, puede incluirse un ancla en cualquier lugar de un artículo por medio de código [[w:HTML|HTML]] de este modo: <code><nowiki><div id="nombre_de_ancla"></div></nowiki></code>.
 
Desde cualquier página podemos enlazar a una sección concreta de otra, añadiéndo el nombre de ancla al enlace así: <code><nowiki>[[Ayuda:Página#Enlace_a_sección]]</nowiki></code>.
 
=== Problems with page name conversion ===
Línea 100 ⟶ 104:
A [[Help:Redirect|redirect]] to a page section does not go to the section. However, one can add the section anyway as a clarification, and it will work if the redirect is manually clicked from the redirect page. However, links with a section to a redirect will lead to the section on the redirect's page.
 
==Subpage featureSubpáginas==
MediaWiki has a subpage feature, although activation depends on project and namespace. If activated, the following applies (if not, "A/b" is just a page with that name).
 
El sofware MediaWiki permite la creación de '''[[w:Ayuda:Subpáginas|subpáginas]]''', aunque esta función puede o no estar activada dependiendo del proyecto o del espacio de nombres. En caso de estar activado se aplica lo siguiente, en caso contrario un artículo con un título del tipo "A/b" es simplemente una página con ese nombre.
A [[w:en:tree structure|tree structure]] of pages is established by using forward slashes in pagenames: A/b is a child of A, hence A is a parent of A/b; also A/b/c is a child of A/b; A/a, A/b, and A/c are siblings.
 
Se puede especificar una estructura jerárquica en árbol utilizando el carácter "/" en los nombres de páginas. A/b es una subpágina de A, por tanto, A es parent de A/b; de igual modo A/b/c es subpágina de A/b; A/a, A/b, y A/c son siblings.
 
Al inicio de cada subpágina se muestra siempre un enlace a todas las páginas
At the top of the subpage body links to all ancestor pages are shown automatically, without any corresponding wikitext. The links show up even if the child page does not exist, but the sequence of ancestors stops before any non-existing ancestor page (e.g., if the grandparent page does not exist, the parent page is not shown either). Like most letters of a page name, the first letter after the slash is case-sensitive; "/subpage" and "/Subpage" are different pages.
 
Línea 119 ⟶ 125:
See also [[w:Wikipedia:Subpages]], and the example pages [[m:Link/a/b]] and [[m:Help:Link/a/b]]. For the latter the subpage feature does not work because of the namespace.
 
=== UserEspacio spacede usuario ===
Subpages of a user page (<code><nowiki>[[User:Username/Subpage]]</nowiki></code>) are considered to be in that user's "user space". Rules are often relaxed in a user's own subpages, whereas they are typically tightened for a user editing another user's subpages.
 
SubpagesUn ofusuario apuede usercrear pagesubpáginas del tipo (<code><nowiki>[[UserUsuario:UsernameNombre/SubpageSubpágina]]</nowiki></code>), areformando consideredtodas toellas belo inque thatse user'sdenomina "user[[w:Ayuda:espacio space"de usuario|espacio de usuario]]. Rules are often relaxed in a user's own subpages, whereas they are typically tightened for a user editing another user's subpages.
===Unintended subpage structure===
Any slash in a pagename causes a subpage structure, e.g. [[Subpage demo Season 2006/2007]] is a subpage of "Subpage demo Season 2006". As long as the latter does not exist, this has no effect on the former, However, a page with a slash in its name cannot be the root page of a subpage structure. For example, [[Subpage demo Season 2006/2007 /soccer]] does not show its parent, because its unintended grandparent does not exist. A dummy grandparent page can fix this.
 
===Subpáginas no intencionadas===
=== Subpage activation ===
Wikipedia has this feature activated in all talk namespaces and the user and project namespace. The Meta-Wiki also has it in the main namespace. The default is set in [[mw:Help:Configuration settings|DefaultSettings.php]][http://cvs.sourceforge.net/viewcvs.py/wikipedia/phpwiki/newcodebase/DefaultSettings.php?rev=1.21&view=markup]. As of revision 1.21, the following namespaces have it activated by default: Special, Main talk, User and User_talk, Meta_talk, and Image_talk. Settings per project are changed in [[LocalSettings.php]][http://cvs.sourceforge.net/viewcvs.py/wikipedia/phpwiki/newcodebase/LocalSettings.php?rev=1.25&view=markup].
 
Siempre que en un nombre de página aparezca una barra ("/") se formará una jerarquía de subpáginas. Por ejemplo, un artículo titulado "Curso académico 2005/2006" será subpágina de "Curso académico 2005" incluso aunque ésta no exista. Mientras la segunda página no exista, no afectará a la primera. Sin embargo, si se pretendiera crear subpáginas como "Curso académico 2005/2006/ Temario", ésta no mostraría los enlaces a las páginas precedentes, porque la página que se encuentra en lo alto de la jerarquía no existe. Esto puede solucionarse creando un artículo vacío solo con ese propósito.
== Miscellaneous ==
 
=== Linking to a page with images ===
=== Activación de subpáginas ===
It is possible to use images as links to other pages. For more information, see [[Help:Navigational images|use an image as a link to a page]].
La Wikipedia tiene activada esta funcionalidad para los espacios de nombres de discusión, usuarios y proyectos. Meta-Wiki lo tiene también activado para el espacio principal. Consulte la [http://meta.wikimedia.org/wiki/LocalSettings.php#Enabling_subpages documentación del software WediaWiki] para más información.
 
== Miscelánea ==
 
=== Enlaces mediante imágenes ===
ItEs isposible possibleutilizar toimágenes usepara imagesenlazar asa linksotras to other pagespáginas. For more information, seeVéase [[Help:Navigational images|use an image as a link to a page]].
 
=== "Hover box" on links ===
Línea 139 ⟶ 148:
For these effects a piped link is useful even if it not followed; for example, for displaying the meaning of an acronym (e.g. [[neutral point of view|NPOV]]) or any other remark. It is possible to produce a hover box without a link, see {{tim|H:title}}.
 
=== DisallowedCaracteres charactersno válidos ===
 
InEn internallos and''wikilinks'' interwikie link''interwikis'' style,no ase pluspuede signemplear inel acaracter page"+" name, ispor not allowedejemplo, the[[a+b]] HTMLse andmostrará hencetal thecual renderedcomo page just shows the wikitext, e.gtexto. [[a+b]]. In external link style a plus sign in the URL is retained. It is often equivalent with a space. See also below.
 
In accordance with the rules explained in [[Help:Page name]], conversions are automatically made to [[Help:Special characters|non-literal characters]] in wiki and interwiki links. For example, "<code><nowiki>[[Help:Page%20name]]</nowiki></code>" becomes "[[Help:Page name]]". However, the opposite is true for external links; literal characters are converted into non-literal characters. For example, most browsers will convert ".../wiki/!" to ".../wiki/%21".
Línea 176 ⟶ 186:
*[[w:Template:linkless|Linkless]]
*[[w:Red Link|Red Link]]
 
==Notas==
Category:Help
<referenes/>
 
Categoría:Ayuda
 
[[en:Help:Link|Help:Link]]