Difference between revisions of "Template:Cite BOM/doc"

From blackwiki
Jump to navigation Jump to search
imported>Tenebrae
(created page - first pass)
 
imported>Tenebrae
(adding publisher field)
Line 7: Line 7:
 
:<code><nowiki>{{{1}}}</nowiki></code> – the url of the page at BOM
 
:<code><nowiki>{{{1}}}</nowiki></code> – the url of the page at BOM
 
:<code><nowiki>{{{2}}}</nowiki></code> – the title of the page at BOM
 
:<code><nowiki>{{{2}}}</nowiki></code> – the title of the page at BOM
 +
:<code><nowiki>{{{3}}}</nowiki></code> – the parent company of BOM at time of citation
 +
 
The named parameters are
 
The named parameters are
 
:{{para|url}} – the url of the page at BOM
 
:{{para|url}} – the url of the page at BOM
 
:{{para|title}} – the title of the page at BOM
 
:{{para|title}} – the title of the page at BOM
 
:{{para|mode}} – similar to {{para|mode}} used by cs1|2 templates, when set to <code>cs2</code>, this template omits the trailing dot
 
:{{para|mode}} – similar to {{para|mode}} used by cs1|2 templates, when set to <code>cs2</code>, this template omits the trailing dot
 +
:{{para|publisher}} – the parent company of BOM at time of citation
  
 
===Examples===
 
===Examples===
Line 16: Line 19:
  
 
Using positional parameters:
 
Using positional parameters:
*<code><nowiki>{{cite BOM|https://www.boxofficemojo.com/title/tt3281548/|Little Women}}</nowiki></code> → {{cite BOM|https://www.boxofficemojo.com/title/tt3281548/|Little Women}}
+
*<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}}</nowiki></code> → {{cite BOM|url=https://www.boxofficemojo.com/title/tt3281548/|title=Little Women}}
+
*<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

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 to cs2, 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:

using named parameters:

Using |mode=cs2: