"සැකිල්ල:විස්තරාත්මක සටහන්/ලේඛය" හි සංශෝධන අතර වෙනස්කම්

Content deleted Content added
Imported from English Wikipedia!
 
No edit summary
1 පේළිය:
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
{{#section:Help:footnotes|pregroup}}
 
{{tl|efn}} is used, together with {{tl|notelist}}, to create explanatory notes.
 
==Usage==
<code><nowiki>{{efn|</nowiki>''Footnote text''<nowiki>}}</nowiki></code>
 
<code><nowiki>{{efn|name=</nowiki>''footnote name''<nowiki>|</nowiki>''Footnote text''<nowiki>}}</nowiki></code>
 
'''{{Para|name}}''' Sets a standard reference name per [[WP:NAMEDREFS]].
 
<code><nowiki>{{efn|group=</nowiki>''footnote group''<nowiki>|</nowiki>''Footnote text''<nowiki>}}</nowiki></code>
 
'''{{Para|group}}''' Sets the [[WP:REFGROUP|group name]]. This defaults to ''lower-alpha''.
 
The available options are:
{| class="wikitable"
|-
! group !! Styled as
|-
| note || <sup>[note 1]</sup>
|-
| upper-alpha || <sup>[A]</sup>
|-
| upper-roman || <sup>[IV]</sup>
|-
| lower-alpha || <sup>[a]</sup>
|-
| lower-greek || <sup>[α][β]</sup>
|-
| lower-roman || <sup>[iv]</sup>
|}
 
Remember that "=" cannot appear in an unnamed template parameter and "|" cannot appear in any template parameter. For "|", {{tl|!}} can be used. For "=", {{tl|{{=}}}} can be used or the parameter can be named 1= explicitly:
 
: <code><nowiki>{{efn|1=Converting at a rate of Kr&nbsp;20&nbsp;=&nbsp;£1.}}</nowiki></code>
 
==Examples==
Using full citations in footnotes:
 
{{markup|<nowiki>
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}}
 
</nowiki>|
 
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A clarification.<ref name=Smith2009/>}}
 
{{fake heading|Notes}}
{{reflist|group=lower-alpha|close=1}}<!-- Notelist does not support "close"; nor should it, outside of doc pages-->
 
{{fake heading|References}}
<references />
}}
 
Using {{sfnote}}:
 
{{markup|<nowiki>
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}}
</nowiki>|
 
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn|A clarification.{{sfn|Smith|2010|p=2}}}}
 
{{fake heading|Notes}}
{{reflist|group=lower-alpha|close=1}}<!-- Notelist does not support "close"; nor should it, outside of doc pages-->
 
{{fake heading|Citations}}
{{reflist|close=1}}
 
{{fake heading|References}}
* {{citation|last=Smith|year=2010|title=Smith's book}}
}}
 
You can create multiple explanatory lists by closing {{tl|notelist}}. This is useful when adding sources to elements such as multiple tables.
{{markup
|<nowiki>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|close}}
 
Some more information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A further clarification.<ref name=Smith2009/>}}
 
==Notes==
{{notelist|close}}
 
==References==
{{reflist}}</nowiki>
|Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A clarification.<ref name=Smith2009/>}}
 
{{fake heading|Notes}}
{{notelist|close}}
 
Some more information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A further clarification.<ref name=Smith2009/>}}
 
{{fake heading|Notes}}
{{notelist|close}}
 
{{fake heading|References}}
{{reflist}}
}}
 
==Example articles==
Line 121 ⟶ 9:
* [[John Diefenbaker]] (w/name= && note in {notelist})
* [[USS Monitor]]
 
==See also==
{{#lst:Help:Cite errors/Cite error group refs without references|rlt}}
 
<includeonly>
<!-- Categories and interwikis go here: -->
[[Category:Footnote templates]]
[[Category:Explanatory footnote templates]]
 
[[ca:Plantilla:Efn]]
[[uk:template:Efn]]
</includeonly>
"https://si.wikipedia.org/wiki/සැකිල්ල:විස්තරාත්මක_සටහන්/ලේඛය" වෙතින් සම්ප්‍රවේශනය කෙරිණි