• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:C-SPAN

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 13,000 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.
This template uses the Wikidata property:
  • C-SPAN person string ID (deprecated) (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.

Contents

  • 1 Usage
    • 1.1 Fields
  • 2 Example
    • 2.1 URLs
    • 2.2 Usages
    • 2.3 Results
  • 3 Notes
  • 4 Categories
    • 4.1 Maintenance tracking category

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 C-SPAN person string ID (deprecated) (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 used
  • https://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

  • Category:People appearing on C-SPAN (12,788) – uses of the C-SPAN template

Maintenance tracking category

  • Category:Pages using non-numeric C-SPAN identifiers (72) – Value entered is a non numeric format.
  • Category:C-SPAN template failing to display (0) – Template is present on the page, but no value was provided and no Wikidata fallback exists.
The above documentation is transcluded from Template:C-SPAN/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:C-SPAN&oldid=1079816152"
Last edited on 28 March 2022, at 19:30

Languages

    • Afrikaans
    • العربية
    • Արեւմտահայերէն
    • Azərbaycanca
    • تۆرکجه
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Беларуская (тарашкевіца)
    • भोजपुरी
    • Boarisch
    • Bosanski
    • Català
    • Cebuano
    • Cymraeg
    • Dansk
    • Eesti
    • Ελληνικά
    • فارسی
    • Français
    • 한국어
    • Հայերեն
    • ಕನ್ನಡ
    • ქართული
    • کٲشُر
    • Latina
    • Magyar
    • Македонски
    • مصرى
    • नेपाली
    • 日本語
    • ଓଡ଼ିଆ
    • ਪੰਜਾਬੀ
    • ភាសាខ្មែរ
    • Português
    • Română
    • Scots
    • සිංහල
    • Simple English
    • Slovenščina
    • کوردی
    • Српски / srpski
    • తెలుగు
    • ไทย
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • 粵語
    • 中文
    • Kadazandusun
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 28 March 2022, at 19:30 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop