Difference between revisions of "Template:BMDb name"
Jump to navigation
Jump to search
imported>Zyxw (Trim any leading or trailing spaces from unnamed parameter for ID. Add fix for empty parameter for name. Add template for external link not in English. Show error message if no ID in template.) |
imported>Monkbot |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} | + | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P3821}} |
| − | | [http://www.bmdb.com.bd | + | | [http://www.bmdb.com.bd/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | person/{{Trim|{{{1|{{{id}}}}}}}} | {{First word|{{#property:P3821}}|sep=,}} }}/ {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at the Bangla Movie Database {{in lang|bn}}<includeonly>{{EditAtWikidata|pid=P3821|{{{1|{{{id|}}}}}}}}</includeonly> |
| − | | <span class="error">{{[[Template:BMDb name|BMDb name]]}} template missing ID.</span>{{Main other|[[Category:BMDb template | + | | <span class="error">{{[[Template:BMDb name|BMDb name]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:BMDb template missing ID and not in Wikidata]]}} |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | {{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:26, 29 December 2019
{{{name}}} at the Bangla Movie Database (in Bengali)
Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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
| The above documentation is transcluded from Template:BMDb name/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |