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)
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-->
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
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
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):


(demo here)
This works:
http://en.wikipedia.org/wiki/User:Dan_Pelleg/Sandbox/Nested_refs

[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/>.


This works:
text<ref name=n1 group=nested_first/>
text<ref name=n2 group=nested_first/>.
text<ref name=n2 group=nested_first/>.


;Reflist, nested ref listed first:{{reflist|group=nested_first|refs=
Reflist, nested ref listed first:{{reflist|group=nested_first|refs=
{{#tag:ref|With nested reference<ref>content of nested reference</ref>|name=n1|group=nested_first}}


{{#tag:ref|With nested reference<ref>content
<ref name=n2 group=nested_first>With no nested reference</ref>}}
of nested reference</ref>|name=n1|group=nested_first}}


Nested refs:
<ref name=n2 group=nested_first>With no nested reference</ref>
}}

===Notes and References===
{{reflist}}
{{reflist}}


This doesn't work:
<!-->
This not:

text<ref name=n3 group=nested_second/>
text<ref name=n3 group=nested_second/>
text<ref name=n4 group=nested_second/>.
text<ref name=n4 group=nested_second/>.


;Reflist, nested ref listed second:{{reflist|group=nested_second|refs=
Reflist, nested ref listed second:{{reflist|group=nested_second|refs=

<ref name=n3 group=nested_second>With no nested reference</ref>
<ref name=n3 group=nested_second>With no nested reference</ref>
{{#tag:ref|With nested reference<ref>content of nested reference
</ref>|name=n4|group=nested_second}}}}


;Nested refs:
{{#tag:ref|With nested reference<ref>content
{{reflist}}
of nested reference</ref>|name=n4|group=nested_second}}
}}
<-->
<-->
===Start Here===
Areas added to the Kingdom of Italy by March 24, 1860<ref name=n1 group=map/>
text<ref name=n2 group=map/>.


Reflist, nested ref listed first:
<!-->;Nested refs:<-->

{{reflist|group=map|refs=
{{#tag:ref|With nested reference
<ref>[http://users.dickinson.edu/~rhyne/232/Five/Map1860.html]</ref>|name=n1|group=map}}

<ref name=n2 group=map>With no nested reference</ref>}}

===Notes and References===
{{reflist}}
{{reflist}}
{{reflist|group=map1}}

Latest revision as of 19:41, 28 September 2010

Start Here

[edit]

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

Reflist, nested ref listed first:

  1. ^ With nested reference [1]
  2. ^ With no nested reference

Notes and References

[edit]
  1. ^ [1]