Difference between revisions of "Template:BCDB title/doc"
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>{{ | + | <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
| This is a documentation subpage for Template:BCDB title. It contains usage information, categories and other content that is not part of the original template page. |
Template:Template redirect Template:Uses Wikidata
| This template uses Lua: |
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.
Contents
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:
- Punk Farm at The Big Cartoon DataBaseScript error: No such module "EditAtWikidata".
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:
- "Cue Ball Cat" at The Big Cartoon DataBaseScript error: No such module "EditAtWikidata".
No ID in template or Wikidata
Usage:
{{BCDB title}}
Output:
- Template:PAGENAMEBASE at The Big Cartoon DataBaseScript error: No such module "EditAtWikidata".
See also