Difference between revisions of "Template:BMDb title"

From blackwiki
Jump to navigation Jump to search
imported>Moheen
(-)
imported>Monkbot
m (→‎top: Task 15: language icon template(s) replaced (2×);)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.bmdb.com.bd/{{#if:{{{1|{{{id|}}}}}}|movie/{{#ifeq:{{Str left|{{{1|{{{id}}}}}}|2}}}}{{Trim|{{{1|{{{id}}}}}}}}|{{#if:{{#property:P345}}|title/{{#property:P345}}|Title?{{urlencode:{{PAGENAME}}}}}}}}/{{#switch:{{lc:{{{section|}}} }}
+
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P3821}}
|award|awards=awards Awards for
+
 
}} ''{{{2|{{{title|{{PAGENAMEBASE}}}}}}}}'' {{{3|{{{description|}}}}}}] at the [[BMDb|Bangla Movie Database]]<includeonly>{{#if:{{{1|{{{id|}}}}}}{{#property:P345}}||[[Category:BMDb template with no id set]]}}</includeonly><noinclude>
+
| [http://www.bmdb.com.bd/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | movie/{{Trim|{{{1|{{{id}}}}}}}} | {{First word|{{#property:P3821}}|sep=,}} }}/ ''{{#if: {{{2|{{{title<includeonly>|</includeonly>}}}}}} | {{{2|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at the Bangla Movie Database {{in lang|bn}}<includeonly>{{EditAtWikidata|pid=P3821|{{{1|{{{id|}}}}}}}}</includeonly>
{{documentation}}
+
 
 +
| <span class="error">&#123;&#123;[[Template:BMDb title|BMDb title]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:BMDb template missing ID and not in Wikidata]]}}
 +
 
 +
}}<noinclude>
 +
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 19:22, 29 December 2019

{{{title}}} at the Bangla Movie Database (in Bengali)

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

Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:BMDb title displays an external link to a page for a movie title in the Bangla Movie Database. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property Template:Property:

Template:Tlcw
Template:Tlcw

Examples

ID in template

Usage in the article Krishnopokkho (film), with article name as link text:

Template:Tlcw
Template:Tlcw

Usage with title parameter as link text:

Template:Tlcw
Template:Tlcw

Output:

  • Krishnopokkho at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata".

URL:

http://www.bmdb.com.bd/movie/523/

ID in Wikidata

Usage in the article Matir Moina:

Template:Tlcw
Template:Tlcw

Output:

  • Matir Moina at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata". Edit this at Wikidata

URL:

http://www.bmdb.com.bd/movie/203/

No ID in template or Wikidata

Usage:

Template:Tlcw

Output:

  • Template:PAGENAMEBASE at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata".

Tracking category

See also