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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add examples, add template category)
imported>Zyxw
(add links)
Line 42: Line 42:
 
''Output:''
 
''Output:''
 
: {{{{BASEPAGENAME}}<!-- -->}}
 
: {{{{BASEPAGENAME}}<!-- -->}}
 +
 +
== Tracking category ==
 +
* {{clc|BMDb template with no id set}}
 +
 +
== See also ==
 +
* [[Template:BMDb title]]
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 19:16, 28 March 2019

Usage

The required parameter is the ID number. The template then uses the article title as the anchor text:

* {{BMDb name | ID }}
* {{BMDb name | id= ID }}

To have the link text be other than the article name, use second parameter:

* {{BMDb name | ID | Name }}
* {{BMDb name | id= ID | name= Name }}

Examples

Unnamed parameters

URL:

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

Usage:

Template:Tlcw

Output:

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

Named parameters

URL:

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

Usage:

Template:Tlcw

Output:

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

No parameters

Usage:

Template:Tlcw

Output:

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

Tracking category

See also