跳转到内容

Template:Bgg par/doc

维基百科,自由的百科全书

This template is used by the other BoardGameGeek external link templates:

Usage

Unnamed parameters:

{{Bgg par|SECTION|ID}}
{{Bgg par|SECTION|ID|NAME}}

Named parameters:

{{Bgg par|section=SECTION|id=ID}}
{{Bgg par|section=SECTION|id=ID|name=NAME}}

Unnamed parameters:

{{Bgg par|SECTION|ID1|NAME1|ID2|NAME2}}
{{Bgg par|SECTION|ID1|NAME1|ID2|NAME2|ID3|NAME3}}

Named parameters:

{{Bgg par|section=SECTION|id1=ID|name1=NAME|id2=ID2|name2=NAME2}}
{{Bgg par|section=SECTION|id1=ID1|name1=NAME1|id2=ID2|name2=NAME2id3=ID3|name3=NAME3}}

Named parameters:

{{Bgg par|section1=SECTION1|id1=ID1|name1=NAME1|section2=SECTION2|id2=ID2|name2=NAME2}}
{{Bgg par|section1=SECTION1|id1=ID1|name1=NAME1|section2=SECTION2|id2=ID2|name2=NAME2|section3=SECTION3|id3=ID3}}

Examples

Usage with article name as link text:

{{Bgg par|boardgame|2557}}
{{Bgg par|section=boardgame|id=2557}}

Output:

Usage with name parameter as link text:

{{Bgg par|boardgame|2557|Castle Risk}}
{{Bgg par|section=boardgame|id=2557|name=Castle Risk}}

Output:

Usage with two links:

{{Bgg par|boardgame|54|Tikal|855|Java}}
{{Bgg par|section=boardgame|id1=54|name1=Tikal|id2=855|name2=Java}}

Output:

Usage with three links:

{{Bgg par|boardgame|54|Tikal|855|Java|2955|Mexica}}
{{Bgg par|section=boardgame|id1=54|name1=Tikal|id2=855|name2=Java|id3=2955|name3=Mexica}}

Output:

Usage with three links:

* {{Bgg par|section1=boardgamedesigner|id1=11|name1=Klaus Teuber
|section2=boardgamepublisher|id2=49|name2=Columbia Games
|section3=wiki/page|id3=18xx|name3=18XX}}

Output: