Difference between revisions of "Template:Bollywood Hungama movie"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update to handle old numeric IDs with archived link - see example in documentation)
imported>Zyxw
m (update tracking)
Line 7: Line 7:
 
     | [https://web.archive.org/web/20120930000000/http://www.bollywoodhungama.com/movies/cast/{{Trim| {{{1|{{{id}}}}}} }}/index.html ''{{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at [[Bollywood Hungama]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Bollywood Hungama movie template using numeric ID]]}}
 
     | [https://web.archive.org/web/20120930000000/http://www.bollywoodhungama.com/movies/cast/{{Trim| {{{1|{{{id}}}}}} }}/index.html ''{{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at [[Bollywood Hungama]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Bollywood Hungama movie template using numeric ID]]}}
  
     | [https://www.bollywoodhungama.com/moviemicro/cast/id/{{Trim| {{{1|{{{id}}}}}} }} ''{{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at [[Bollywood Hungama]]
+
     | [https://www.bollywoodhungama.com/moviemicro/cast/id/{{Trim| {{{1|{{{id}}}}}} }} ''{{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at [[Bollywood Hungama]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Bollywood Hungama movie template using numeric ID]]}}
  
 
     }}
 
     }}

Revision as of 08:42, 18 August 2020

{{{title}}} at Bollywood Hungama

Template documentation[view] [edit] [history] [purge]

Template:Bollywood Hungama movie displays an external link to a page for a film title at the Bollywood Hungama website. It is intended for use in the external links section of an article.

Usage

The template has two parameters, one of which is optional. The required parameter is the ID, which is the unique code in the URL of the film on the Bollywood Hungama website that identifies the absolute Uniform Resource Identifier for a film. An optional second parameter, TITLE, can be used to specify the anchor text.

Unnamed parameters:

{{Bollywood Hungama movie | ID }}
{{Bollywood Hungama movie | ID | TITLE }}

Named parameters

{{Bollywood Hungama movie | id= ID }}
{{Bollywood Hungama movie | id= ID | title= TITLE }}
{{Bollywood Hungama movie | old_id= ID }}
{{Bollywood Hungama movie | old_id= ID | title= TITLE }}

Examples

Unnamed parameters

Usage:

* {{Bollywood Hungama movie | bbuddah-hoga-terra-baap | Bbuddah…Hoga Terra Baap }}
* {{Bollywood Hungama movie | 542573 | Bbuddah…Hoga Terra Baap }}

Output:

Current URL:

https://www.bollywoodhungama.com/movie/bbuddah-hoga-terra-baap/cast/

Former URLs:

https://www.bollywoodhungama.com/moviemicro/cast/id/542573 (archived 27 August 2016)
http://www.bollywoodhungama.com/movies/cast/14428/index.html (archived 4 December 2011)

Named parameters

Usage:

* {{Bollywood Hungama movie | id= tulsi-3 | title= Tulsi }}
* {{Bollywood Hungama movie | id= 540512 | title= Tulsi }}
* {{Bollywood Hungama movie | old_id= 13803 | title= Tulsi }}

Output:

Current URL:

https://www.bollywoodhungama.com/movie/tulsi-3/cast/

Former URLs:

https://www.bollywoodhungama.com/moviemicro/cast/id/540512 (archived 24 September 2015)
http://www.bollywoodhungama.com/movies/cast/13803/index.html (archived 26 November 2011)

No ID in template

Usage:

* {{Bollywood Hungama movie}}

Output:

Tracking categories

See also