模板:Bgg par
This template is used by the other BoardGameGeek external link templates:
- {{bgg title}}
- {{BoardGameGeek designer}}
- {{BoardGameGeek publisher}}
- {{BoardGameGeek wiki}}
Usage
編輯Single link
編輯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}}
Multiple links using same section
編輯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}}
Multiple links using different section
編輯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
編輯Single link
編輯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:
Multiple links using same section
編輯Usage with two links:
{{Bgg par|boardgame|54|Tikal|855|Java}}
{{Bgg par|section=boardgame|id1=54|name1=Tikal|id2=855|name2=Java}}
Output:
- BoardGameGeek上的Tikal and Java
- BoardGameGeek上的Tikal and Java
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:
- BoardGameGeek上的Tikal, Java and Mexica
- BoardGameGeek上的Tikal, Java and Mexica
Multiple links using different section
編輯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: