Difference between revisions of "Template:Efn/testcases"
imported>Edgepedia (→Testing sandbox version: add 'note' version to testcases) |
imported>Edgepedia (→Group: show all options) |
||
| 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<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>}} | + | 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== | ==Notes== | ||
| Line 66: | Line 66: | ||
{{notelist/sandbox|group=lower-greek}} | {{notelist/sandbox|group=lower-greek}} | ||
{{notelist/sandbox|group=note}} | {{notelist/sandbox|group=note}} | ||
| + | {{notelist/sandbox|group=upper-roman}} | ||
| + | {{notelist/sandbox|group=lower-roman}} | ||
==References== | ==References== | ||
| Line 72: | Line 74: | ||
</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<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>}} | + | 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>}} |
{{fake 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}} | ||
{{notelist/sandbox|group=note}} | {{notelist/sandbox|group=note}} | ||
| + | {{notelist/sandbox|group=upper-roman}} | ||
| + | {{notelist/sandbox|group=lower-roman}} | ||
| + | |||
{{fake heading|References}} | {{fake heading|References}} | ||
<references/> | <references/> | ||
}} | }} | ||
| − | |||
Using {{sfnote}}: | Using {{sfnote}}: | ||
Revision as of 20:21, 16 January 2014
| 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/>}}{{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] Template:Notelist/sandbox Template:Notelist/sandbox Template:Notelist/sandbox Template:Notelist/sandbox Template:Notelist/sandbox |
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
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