Content deleted Content added
Delete |
No edit summary |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1:
{{pp-semi-indef}}{{pp-move-indef|small=yes}}
{{Wikipedia how-to| H:CERNKY}}
{{Help:Cite errors/header
|msg=Cite error references no key
}}
==Overview==
{{see|Help:Footnotes}}
A footnote used multiple times may be defined with a name:
:{{tag|ref|params=name="foo"|content=''content''}}
To invoke a named footnote:
:{{tag|ref|s|params=name="foo"}}
References may also be defined within the reference list:
{{pre|<nowiki>
{{reflist|refs=
<ref name=refname1>refcontent1</ref>
<ref name=refname2>refcontent2</ref>
<ref name=refname3>refcontent3</ref>
<ref name=refname4>refcontent4</ref>
}}</nowiki>}}
List-defined references may be invoked by the standard markup or by use of {{tl|r}}.
An explanatory note may include a reference by using #tag:ref:
:<code>{{#tag:ref|''refcontent''|name=''name''|group=''groupname''}}</code>
Where ''content'' may include {{tag|ref}} tags
==Issues and resolution==
A list-defined reference has an invalid name. Ensure the footnote name is formatted properly.
More than one use of {{tlx|refn}} or #tag:ref within list defined references. You can only use {{tlx|refn}} or #tag:ref once as a list-defined reference.
==Examples==
{{Help:Cite errors/lang}}
{{xt|
{{
==References==
{{reflist|refs=
<ref name=duis>duis</ref></nowiki>
{{highlight|<nowiki><ref name=>excepteur</ref></nowiki>}}<nowiki>
<ref name=ipsum>ipsum</ref>
<ref name=minim>minim</ref>
}}</nowiki>}}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref name=ipsum/> Ut enim ad minim veniam, quis nostrud exercitation ullamco
{{fake heading|sub=3|References}}
Line 34 ⟶ 62:
{{xt|Nested references defined with #tag:ref are used more than once in the reference list:}}
{{
==Notes==
{{reflist|group=nb|refs=
{{
{{
}}
Line 47 ⟶ 75:
<ref name=minim>minim</ref>}}}</nowiki>}}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref name=ipsum/> Ut enim ad minim veniam, quis nostrud exercitation ullamco
{{fake heading|sub=3|Notes}}
{{reflist|group=nb|refs=
{{
{{
}}
Line 66 ⟶ 94:
==Bugs==
{{tracked|
* {{
{{Wikipedia referencing |state=collapsed}}
|