Template:Bollywood Hungama movie: Difference between revisions
Appearance
Content deleted Content added
Miniapolis (talk | contribs) Fixed template (was generating a table) |
m Rollback edit(s) by MasterRus21thCentury (talk): Reverting good faith edits, seems broken (RW 16.1) |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1|}}} {{{id<includeonly>|</includeonly>}}} |
|||
[http://www.bollywoodhungama.com/moviemicro/cast/id/{{{1|{{{id}}}}}} ''{{{2|{{{title|{{PAGENAME}}}}}}}}''] at [[Bollywood Hungama]]<noinclude>{{documentation}}</noinclude> |
|||
| {{#if: {{Isnumeric| {{{1|{{{id}}}}}} }} |
|||
| [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]]}} |
|||
| [https://www.bollywoodhungama.com/movie/{{Trim| {{{1|{{{id}}}}}} }}/cast/ ''{{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at [[Bollywood Hungama]] |
|||
}} |
|||
| {{#if: {{{old_id|}}} |
|||
| [https://web.archive.org/web/20120930000000/http://www.bollywoodhungama.com/movies/cast/{{{old_id}}}/index.html ''{{#if: {{{title|}}} | {{{title}}} | {{PAGENAMEBASE}} }}''] at [[Bollywood Hungama]]{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Bollywood Hungama movie template using numeric ID]]}} |
|||
| <span class="error">{{[[Template:Bollywood Hungama movie|Bollywood Hungama movie]]}} template missing ID.</span> |
|||
}} |
|||
}}<noinclude> |
|||
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> |
|||
</noinclude> |
Latest revision as of 10:58, 19 September 2022
{{{title}}} at Bollywood Hungama
This template uses the Wikidata property:
This template uses Lua: |
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 }}
- Using Wikidata property
{{Bollywood Hungama movie}}
{{Bollywood Hungama movie | name= NAME }}
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:
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:
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:
- {{Bollywood Hungama movie}} template missing ID.