Difference between revisions of "Template:Efn/testcases"
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
| 42px | This is the template test cases page for the sandbox of Template:Efn. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
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}}
|
|
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]
|
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] |
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] Template:Notelist/sandbox Template:Notelist/sandbox
|
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}}
|
|
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]
|
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