Difference between revisions of "Template:Efn/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(Undid revision 601755420 by 107.6.95.42 (talk) rv - breaks tests)
 
Line 74: Line 74:
 
</nowiki>|
 
</nowiki>|
  
Some information.<ref name=Robert200>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn/sandbox|group=upper-alpha|A clarification.<ref name=Robert200>}} 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/>}}{{efn/sandbox|group=note|Some random text.<ref>{{cite book|last=York|year=2040|title=Smith's book}}</ref>}}{{efn/sandbox|group=upper-roman|Some more random text.<ref>{{cite book|last=York|year=2040|title=Smith's book|page=12}}</ref>}}{{efn/sandbox|group=lower-roman|Even more random text.<ref>{{cite book|last=York|year=2040|title=Smith's book|page=42}}</ref>}}
+
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/>}}{{efn/sandbox|group=note|Some random text.<ref>{{cite book|last=York|year=2040|title=Smith's book}}</ref>}}{{efn/sandbox|group=upper-roman|Some more random text.<ref>{{cite book|last=York|year=2040|title=Smith's book|page=12}}</ref>}}{{efn/sandbox|group=lower-roman|Even more random text.<ref>{{cite book|last=York|year=2040|title=Smith's book|page=42}}</ref>}}
  
{{true heading|Notes}}
+
{{fake heading|Notes}}
 
{{notelist/sandbox|group=upper-alpha}}
 
{{notelist/sandbox|group=upper-alpha}}
 
{{notelist/sandbox|group=lower-greek}}
 
{{notelist/sandbox|group=lower-greek}}
Line 83: Line 83:
 
{{notelist/sandbox|group=lower-roman}}
 
{{notelist/sandbox|group=lower-roman}}
  
{{true heading|References}}
+
{{fake heading|References}}
 
<references/>
 
<references/>
 
}}
 
}}
Line 90: Line 90:
  
 
{{markup|<nowiki>
 
{{markup|<nowiki>
Some information.{{sfn|Robert20109p=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}}}}
+
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 103: Line 103:
 
</nowiki>|
 
</nowiki>|
  
Some information.{{sfn|Robert20109p=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}}}}
+
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}}}}
  
{{true heading|Notes}}
+
{{fake heading|Notes}}
 
{{notelist/sandbox|group=upper-alpha}}<!-- Notelist does not support "close"; nor should it, outside of doc pages-->
 
{{notelist/sandbox|group=upper-alpha}}<!-- Notelist does not support "close"; nor should it, outside of doc pages-->
 
{{notelist/sandbox|group=lower-greek}}
 
{{notelist/sandbox|group=lower-greek}}
  
{{true heading|Citations}}
+
{{fake heading|Citations}}
 
{{reflist|close=1}}
 
{{reflist|close=1}}
  
{{truee heading|References}}
+
{{fake heading|References}}
* {{citation|last=Robertlyear=20ooltitle=Smith's book}}
+
* {{citation|last=Smith|year=2010|title=Smith's book}}
 
}}
 
}}
  

Latest revision as of 10:37, 29 March 2014

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/>}}{{efn/sandbox|group=note|Some random text.<ref>{{cite book|last=York|year=2040|title=Smith's book}}</ref>}}{{efn/sandbox|group=upper-roman|Some more random text.<ref>{{cite book|last=York|year=2040|title=Smith's book|page=12}}</ref>}}{{efn/sandbox|group=lower-roman|Even more random text.<ref>{{cite book|last=York|year=2040|title=Smith's book|page=42}}</ref>}}

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

==References==
{{reflist}}

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

Notes

Template:Notelist/sandbox Template:Notelist/sandbox Template:Notelist/sandbox Template:Notelist/sandbox Template:Notelist/sandbox

References
  1. 1.0 1.1 1.2 1.3 Smith (2009). Smith's book.
  2. York (2040). Smith's book. Check date values in: |year= (help)
  3. York (2040). Smith's book. p. 12. Check date values in: |year= (help)
  4. York (2040). Smith's book. p. 42. Check date values in: |year= (help)

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
Cite error: <ref> tags exist for a group named "note", but no corresponding <references group="note"/> tag was found, or a closing </ref> is missing
Cite error: <ref> tags exist for a group named "upper-roman", but no corresponding <references group="upper-roman"/> tag was found, or a closing </ref> is missing
Cite error: <ref> tags exist for a group named "lower-roman", but no corresponding <references group="lower-roman"/> tag was found, or a closing </ref> is missing