Difference between revisions of "Template:C-SPAN/doc"

From blackwiki
Jump to navigation Jump to search
imported>Adavidb
m (added a note regarding the C-SPAN id)
imported>Zyxw
(note available Wikidata property, show current URL format)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Wikidata property|P2190}}
  
 
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.
 
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.
Line 18: Line 19:
 
! Field !! Data !! Result !! [[URL]] source
 
! Field !! Data !! Result !! [[URL]] source
 
|-
 
|-
| 1 || C-SPAN id || Appearances on || <nowiki>https://</nowiki>www.c-spanvideo.org/'''{{{1}}}'''
+
| 1 || C-SPAN id || Appearances on || https://<nowiki/>www.c-span.org/person/?'''{{{1}}}'''
 
|-
 
|-
 
|}
 
|}
 +
jonstewart
  
 
==Example==
 
==Example==
 
URL:
 
URL:
: <code><nowiki>https://</nowiki>www.c-spanvideo.org/{{hilite|jonstewart}}</code>
+
: <kbd>https://<nowiki/>www.c-spanvideo.org/{{hilite|jonstewart}}</kbd> (former URL)
 +
: <kbd>https://<nowiki/>www.c-span.org/person/?{{hilite|jonstewart}}</kbd> (current URL)
  
 
Usage:
 
Usage:

Revision as of 02:34, 14 August 2018

Template:Wikidata property

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

Cut & paste

{{C-SPAN|}}

Fields

The only field is the C-SPAN identifier.

Field Data Result URL source
1 C-SPAN id Appearances on https://www.c-span.org/person/?{{{1}}}

jonstewart

Example

URL:

https://www.c-spanvideo.org/jonstewart (former URL)
https://www.c-span.org/person/?jonstewart (current URL)

Usage:

{{C-SPAN | jonstewart }}

Result:

Appearances on C-SPAN

Note:

C-SPAN's naming convention varies, and while a 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. Also, not all political figures have appeared on C-SPAN.

See also