ਫਰਮਾ:Source-attribution
This article incorporates text from this source, which is in the public domain.
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[ਸੋਧੋ]This template should be placed in the References section of an article if the article incorporates text from a source that is not under copyright and there is no source specific template listed in Category:Attribution templates.
- {{Source-attribution|source and other details|no-icon=y |pl=y |inline=y}}
The four parameters are:
(unnamed) =1
— The name of the source, along with any other details which are needed to identify the work (the argument (the text) can also be another template such assource name and other identifying details
{{cite book}}
)
=no-icon
— remove the leading icon (alternativey
and the argument can be any string such as yes or 1 etc)noicon
pl
=y
— changes the wording from "from a publication" to "from publications" (alternative
and the argument can be any string such as yes or 1 etc).plural
=inline
— change the wording of the prescript from "This article..." to "One or more of the preceding sentences..." (alternativey
and the argument can be any string such as yes or 1 etc). It is intended for use in inline citations.sentence
TemplateData
[ਸੋਧੋ]Adds a notice that an article incorporates information from a public domain source
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Source | 1 | The name of the source, along with any other details which are needed to identify the work | Content | suggested |
No icon? | no-icon noicon | Set to y to remove the leading icon | Boolean | optional |
Plural? | pl plural | Set to y to change "from a publication" to "from publications" | Boolean | optional |
Inline? | inline sentence | Set to y to change "This article" to "One or more of the preceding sentences" | Boolean | optional |
Examples
[ਸੋਧੋ]- Using
|no-icon=y
, as in<ref>{{Source-attribution|no-icon=y}}</ref>
, removes the leading icon [1] - A text string with no parameters (and followed by a citation), such as
<ref>{{Source attribution}} {{cite book|last=Offa |first=Anne |year=1066|title=An Old Book}}</ref>
, would display as [2] - The template with a citation as the unnamed parameter, e.g.
<ref>{{Source-attribution|{{cite book |title= Handbook to the cathedrals of England |first=Richard |last=John |date=1869}} }}</ref>
, shows as [3] - Using
|pl=y
, as in<ref>{{Source-attribution|pl=y|John, Richard (1869). ''Handbook to the cathedrals of England''; and {{cite book|last=Offa |first=Anne |year=1066|title=An Old Book}}}}</ref>
, shows as [4] - Using
|inline=y
, as in<ref>{{Source-attribution|inline=y|''Handbook to the cathedrals of England'', by Richard John (1869)}}</ref>
, shows as [5] - Using all four parameters simultaniously
<ref>{{Source-attribution|''sources and other details''|no-icon=y |pl=y |inline=y}}</ref>
[6]
In the references section, these appear as ਫਰਮਾ:Reflist-talk
Hidden category
[ਸੋਧੋ]This template includes a hidden category—Category:Source attribution—which does not appear at the bottom of an article page but does contain any article page that contains this template.
See also
[ਸੋਧੋ]- {{Free-content attribution}} — prescript for a source that meets the definition of a free cultural work
- ↑ This article incorporates text from this source, which is in the public domain.
- ↑ This article incorporates text from this source, which is in the public domain. Nakli itihaas jo likheya geya hai kade na vaapriya jo ohna de base te, saade te saada itihaas bna ke ehna ne thop dittiyan. anglo sikh war te ek c te 3-4 jagaha te kiwe chal rahi c ikko war utto saal 1848 jdo angrej sara punjab 1845 ch apne under kar chukke c te oh 1848 ch kihna nal jang ladd rahe c. Script error: The function "citation198.168.27.221 14:54, 13 ਦਸੰਬਰ 2024 (UTC)'"`UNIQ--ref-0000001C-QINU`"'</ref>" does not exist.
- ↑ This article incorporates text from this source, which is in the public domain: Nakli itihaas jo likheya geya hai kade na vaapriya jo ohna de base te, saade te saada itihaas bna ke ehna ne thop dittiyan. anglo sikh war te ek c te 3-4 jagaha te kiwe chal rahi c ikko war utto saal 1848 jdo angrej sara punjab 1845 ch apne under kar chukke c te oh 1848 ch kihna nal jang ladd rahe c. Script error: The function "citation198.168.27.221 14:54, 13 ਦਸੰਬਰ 2024 (UTC)'"`UNIQ--ref-0000001D-QINU`"'</ref>" does not exist.
- ↑ This article incorporates text from these sources, which are in the public domain: John, Richard (1869). Handbook to the cathedrals of England; and Nakli itihaas jo likheya geya hai kade na vaapriya jo ohna de base te, saade te saada itihaas bna ke ehna ne thop dittiyan. anglo sikh war te ek c te 3-4 jagaha te kiwe chal rahi c ikko war utto saal 1848 jdo angrej sara punjab 1845 ch apne under kar chukke c te oh 1848 ch kihna nal jang ladd rahe c. Script error: The function "citation198.168.27.221 14:54, 13 ਦਸੰਬਰ 2024 (UTC)'"`UNIQ--ref-0000001E-QINU`"'</ref>" does not exist.
- ↑ One or more of the preceding sentences incorporates text from this source, which is in the public domain: Handbook to the cathedrals of England, by Richard John (1869)
- ↑ One or more of the preceding sentences incorporates text from these sources, which are in the public domain: sources and other details