Difference between revisions of "Template:BMDb name/doc"
Jump to navigation
Jump to search
imported>Moheen (+) |
imported>Zyxw m (→ID in Wikidata: update example to match image used by template) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- 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| | + | {{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. | ||
== Usage == | == Usage == | ||
| − | + | Unnamed parameters: | |
| − | + | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }} | |
| − | + | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }} | |
| − | + | ||
| − | </ | + | Named parameters: |
| − | + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> }} | |
| − | + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | name{{=}} <var>NAME</var> }} | |
| − | + | ||
| − | * {{ | + | Using [[Wikidata]] property {{Property|P3821}}: |
| − | </ | + | : {{tlcw|{{BASEPAGENAME}} }} |
| + | : {{tlcw|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }} | ||
| + | |||
| + | == Examples == | ||
| + | |||
| + | === ID in template === | ||
| + | ''Usage in the article [[Sohana Saba]], with article name as [[link text]]:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | 755 }} | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 755 }} | ||
| + | |||
| + | ''Usage with name parameter as link text:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | 755 | Sohana Saba }} | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} 755 | name{{=}} Sohana Saba }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | 755 | Sohana Saba }} | ||
| + | |||
| + | ''URL:'' | ||
| + | : <kbd>[http://www.bmdb.com.bd/person/755/ http://www.bmdb.com.bd/person/{{Hilite|755}}/]</kbd> | ||
| + | |||
| + | === ID in Wikidata === | ||
| + | ''Usage in the article [[Tareque Masud]]:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | name{{=}} Tareque Masud }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{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:'' | ||
| + | : <kbd>[http://www.bmdb.com.bd/movie/203/ http://www.bmdb.com.bd/{{Hilite|person/1133}}/]</kbd> | ||
| + | |||
| + | === No ID in template or Wikidata === | ||
| + | ''Usage:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} }} | ||
| + | |||
| + | == Tracking category == | ||
| + | * {{clc|BMDb template missing ID and not in Wikidata}} | ||
| + | |||
| + | == See also == | ||
| + | * [[Template:BMDb title]] | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Film external link templates]] | [[Category:Film external link templates]] | ||
| + | [[Category:Television external link templates]] | ||
[[Category:People and person external link templates]] | [[Category:People and person external link templates]] | ||
| − | [[Category: | + | [[Category:Templates that add a tracking category]] |
| − | [[Category: | + | [[Category:External link templates using Wikidata]] |
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 08:19, 9 December 2019
| This is a documentation subpage for Template:BMDb name. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
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.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Property:
Examples
ID in template
Usage in the article Sohana Saba, with article name as link text:
Usage with name parameter as link text:
Output:
- Sohana Saba at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata".
URL:
ID in Wikidata
Usage in the article Tareque Masud:
Output:
- Tareque Masud at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata". Edit this at Wikidata
URL:
No ID in template or Wikidata
Usage:
Output:
- Template:PAGENAMEBASE at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata".
Tracking category
See also