Difference between revisions of "Template:BoardGameGeek publisher"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
imported>Zyxw
(move documentation and categories to /doc)
 
Line 1: Line 1:
{{bgg par|company|{{{1|{{{id}}}}}}|{{{2|{{{name|{{PAGENAME}}}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}<noinclude>
+
{{bgg par|company|{{{1|{{{id<includeonly>|</includeonly>}}}}}}|{{{2|{{{name<includeonly>|{{PAGENAME}}</includeonly>}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}<noinclude>
==Usage==
+
{{Documentation}}
Used for external links to publishers at [[BoardGameGeek]]
 
 
 
*<nowiki>{{bgg publisher|N}}</nowiki> links the current page to publisher ''N''
 
*<nowiki>{{bgg publisher|N|Name}}</nowiki> links ''Name'' to publisher ''N''
 
*<nowiki>{{bgg publisher|X|Name1|Y|Name2}}</nowiki> links ''Name1'' to publisher ''X'' and ''Name2'' to publisher ''Y''
 
*<nowiki>{{bgg publisher|X|Name1|Y|Name2|Z|Name3}}</nowiki> links ''Name1'' to publisher ''X'', ''Name2'' to publisher ''Y'' and ''Name3'' to publisher ''Z''
 
 
 
[[Category:External link templates|Bgg publisher]]
 
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 10:48, 20 August 2018

{{{name}}} at BoardGameGeek

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

This template displays an external link to a page for a game publisher at the BoardGameGeek website.

Usage

Unnamed parameters:

{{BoardGameGeek publisher|ID}}
{{BoardGameGeek publisher|ID|NAME}}
{{BoardGameGeek publisher|ID|NAME|ID2|NAME2}}
{{BoardGameGeek publisher|ID|NAME|ID2|NAME2|ID3|NAME3}}

Named parameters:

{{BoardGameGeek publisher|id=ID}}
{{BoardGameGeek publisher|id=ID|name=NAME}}

Example

Usage in the article Columbia Games, with article name as link text:

* {{BoardGameGeek publisher|49}}
* {{BoardGameGeek publisher|id=49}}

Usage with name parameter as link text:

* {{BoardGameGeek publisher|49|Columbia Games}}
* {{BoardGameGeek publisher|id=49|name=Columbia Games}}

Output:

URLs:

https://www.boardgamegeek.com/company/49 (used in template)
https://www.boardgamegeek.com/boardgamepublisher/49/columbia-games (redirect at website)

See also