Difference between revisions of "Template:BMDb name/doc"
Jump to navigation
Jump to search
imported>GZWDer |
imported>Zyxw (add examples, add template category) |
||
| Line 13: | Line 13: | ||
* {{BMDb name | id= ID | name= Name }} | * {{BMDb name | id= ID | name= Name }} | ||
</pre> | </pre> | ||
| + | |||
| + | == Examples == | ||
| + | |||
| + | === Unnamed parameters === | ||
| + | ''URL:'' | ||
| + | : <kbd>[http://www.bmdb.com.bd/person/755/ http://www.bmdb.com.bd/person/{{Hilite|755}}/]</kbd> | ||
| + | |||
| + | ''Usage:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | 755 | Sohana Saba }} | ||
| + | |||
| + | ''Output:'' | ||
| + | : {{{{BASEPAGENAME}} | 755 | Sohana Saba }} | ||
| + | |||
| + | === Named parameters === | ||
| + | ''URL:'' | ||
| + | : <kbd>[http://www.bmdb.com.bd/person/2132/ http://www.bmdb.com.bd/person/{{Hilite|2132}}/]</kbd> | ||
| + | |||
| + | ''Usage:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} 2132 | name{{=}} Pori Moni }} | ||
| + | |||
| + | ''Output:'' | ||
| + | : {{{{BASEPAGENAME}} | id= 2132 | name= Pori Moni }} | ||
| + | |||
| + | === No parameters === | ||
| + | ''Usage:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}}}} | ||
| + | |||
| + | ''Output:'' | ||
| + | : {{{{BASEPAGENAME}}<!-- -->}} | ||
<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]] |
}}</includeonly> | }}</includeonly> | ||
Revision as of 19:12, 28 March 2019
| 40px | 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. |
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:
Usage:
Output:
- Sohana Saba at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata".
Named parameters
URL:
Usage:
Output:
- Pori Moni at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata".
No parameters
Usage:
Output:
- Template:PAGENAMEBASE at the Bangla Movie Database (in Bengali)Script error: No such module "EditAtWikidata".