Difference between revisions of "Template:BCDB title"
imported>SMcCandlish (self-rv; my bad – the title really is "The Big Cartoon Database") |
imported>SMcCandlish (|quotes= parameter) |
||
| Line 1: | Line 1: | ||
| − | [https://www.bcdb.com/bcdb/cartoon.cgi?film={{{1|{{{id}}}}}} ''{{{2|{{{title|{{PAGENAMEBASE}}}}}}}}''] at [[The Big Cartoon DataBase]]<noinclude> | + | [https://www.bcdb.com/bcdb/cartoon.cgi?film={{{1|{{{id}}}}}} {{#if:{{{quotes|}}}|"{{{2|{{{title|{{PAGENAMEBASE}}}}}}}}"|''{{{2|{{{title|{{PAGENAMEBASE}}}}}}}}''}}] at [[The Big Cartoon DataBase]]<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 09:03, 8 November 2017
Template:PAGENAMEBASE at The Big Cartoon DataBase
Template:Template redirect Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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:
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:
See also
| The above documentation is transcluded from Template:BCDB title/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |