Difference between revisions of "Template:BoardGameGeek designer"

From blackwiki
Jump to navigation Jump to search
imported>Elegie
(Boldly change the parameter "designer" -> "person" in order to reduce the number of redirects)
imported>Zyxw
(move documentation and categories to /doc)
Line 1: Line 1:
{{bgg par|person|{{{1|{{{id|{{#property:P3505}}}}}}}}|{{{2|{{{name|{{PAGENAMEBASE}}}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}<noinclude>{{documentation|content=
+
{{bgg par|person|{{{1|{{{id<includeonly>|{{#property:P3505}}</includeonly>}}}}}}|{{{2|{{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}<noinclude>
{{Uses Wikidata|P3505}}
+
{{Documentation}}
==Usage==
+
</noinclude>
Used for external links to designers at [[BoardGameGeek]]
 
 
 
*<nowiki>{{bgg designer}}</nowiki> links the current page to designer specified by Wikidata property {{Wikidata entity link|P3505}}
 
*<nowiki>{{bgg designer|N}}</nowiki> links the current page to designer ''N''
 
*<nowiki>{{bgg designer|N|Name}}</nowiki> links ''Name'' to designer ''N''
 
*<nowiki>{{bgg designer|X|Name1|Y|Name2}}</nowiki> links ''Name1'' to designer ''X'' and ''Name2'' to designer ''Y''
 
*<nowiki>{{bgg designer|X|Name1|Y|Name2|Z|Name3}}</nowiki> links ''Name1'' to designer ''X'', ''Name2'' to designer ''Y'' and ''Name3'' to designer ''Z''
 
 
 
[[Category:People and person external link templates|Bgg designer]]
 
 
 
}}</noinclude>
 

Revision as of 10:34, 20 August 2018

{{{name}}} at BoardGameGeek

50px Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata

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:

URLs:

https://www.boardgamegeek.com/person/11 (used in template)
https://www.boardgamegeek.com/boardgamedesigner/11/klaus-teuber (redirect at website)

See also