User:Rjmorra/Sandbox: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
This works: |
This works: |
||
[http://users.dickinson.edu/~rhyne/232/Five/Map1860.html Areas added to the Kingdom of Italy by March 24, 1860]<ref name=n1 |
[http://users.dickinson.edu/~rhyne/232/Five/Map1860.html Areas added to the Kingdom of Italy by March 24, 1860]<ref name=n1> |
||
text<ref name=n2 group=nested_first/>. |
text<ref name=n2 group=nested_first/>. |
||
Revision as of 10:29, 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, 1860Cite error: A <ref>
tag is missing the closing </ref>
(see the help page).|name=n1|group=nested_first}}
- Nested refs
This not:
text[nested_second 1] text[nested_second 2].
- Reflist, nested ref listed second
Cite error: A list-defined reference has no name (see the help page).
- Nested refs
Cite error: There are <ref group=nested_first>
tags on this page, but the references will not show without a {{reflist|group=nested_first}}
template (see the help page).