Difference between revisions of "Template:Efn/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(→‎Group: use notelist/sandbox, so that other styles can be tried out)
imported>Redrose64
(→‎Group: I should have stuck some refs in those Greek notes)
Line 60: Line 60:
  
 
{{markup|<nowiki>
 
{{markup|<nowiki>
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn/sandbox|group=upper-alpha|A clarification.<ref name=Smith2009/>}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes}}
+
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn/sandbox|group=upper-alpha|A clarification.<ref name=Smith2009/>}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me<ref name=Smith2009/>}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes<ref name=Smith2009/>}}
  
 
==Notes==
 
==Notes==
Line 71: Line 71:
 
</nowiki>|
 
</nowiki>|
  
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn/sandbox|group=upper-alpha|A clarification.<ref name=Smith2009/>}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes}}
+
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn/sandbox|group=upper-alpha|A clarification.<ref name=Smith2009/>}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me<ref name=Smith2009/>}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes<ref name=Smith2009/>}}
  
 
{{fake heading|Notes}}
 
{{fake heading|Notes}}
Line 85: Line 85:
  
 
{{markup|<nowiki>
 
{{markup|<nowiki>
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn/sandbox|group=upper-alpha|A clarification.{{sfn|Smith|2010|p=2}}}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes}}
+
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn/sandbox|group=upper-alpha|A clarification.{{sfn|Smith|2010|p=2}}}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me{{sfn|Smith|2010|p=1}}}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes{{sfn|Smith|2010|p=1}}}}
  
 
==Notes==
 
==Notes==
Line 98: Line 98:
 
</nowiki>|
 
</nowiki>|
  
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn/sandbox|group=upper-alpha|A clarification.{{sfn|Smith|2010|p=2}}}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes}}
+
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn/sandbox|group=upper-alpha|A clarification.{{sfn|Smith|2010|p=2}}}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me{{sfn|Smith|2010|p=1}}}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes{{sfn|Smith|2010|p=1}}}}
  
 
{{fake heading|Notes}}
 
{{fake heading|Notes}}

Revision as of 17:38, 5 December 2012

Testing sandbox version

Default

Using full citations in footnotes:

Markup Renders as
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn/sandbox|A clarification.<ref name=Smith2009/>}}

==Notes==
{{notelist}}

==References==
{{reflist}}

Some information.[1] More information.[lower-alpha 1]

Notes
  1. A clarification.[1]
References
  1. 1.0 1.1 Smith (2009). Smith's book.


Using Shortened footnotes:

Markup Renders as
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn/sandbox|A clarification.{{sfn|Smith|2010|p=2}}}}

==Notes==
{{notelist}}

==Citations==
{{reflist}}

==References==
* {{citation|last=Smith|year=2010|title=Smith's book}}

Some information.[1] More information.[lower-alpha 1]

Notes
  1. A clarification.[2]
Citations
  1. Smith 2010, p. 1.
  2. Smith 2010, p. 2.
References
  • Smith (2010), Smith's book

Group

Using full citations in footnotes:

Markup Renders as
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn/sandbox|group=upper-alpha|A clarification.<ref name=Smith2009/>}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me<ref name=Smith2009/>}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes<ref name=Smith2009/>}}

==Notes==
{{notelist/sandbox|group=upper-alpha}}
{{notelist/sandbox|group=lower-greek}}

==References==
{{reflist}}

Some information.[1] More information.[upper-alpha 1] Something else.[lower-greek 1][lower-greek 2]

Notes

Template:Notelist/sandbox Template:Notelist/sandbox

References
  1. 1.0 1.1 1.2 1.3 Smith (2009). Smith's book.


Using Shortened footnotes:

Markup Renders as
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn/sandbox|group=upper-alpha|A clarification.{{sfn|Smith|2010|p=2}}}} Something else.{{efn/sandbox|group=lower-greek|It's all Greek to me{{sfn|Smith|2010|p=1}}}}{{efn/sandbox|group=lower-greek|Timeo Danaos et dona ferentes{{sfn|Smith|2010|p=1}}}}

==Notes==
{{notelist/sandbox|group=upper-alpha}}
{{notelist/sandbox|group=lower-greek}}

==Citations==
{{reflist}}

==References==
* {{citation|last=Smith|year=2010|title=Smith's book}}

Some information.[1] More information.[upper-alpha 2] Something else.[lower-greek 3][lower-greek 4]

Notes

Template:Notelist/sandbox Template:Notelist/sandbox

Citations
  1. 1.0 1.1 1.2 Smith 2010, p. 1.
  2. Smith 2010, p. 2.
References
  • Smith (2010), Smith's book

Testing main template

Using full citations in footnotes:

Markup Renders as
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A clarification.<ref name=Smith2009/>}}

==Notes==
{{notelist}}

==References==
{{reflist}}

Some information.[1] More information.[lower-alpha 1]

Notes
  1. A clarification.[1]
References
  1. 1.0 1.1 Smith (2009). Smith's book.


Using Shortened footnotes:

Markup Renders as
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn|A clarification.{{sfn|Smith|2010|p=2}}}}

==Notes==
{{notelist}}

==Citations==
{{reflist}}

==References==
* {{citation|last=Smith|year=2010|title=Smith's book}}

Some information.[1] More information.[lower-alpha 1]

Notes
  1. A clarification.[2]
Citations
  1. Smith 2010, p. 1.
  2. Smith 2010, p. 2.
References
  • Smith (2010), Smith's book


Cite error: <ref> tags exist for a group named "upper-alpha", but no corresponding <references group="upper-alpha"/> tag was found, or a closing </ref> is missing
Cite error: <ref> tags exist for a group named "lower-greek", but no corresponding <references group="lower-greek"/> tag was found, or a closing </ref> is missing