සැකිල්ල:C-SPAN/doc
This is a documentation subpage for සැකිල්ල:C-SPAN. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
මෙම සැකිල්ල පිටු 11,000 පමණ භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
This template uses the Wikidata property:
- C-SPAN person ID (P2190) (see uses)
This template allows linking to the C-SPAN link appropriate for many biographies. This will aid in the maintenance and standardization of these external links.
Usage
සංස්කරණයThis template should not be substituted.
{{C-SPAN}}
Fields
සංස්කරණයThe only field is the C-SPAN identifier. If it is not provided, then the first value from Wikidata will be used. If the Wikidata item does not have any (P2190) data, or there is no Wikidata item for the article, then a link will not display.
Field | Data | Result | URL source |
---|---|---|---|
1 | C-SPAN id | Appearances on | https://www.c-span.org/person/?{{{1}}} |
Example
සංස්කරණයURLs
සංස්කරණයhttps://www.c-span.org/person/?48924
(suggested URL format) does not require "/JonStewart" when usedhttps://www.c-span.org/person/?jonstewart
(deprecated URL format)https://www.c-spanvideo.org/jonstewart
(deprecated URL format)
Usages
සංස්කරණය{{C-SPAN|48924}}
– suggested use.
{{C-SPAN}}
– alternative use, only if P2190 exists on Wikidata for the page. If no Wikidata value is present, the page is added to Category:C-SPAN template failing to display.
{{C-SPAN|jonstewart}}
– deprecated use.
Results
සංස්කරණය- Appearances on C-SPAN – Example using Numeric ID for "jonstewart" from https://www.c-span.org/person/?48924/JonStewart
- Appearances on C-SPAN – A warning is issued on preview, and the link may break if the string changes on C-SPAN; the article is added to the maintenance category Category:Pages using non-numeric C-SPAN identifiers
Notes
සංස්කරණය- The C-SPAN template now supports a numeric ID for persons and is backward compatible with existing string use. It is suggested to use the numeric ID rather than the text based naming convention due to variations for the name and breaking of links when the string changes.
- The text ID traditionally has been in the format of concatenation of first name with last name appears to be most common, a middle name, middle initial, or alternate name may be a component of the id used for C-SPAN appearances. This approach is not recommended as the string may change and break the link.
- Also, not all political figures have appeared on C-SPAN.
Categories
සංස්කරණය- ප්රවර්ගය:People appearing on C-SPAN (11) – uses of the C-SPAN template
Maintenance tracking category
සංස්කරණය- ප්රවර්ගය:Pages using non-numeric C-SPAN identifiers (0) – Value entered is a non numeric format.
- ප්රවර්ගය:C-SPAN template failing to display (0) – Template is present on the page, but no value was provided and no Wikidata fallback exists.
See also
සංස්කරණය- {{WorldCat id}}