Template:Efn/testcases
This is the template test cases page for the sandbox of Template:Efn. 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
lembaDefault
lembaUsing 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/>}} {{fake heading|Notes}} {{notelist}} {{fake heading|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}}}} {{fake heading|Notes}} {{notelist}} {{fake heading|Citations}} {{reflist}} {{fake heading|References}} * {{citation|last=Smith|year=2010|title=Smith's book}} |
Some information.[1] More information.[lower-alpha 1]
|
Group
lembaUsing 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>}} {{fake heading|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] |
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}}}} {{fake heading|Notes}} {{notelist/sandbox|group=upper-alpha}} {{notelist/sandbox|group=lower-greek}} {{fake heading|Citations}} {{reflist}} {{fake heading|References}} * {{citation|last=Smith|year=2010|title=Smith's book}} |
Some information.[1] More information.[upper-alpha 1] Something else.[lower-greek 1][lower-greek 2]
|
Testing main template
lembaUsing 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]
|