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)
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-->
Characters at Donnafugata<ref>Donnafugata as a village is [[Palma_di_Montechiaro|Palma]]; as a palace, [[Santa_Margherita_di_Belice|Santa Margherita]].
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
<br></br>
{{#tag:ref|http://www.users.globalnet.co.uk/~loxias/sicily/belice.htm|name=S. Margherita di Belice/}}<ref>This is the outside reference</ref>.



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


This works:
text<ref name=n1 group=nested_first/>
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>[http://www.users.globalnet.co.uk/~loxias/sicily/belice.htm]This is the inside reference</ref>|name=n1|group=nested_first}}
{{#tag:ref|With nested reference<ref>content of nested reference</ref>|name=n1|group=nested_first}}

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

Nested refs:
{{reflist}}

This doesn't work:
text<ref name=n3 group=nested_second/>
text<ref name=n4 group=nested_second/>.

Reflist, nested ref listed second:{{reflist|group=nested_second|refs=
<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:
{{reflist}}
<-->
===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:
<ref name=n1 group=nested_first>With no nested reference</ref>}}
<!--<ref name=n2 group=nested_first>With no nested reference</ref>}} -->


{{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>}}
Characters at Donnafugata<ref>Donnafugata as a village is [[Palma_di_Montechiaro|Palma]]; as a palace, [[Santa_Margherita_di_Belice|Santa Margherita]].
<br></br>
{{#tag:ref|[http://www.users.globalnet.co.uk/~loxias/sicily/belice.htm]|name=S. Margherita di Belice|group=n1}}


==References==
===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]