Diferencia entre revisiones de «Plantilla:Ref»

De La Coppermind
Ir a la navegación Ir a la búsqueda
(added type= and explenation)
m (tweak)
 
(No se muestran 91 ediciones intermedias de 6 usuarios)
Línea 1: Línea 1:
<includeonly>{{#tag:ref<!--
{{#tag:ref|{{{pre|}}}{{#switch:{{lc:{{{1}}}}}
|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}
|17s|f={{17s|{{{type|2}}}={{{2}}}|2={{{3|}}}|}}
|twg={{twg|{{{type|2}}}={{{2}}}|2={{{3|}}}|}}
|sb|stormblessed={{sb|{{{type|2}}}={{{2}}}|2={{{3|}}}|}}
|sawiki|sa|w={{SAwiki|{{{2}}}|{{{3|}}}|}}
|wp={{wp|{{{2}}}|{{{3|}}}|}}
|{{{1}}}
}}{{{post|}}}|name={{{name}}}|group={{{group|}}}|}}<noinclude>This allows you to perumate through the reference generating templates.
To access the <code>link=</code> or <code>page=</code> parameters for {{t|17s}} and its ilk, include the <code>type=</code> parameter with the name of the parameter to pass the <code>1=<519-nightblood-and-breath/page__pid__9820#entry9820</code> parameter to.
For example to refer to a specific post on the forums: <code><nowiki>{{ref|17s|519-nightblood-and-breath/page__view__findpost__p__9780|About The Allmighty|type=page}}</nowiki></code>


TEXT
== Other ==
-->|{{{text|}}}<!--
<references />

{{cat|templates}}
NAME
-->|name={{{name|{{{text|}}}|}}}<!--

GROUP
-->|group={{{group|}}}<!--

-->}}<!--

-->{{#if:{{{name|}}}{{{text|}}}||[[category: empty references]]|}}<!--

--></includeonly><noinclude>[[category: reference templates| ]]

This template is mainly used to in definitions of the individual [[:Category: Reference templates|reference templates]], though there are a few cases where it is used directly.
* Sometimes it is also useful to just annotate something with a reference, which this template can also be used for with the {{{text}}} parameter.
* It is also used when another [[:Category: Reference templates|reference templates]] has been used with <code>name=X</code>, in which case that reference can be cited again with <code><nowiki>{{ref|name=X}}</nowiki></code>.

For most situations, however, the other reference templates should be used as they offer more structure. See [[Help:Cite]] for more details on using references.

== 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 - 20:42 19 abr 2020


This template is mainly used to in definitions of the individual reference templates, though there are a few cases where it is used directly.

  • Sometimes it is also useful to just annotate something with a reference, which this template can also be used for with the {{{text}}} parameter.
  • It is also used when another reference templates has been used with name=X, in which case that reference can be cited again with {{ref|name=X}}.

For most situations, however, the other reference templates should be used as they offer more structure. See Help:Cite for more details on using references.

Articles using Template