Jump to content

User:Rjmorra/Sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Rjmorra (talk | contribs)
No edit summary
Rjmorra (talk | contribs)
No edit summary
Line 6: Line 6:
This works:
This works:


text<ref name=n1 group=nested_first/>
[http://users.dickinson.edu/~rhyne/232/Five/Map1860.html Areas added to the Kingdom of Italy by March 24, 1860]<ref name=n1 group=nested_first/>
text<ref name=n2 group=nested_first/>.
text<ref name=n2 group=nested_first/>.



Revision as of 10:28, 28 September 2010

A reflist containing both a plain ref tag and a "#tag:" ref tag with a nested ref tag in it works if the ref-in-a-ref is listed before the plain ref, and doesn't work if the ref-in-a-ref is listed after the plain ref (demo here http://en.wikipedia.org/wiki/User:Dan_Pelleg/Sandbox/Nested_refs):

This works:

Areas added to the Kingdom of Italy by March 24, 1860[nested_first 1] text[nested_first 2].

Reflist, nested ref listed first
  1. ^ With nested reference[1]
  2. ^ With no nested reference
Nested refs
  1. ^ content of nested reference

This not:

text[nested_second 1] text[nested_second 2].

Reflist, nested ref listed second
  1. ^ a b With no nested reference
  2. ^ With nested reference[1]

Cite error: A list-defined reference has no name (see the help page).

Nested refs