Difference between revisions of "Template:BMDb name/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(updates for use of Wikidata)
imported>Zyxw
m (→‎ID in Wikidata: update example to match image used by template)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Uses Wikidata|P3821}}
 
{{Uses Wikidata|P3821}}
 +
{{Lua|Module:EditAtWikidata}}
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page for a person in the Bangla Movie Database. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page for a person in the Bangla Movie Database. It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
Line 25: Line 26:
 
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 755 }}
 
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 755 }}
  
''Usage with title parameter as link text:''
+
''Usage with name parameter as link text:''
 
: {{tlcw|a=1|{{BASEPAGENAME}} | 755 | Sohana Saba }}
 
: {{tlcw|a=1|{{BASEPAGENAME}} | 755 | Sohana Saba }}
 
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 755 | name{{=}} Sohana Saba }}
 
: {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 755 | name{{=}} Sohana Saba }}
Line 41: Line 42:
  
 
''Output:''
 
''Output:''
:* {{{{BASEPAGENAME}} | 1133 | Tareque Masud }} [[File:Blue pencil.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q983547#P3821 |Edit this at Wikidata]]
+
:* {{{{BASEPAGENAME}} | 1133 | Tareque Masud }} [[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q983547#P3821 |Edit this at Wikidata]]
  
 
''URL:''
 
''URL:''

Latest revision as of 08:19, 9 December 2019

Template:Uses Wikidata

Template:BMDb name displays an external link to a page for a person 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 Sohana Saba, with article name as link text:

Template:Tlcw
Template:Tlcw

Usage with name parameter as link text:

Template:Tlcw
Template:Tlcw

Output:

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

URL:

http://www.bmdb.com.bd/person/755/

ID in Wikidata

Usage in the article Tareque Masud:

Template:Tlcw
Template:Tlcw

Output:

URL:

http://www.bmdb.com.bd/person/1133/

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