Difference between revisions of "Template:BoardGameGeek designer"
Jump to navigation
Jump to search
imported>Zyxw (move documentation and categories to /doc) |
imported>Zyxw (Display edit link if using Wikidata. Display an error message if no ID and no Wikidata) |
||
| Line 1: | Line 1: | ||
| − | {{bgg par|person|{{{1|{{{id<includeonly>|{{#property:P3505}}</includeonly>}}}}}}|{{{2|{{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}<noinclude> | + | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P3505}} |
| − | {{Documentation}} | + | |
| + | | {{bgg par|person|{{{1|{{{id<includeonly>|{{#property:P3505}}</includeonly>}}}}}}|{{{2|{{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}<includeonly>{{EditAtWikidata|pid=P3505|{{{1|{{{id|}}}}}}}}</includeonly> | ||
| + | |||
| + | | <span class="error">{{[[Template:BoardGameGeek designer|BoardGameGeek designer]]}} template missing ID and not present in Wikidata.</span> | ||
| + | |||
| + | }}<noinclude> | ||
| + | {{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:14, 20 August 2018
This template displays an external link to a page for a game designer at the BoardGameGeek website.
Usage
Unnamed parameters:
{{BoardGameGeek designer|ID}}{{BoardGameGeek designer|ID|NAME}}{{BoardGameGeek designer|ID|NAME|ID2|NAME2}}{{BoardGameGeek designer|ID|NAME|ID2|NAME2|ID3|NAME3}}
Named parameters:
{{BoardGameGeek designer|id=ID}}{{BoardGameGeek designer|id=ID|name=NAME}}
Using Wikidata property Template:Property:
{{BoardGameGeek designer}}{{BoardGameGeek designer|name=NAME}}
Example
Usage in the article Klaus Teuber, with article name as link text:
* {{BoardGameGeek designer|11}}* {{BoardGameGeek designer|id=11}}
Usage with name parameter as link text:
* {{BoardGameGeek designer|11|Klaus Teuber}}* {{BoardGameGeek designer|id=11|name=Klaus Teuber}}
Output:
- Klaus Teuber at BoardGameGeekScript error: No such module "EditAtWikidata".
- Klaus Teuber at BoardGameGeekScript error: No such module "EditAtWikidata".
URLs:
- https://www.boardgamegeek.com/person/11 (used in template)
- https://www.boardgamegeek.com/boardgamedesigner/11/klaus-teuber (redirect at website)
See also
| The above documentation is transcluded from Template:BoardGameGeek designer/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. |