Difference between revisions of "Template:Cite BOM/doc"
Jump to navigation
Jump to search
imported>Tenebrae (adding publisher field) |
imported>Tenebrae (wikilinks) |
||
| Line 19: | Line 19: | ||
Using positional parameters: | Using positional parameters: | ||
| − | *<code><nowiki>{{cite BOM|https://www.boxofficemojo.com/title/tt3281548/|Little Women|IMDb}}</nowiki></code> → {{cite BOM|https://www.boxofficemojo.com/title/tt3281548/|Little Women|IMDb}} | + | *<code><nowiki>{{cite BOM|https://www.boxofficemojo.com/title/tt3281548/|Little Women|[[IMDb]]}}</nowiki></code> → {{cite BOM|https://www.boxofficemojo.com/title/tt3281548/|Little Women|[[IMDb]]}} |
using named parameters: | using named parameters: | ||
| − | *<code><nowiki>{{cite BOM|url=https://www.boxofficemojo.com/title/tt3281548/|title=Little Women|publisher=IMDb}}</nowiki></code> → {{cite BOM|url=https://www.boxofficemojo.com/title/tt3281548/|title=Little Women|publisher=IMDb}} | + | *<code><nowiki>{{cite BOM|url=https://www.boxofficemojo.com/title/tt3281548/|title=Little Women|publisher=[[IMDb]]}}</nowiki></code> → {{cite BOM|url=https://www.boxofficemojo.com/title/tt3281548/|title=Little Women|publisher=[[IMDb]]}} |
Using {{para|mode|cs2}}: | Using {{para|mode|cs2}}: | ||
Revision as of 23:36, 6 February 2020
| This is a documentation subpage for Template:Cite BOM. It contains usage information, categories and other content that is not part of the original template page. |
Used to cite some page on Box Office Mojo.
Usage
This template accepts two positional parameter and three named parameters. The positional parameters, from left to right are:
{{{1}}}– the url of the page at BOM{{{2}}}– the title of the page at BOM{{{3}}}– the parent company of BOM at time of citation
The named parameters are
|url=– the url of the page at BOM|title=– the title of the page at BOM|mode=– similar to|mode=used by cs1|2 templates, when set tocs2, this template omits the trailing dot|publisher=– the parent company of BOM at time of citation
Examples
Unexpected results may occur when positional and named parameters are mixed. |mode= is always named so may be used with either format.
Using positional parameters:
{{cite BOM|https://www.boxofficemojo.com/title/tt3281548/|Little Women|[[IMDb]]}}→ Error: no|id=specified when using {{Cite BOM}}Template:Namespace detect showall
using named parameters:
{{cite BOM|url=https://www.boxofficemojo.com/title/tt3281548/|title=Little Women|publisher=[[IMDb]]}}→ Error: no|id=specified when using {{Cite BOM}}Template:Namespace detect showall
Using |mode=cs2:
{{cite BOM|url=https://www.boxofficemojo.com/title/tt3281548/|title=Little Women |mode=cs2}}→ Error: no|id=specified when using {{Cite BOM}}Template:Namespace detect showall