Difference between revisions of "Template:Ref"

From The Coppermind
Jump to navigation Jump to search
(Created page with '{{#tag:ref|{{{pre|}}}{{#switch:{{lc:{{{1}}}}} |b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}} |17s|f={{17s|{{{1}}}|{{{2}}}|}}} |sawiki|sa|w={{SAwiki|{{{1}}}|}} |wp={{wp|{{{1}}}|{{{2}}}…')
 
m (tweak)
 
(93 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  +
<includeonly>{{#tag:ref<!--
{{#tag:ref|{{{pre|}}}{{#switch:{{lc:{{{1}}}}}
 
  +
|b|book={{bref|{{{2}}}|{{{3}}}|{{{4}}}|}}
 
  +
TEXT
|17s|f={{17s|{{{1}}}|{{{2}}}|}}}
 
  +
-->|{{{text|}}}<!--
|sawiki|sa|w={{SAwiki|{{{1}}}|}}
 
  +
|wp={{wp|{{{1}}}|{{{2}}}|}}
 
  +
NAME
|{{{1}}}
 
  +
-->|name={{{name|{{{text|}}}|}}}<!--
}}{{{post|}}}|name={{{name}}}|group={{{group|}}}|}}<noinclude>This allows you to perumate through the reference generating templates.
 
  +
== Other ==
 
  +
GROUP
<references />
 
  +
-->|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}}

Latest revision as of 20:42, 19 April 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[edit]