Difference between revisions of "Template:BCDB title/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (fix intro)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 70: Line 70:
 
* [[Wikipedia:External links/Perennial websites]]
 
* [[Wikipedia:External links/Perennial websites]]
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Film external link templates]]
 
[[Category:Film external link templates]]

Latest revision as of 23:46, 23 April 2020

Template:Template redirect Template:Uses Wikidata

Template:BCDB title displays an external link to a film entry in The Big Cartoon DataBase (BCDB). It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{BCDB title | ID }}
{{BCDB title | ID | TITLE }}

Named parameters:

{{BCDB title | id= ID }}
{{BCDB title | id= ID | title= TITLE }}

Using Wikidata property P4933:

{{BCDB title}}
{{BCDB title | title= TITLE }}

Where TITLE is the hypertext, and ID is the number highlighted in these two sample URLs:

https://www.bcdb.com/bcdb/cartoon.cgi?film=25028
https://www.bcdb.com/cartoon/25028-Antz

As with the IMDb title template, the title defaults to the current article title.

Typically this is a list item in the external links section (even if there is only one link), so you should add * in front of the template.

Quotation marks for short films

The template's default italics for titles should be changed to quotation marks for short works (including episode titles of TV series), per MOS:TITLES. This is done with |quotes=yes (or any other value for that parameter, e.g. |quotes=y or |quotes=true.

Examples

Feature or series title

URLs:

https://www.bcdb.com/bcdb/cartoon.cgi?film=79999
https://www.bcdb.com/cartoon/79999-Punk-Farm

Usage:

* {{BCDB title | 79999 | Punk Farm }}

Output:

Short film or episode titles

URLs:

https://www.bcdb.com/bcdb/cartoon.cgi?film=3168
https://www.bcdb.com/cartoon/3168-Cue-Ball-Cat

Usage:

* {{BCDB title | id= 3168 | title= Cue Ball Cat | quotes= y }}

Output:

No ID in template or Wikidata

Usage:

{{BCDB title}}

Output:

Template:PAGENAMEBASE at The Big Cartoon DataBaseScript error: No such module "EditAtWikidata".

See also