Diferencia entre revisiones de «Plantilla:Url ref»
m (+cite ns link) |
m |
||
(No se muestran 8 ediciones intermedias de 5 usuarios) | |||
Línea 2: | Línea 2: | ||
TEXT |
TEXT |
||
− | -->|{{{pre|}}}<!-- |
+ | -->|{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!-- |
-->[{{{url}}} {{{text}}}]<!-- |
-->[{{{url}}} {{{text}}}]<!-- |
||
− | --> |
+ | -->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!-- |
− | -->{{{post|}}}<!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | --><span class="cm-tracking"><hash-text link="#">{{{url}}}</hash-text></span><!-- |
||
+ | |||
⚫ | |||
+ | -->|name={{{name|{{{site}}}-{{{text}}}|}}}<!-- |
||
GROUP |
GROUP |
||
-->|group={{{group|}}}<!-- |
-->|group={{{group|}}}<!-- |
||
Línea 18: | Línea 20: | ||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
− | This template is used to refer to |
+ | This template is used to refer to URLs. This allows us to track where raw URLs are used, so we can keep them up to date easily. |
− | To use, include {{t|url ref|url=<nowiki> |
+ | To use, include {{t|url ref|url=<nowiki>https://...</nowiki>|text=|site=}} |
− | * {{{url}}} and {{{text}}} the link and link-text |
+ | * {{{url}}} and {{{text}}} are the link and link-text |
* {{{site}}} indicates which website the page is on |
* {{{site}}} indicates which website the page is on |
||
* {{{date}}} is the publication date (yyyy-mm-dd) |
* {{{date}}} is the publication date (yyyy-mm-dd) |
||
Línea 28: | Línea 30: | ||
* {{{name}}} replaces the generated name |
* {{{name}}} replaces the generated name |
||
* {{{group}}} sets the reference group |
* {{{group}}} sets the reference group |
||
+ | |||
+ | For example, <code><nowiki>{{url ref|url=http://inkthinker.deviantart.com/art/The-Way-of-Kings-Skyeels-180124400|text=Skyeel Illustration Description|site=[[Inkthinker]]'s DeviantArt}}</nowiki></code>, which produces the following in the references list:{{url ref|url=http://inkthinker.deviantart.com/art/The-Way-of-Kings-Skyeels-180124400|text=Skyeel Illustration Description|site=[[Inkthinker]]'s DeviantArt}} |
||
+ | <references /> |
||
+ | |||
+ | |||
+ | Because this reference template often requires a large amount of text, it's better to replace <code><nowiki><references /></nowiki></code> with |
||
+ | |||
+ | <pre><references> |
||
+ | |||
+ | </references></pre> |
||
+ | |||
+ | and then place all url references between the <code><nowiki><references></nowiki></code> and <code><nowiki></references></nowiki></code> tags. When you do this, you should add <code>|name=''name''</code> to the url reference, where ''name'' is a unique identifier for the reference. Then, you will be able to cite this reference in the body of the article with {{t|ref|name=''name''}}. If you are citing the same url reference multiple times, you must use this method; otherwise it will result in a reference error because the template tries to create two references with the same name. |
||
+ | |||
+ | Technically, you could place the named url reference somewhere in the body of the article and then use {{t|ref}} to cite that reference elsewhere in the article. Most of the time, however, it's simpler and more elegant to just put the named url ref between the references tags and use {{t|ref}} everywhere in the article. |
||
[[Category: Sources]] |
[[Category: Sources]] |
||
[[Category: Reference templates]] |
[[Category: Reference templates]] |
||
+ | |||
+ | == Articles using Template == |
||
+ | {{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}} |
||
+ | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} |
Revisión actual del 09:41 1 abr 2024
This template is used to refer to URLs. This allows us to track where raw URLs are used, so we can keep them up to date easily.
To use, include {{url ref|url=https://...|text=|site=}}
- {{{url}}} and {{{text}}} are the link and link-text
- {{{site}}} indicates which website the page is on
- {{{date}}} is the publication date (yyyy-mm-dd)
- {{{pre}}} is included before the link
- {{{post}}} is included after the link
- {{{name}}} replaces the generated name
- {{{group}}} sets the reference group
For example, {{url ref|url=http://inkthinker.deviantart.com/art/The-Way-of-Kings-Skyeels-180124400|text=Skyeel Illustration Description|site=[[Inkthinker]]'s DeviantArt}}
, which produces the following in the references list:[1]
- ↑ Skyeel Illustration Description
— Inkthinker's DeviantArt #
Because this reference template often requires a large amount of text, it's better to replace <references />
with
<references> </references>
and then place all url references between the <references>
and </references>
tags. When you do this, you should add |name=name
to the url reference, where name is a unique identifier for the reference. Then, you will be able to cite this reference in the body of the article with {{ref|name=name}}
. If you are citing the same url reference multiple times, you must use this method; otherwise it will result in a reference error because the template tries to create two references with the same name.
Technically, you could place the named url reference somewhere in the body of the article and then use {{ref}}
to cite that reference elsewhere in the article. Most of the time, however, it's simpler and more elegant to just put the named url ref between the references tags and use {{ref}}
everywhere in the article.
Articles using Template
- El aliento de los dioses (transclusión) (← enlaces)
- Elantris (libro) (transclusión) (← enlaces)
- Alcatraz contra los bibliotecarios malvados (saga) (transclusión) (← enlaces)
- Bendaleo (transclusión) (← enlaces)
- Adolin Kholin (transclusión) (← enlaces)
- Cosmere (transclusión) (← enlaces)
- El rithmatista (transclusión) (← enlaces)
- Dalinar Kholin (transclusión) (← enlaces)
- Spren (transclusión) (← enlaces)
- Odium (transclusión) (← enlaces)
- Obras sin publicar (transclusión) (← enlaces)
- Aleación de ley (transclusión) (← enlaces)
- Fjorden (transclusión) (← enlaces)
- Sabueso-hacha (transclusión) (← enlaces)
- Chull (transclusión) (← enlaces)
- Thaylenah (transclusión) (← enlaces)
- Marat (transclusión) (← enlaces)
- Nacidos de la bruma (saga) (transclusión) (← enlaces)
- El archivo de las tormentas (transclusión) (← enlaces)
- La Rueda del Tiempo (transclusión) (← enlaces)
- Mythwalker (transclusión) (← enlaces)
- Mistborn Adventure Game (transclusión) (← enlaces)
- A House of Ashes (transclusión) (← enlaces)
- Rysn Ftori (transclusión) (← enlaces)
- El alma del emperador (transclusión) (← enlaces)
- Bibliografía (transclusión) (← enlaces)
- Anguila aérea (transclusión) (← enlaces)
- Sigzil (transclusión) (← enlaces)
- Azir (transclusión) (← enlaces)
- Yezier (transclusión) (← enlaces)
- Steen (transclusión) (← enlaces)
- Tu Fallia (transclusión) (← enlaces)
- Triax (transclusión) (← enlaces)
- Babazarnam (transclusión) (← enlaces)
- Película de Nacidos de la bruma (transclusión) (← enlaces)
- Mistborn: Birthright (transclusión) (← enlaces)
- Palabras radiantes (transclusión) (← enlaces)
- Leyten (transclusión) (← enlaces)
- Deshecho (transclusión) (← enlaces)
- Re-Shephir (transclusión) (← enlaces)
- Dai-Gonarthis (transclusión) (← enlaces)
- Bavlandia (transclusión) (← enlaces)
- Sello de alma (transclusión) (← enlaces)
- Parrapullo (transclusión) (← enlaces)
- Alfabeto de acero (transclusión) (← enlaces)
- Tierra (Rithmatista) (transclusión) (← enlaces)
- Sombras por Silencio en los bosques del infierno (transclusión) (← enlaces)
- Calamity (transclusión) (← enlaces)
- Espinero (transclusión) (← enlaces)
- Dreamer (transclusión) (← enlaces)
- Mitosis (transclusión) (← enlaces)
- Moelach (transclusión) (← enlaces)
- Nergaoul (transclusión) (← enlaces)
- Tyn (transclusión) (← enlaces)
- Escuadrón (transclusión) (← enlaces)
- El ritmo de la guerra (transclusión) (← enlaces)
- Dark One (franquicia) (transclusión) (← enlaces)
- Dragonsteel Entertainment (transclusión) (← enlaces)
- Mistborn Adventure Game (manual de juego) (transclusión) (← enlaces)
- Terris: Wrought of Copper (transclusión) (← enlaces)
- Alloy of Law (manual de reglas) (transclusión) (← enlaces)
- El metal perdido (transclusión) (← enlaces)
- Adamant (transclusión) (← enlaces)
- Skaa: Tin & Ash (transclusión) (← enlaces)
- Mistborn: House War (transclusión) (← enlaces)
- Ethan Skarstedt (transclusión) (← enlaces)
- Armonium (transclusión) (← enlaces)
- Derechos multimedia (transclusión) (← enlaces)
- Arena Blanca (prosa) (transclusión) (← enlaces)
- Rick Extraño (transclusión) (← enlaces)
- The Apocalypse Guard (transclusión) (← enlaces)
- Danzante del Filo (novella) (transclusión) (← enlaces)
- Steelheart (transclusión) (← enlaces)
- Snapshot (transclusión) (← enlaces)
- Nor'Tallon (transclusión) (← enlaces)
- Tallon (transclusión) (← enlaces)
- Bastille contra los bibliotecarios malvados (transclusión) (← enlaces)
- Legión (saga) (transclusión) (← enlaces)
- Chemoarish (transclusión) (← enlaces)
- Ashertmarn (transclusión) (← enlaces)
- Luz del vacío (transclusión) (← enlaces)
- Halad (transclusión) (← enlaces)
- Jor (transclusión) (← enlaces)
- Jenin (transclusión) (← enlaces)
- Ristina (transclusión) (← enlaces)
- Legión: Las mentiras del contemplador (transclusión) (← enlaces)
- Esferas (transclusión) (← enlaces)
- Wind and Truth (transclusión) (← enlaces)
- Glifos/Índice (transclusión) (← enlaces)
- Estelar (transclusión) (← enlaces)
- Yeong-Gwang (transclusión) (← enlaces)
- Escuadrón (saga) (transclusión) (← enlaces)
- Children of the Nameless (transclusión) (← enlaces)
- Rik Hoskin (transclusión) (← enlaces)
- Call to Adventure: The Stormlight Archive (transclusión) (← enlaces)
- Julius Ohta (transclusión) (← enlaces)
- Fritz Casas (transclusión) (← enlaces)
- Brade Shimabukuro (transclusión) (← enlaces)
- Citónica (libro) (transclusión) (← enlaces)
- The Original (transclusión) (← enlaces)