This is a documentation for Board Game Arena: play board games online !

Difference between revisions of "Template:Club"

From Board Game Arena
Jump to navigation Jump to search
m (Spelling)
(examples)
Line 27: Line 27:
 
=== Machiavelli ===
 
=== Machiavelli ===
  
{|class="wikitable" style="width:auto;"
+
* The table has the set {{spade|=5}}{{diamond|=5|colour=blue}}{{heart|=5}} .
 +
* A player may play a combination, such as {{spade|=6}}{{diamond|=6|colour=blue}}{{heart|=6}} or {{spade|=6}}{{spade|=7}}{{spade|=8}}, or may extend the existing set by playing {{club|=5|colour=green}} .
 +
<pre>
 +
* The table has the set {{spade|=5}}{{diamond|=5|colour=blue}}{{heart|=5}} .
 +
* A player may play a combination, such as {{spade|=6}}{{diamond|=6|colour=blue}}{{heart|=6}} or {{spade|=6}}{{spade|=7}}{{spade|=8}}, or may extend the existing set by playing {{club|=5|colour=green}} .
 +
</pre>
 +
----
 +
{|class="wikitable" style="width:auto; text-align:center;"
 
!Table !! In hand !! Rearrange !! Add card
 
!Table !! In hand !! Rearrange !! Add card
 
|-
 
|-
Line 51: Line 58:
  
 
{{heart|=5}}{{heart|=6}}{{heart|=7}}
 
{{heart|=5}}{{heart|=6}}{{heart|=7}}
|-
 
|{{club|=6|colour=green}}{{diamond|=6|colour=blue}}{{heart|=6}}
 
{{club|=7|colour=green}}{{diamond|=7|colour=blue}}{{heart|=7}}
 
|{{club|=8|colour=green}}
 
|{{club|=6|colour=green}}{{club|=7|colour=green}}
 
{{diamond|=6|colour=blue}}{{heart|=6}}
 
 
{{diamond|=7|colour=blue}}{{heart|=7}}
 
|Not possible!
 
|-
 
 
|}
 
|}
 
<pre>
 
<pre>
{|class="wikitable" style="width:auto;"
+
{|class="wikitable" style="width:auto; text-align:center;"
 
!Table !! In hand !! Rearrange !! Add card
 
!Table !! In hand !! Rearrange !! Add card
 
|-
 
|-
Line 87: Line 84:
  
 
{{heart|=5}}{{heart|=6}}{{heart|=7}}
 
{{heart|=5}}{{heart|=6}}{{heart|=7}}
 +
</pre>
 +
 +
=== Palace ===
 +
 +
{|class="wikitable" style="width:auto; text-align:center;"
 +
|+style="text-align:left;"|''The deck is already empty''
 +
!Player
 +
!In hand
 +
!On table
 +
!Stack top card
 +
!style="text-align:left;"|Action
 +
|-
 +
|'''A'''
 +
|{{heart|=3}}{{club|=3}}
 +
{{spade|=4}}{{club|=4}}
 +
|{{club|=7}}{{Diamond|=7}}{{spade|=7}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{diamond|=2}}
 +
|style="text-align:left;"|Plays {{heart|=3}}{{club|=3}} .
 +
|-
 +
|'''B'''
 +
| -
 +
|{{Diamond|=8}}{{club|=J}}{{Diamond|=Q}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{heart|=3}}
 +
|style="text-align:left;"|Plays {{Diamond|=8}} from the table.
 +
|-
 +
|rowspan="4"|'''C'''
 +
|{{spade|=8}}{{heart|=8}}{{club|=8}}
 +
{{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}}
 +
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{Diamond|=8}}
 +
|style="text-align:left;"|Plays {{spade|=8}}{{heart|=8}}{{club|=8}} .
 +
This '''[[#Special_action_cards_and_plays|burns]]''' all the cards in the stack and grants an additional turn.
 +
|-
 +
|{{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}}
 +
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
| -
 +
|style="text-align:left;"|Plays {{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}} .
 +
This '''[[#Special_action_cards_and_plays|burns]]''' all the cards in the stack and grants ''another'' additional turn.
 +
|-
 +
| -
 +
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
| -
 +
|style="text-align:left;"|Plays {{club|=10}}{{Diamond|=10}}{{spade|=10}} .
 +
This '''[[#Special_action_cards_and_plays|burns]]''' the stack and grants ''yet another'' additional turn.
 
|-
 
|-
|{{club|=6|colour=green}}{{diamond|=6}}{{heart|=6}}
+
| -
{{club|=7|colour=green}}{{diamond|=7}}{{heart|=7}}
+
| -
|{{club|=8|colour=green}}
+
{{club|=Q}}{{cardBack}}{{cardBack}}
|{{club|=6|colour=green}}{{club|=7|colour=green}}
+
| -
{{diamond|=6|colour=blue}}{{heart|=6}}  
+
|style="text-align:left;"|Plays a face-down card, {{club|=Q}} .
 
 
{{diamond|=7}}{{heart|=7}}
 
|Not possible!
 
 
|-
 
|-
 +
|'''D'''
 +
|{{club|=9}}{{heart|=10}}
 +
|{{club|=K}}{{Diamond|=K}}{{spade|=K}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{club|=Q}}
 +
|style="text-align:left;"|Cannot play and picks up the stack.
 +
''Luckily it's just the'' {{club|=Q}} .
 
|}
 
|}
</pre>
 
  
* The table has the set {{spade|=5}}{{diamond|=5|colour=blue}}{{heart|=5}}.
 
* A player may play a combination, such as {{spade|=6}}{{diamond|=6|colour=blue}}{{heart|=6}} or {{spade|=6}}{{spade|=7}}{{spade|=8}}, or may extend the existing set by playing {{club|=5|colour=green}}.
 
* They may even do both, if they have the appropriate cards.
 
* A player may add any number of cards to a single combination:
 
** extending {{spade|=A}}{{spade|=2}}{{spade|=3}} to {{spade|=A}}{{spade|=2}}{{spade|=3}}{{spade|=4}}{{spade|=5}}{{spade|=6}}{{spade|=7}}{{spade|=8}}{{spade|=9}}{{spade|=10}}{{spade|=J}}{{spade|=Q}}{{spade|=K}} is allowed.
 
* '''Be careful, you are not allowed to play more than 13 cards per turn!'''
 
 
<pre>
 
<pre>
* The table has the set {{spade|=5}}{{diamond|=5|colour=blue}}{{heart|=5}}.
+
{|class="wikitable" style="width:auto; text-align:center;"
* A player may play a combination, such as {{spade|=6}}{{diamond|=6|colour=blue}}{{heart|=6}} or {{spade|=6}}{{spade|=7}}{{spade|=8}}, or may extend the existing set by playing {{club|=5|colour=green}}.
+
|+style="text-align:left;"|''The deck is already empty''
* They may even do both, if they have the appropriate cards.
+
!Player
* A player may add any number of cards to a single combination:
+
!In hand
** extending {{spade|=A}}{{spade|=2}}{{spade|=3}} to {{spade|=A}}{{spade|=2}}{{spade|=3}}{{spade|=4}}{{spade|=5}}{{spade|=6}}{{spade|=7}}{{spade|=8}}{{spade|=9}}{{spade|=10}}{{spade|=J}}{{spade|=Q}}{{spade|=K}} is allowed.
+
!On table
* '''Be careful, you are not allowed to play more than 13 cards per turn!'''
+
!Stack top card
 +
!style="text-align:left;"|Action
 +
|-
 +
|'''A'''
 +
|{{heart|=3}}{{club|=3}}
 +
{{spade|=4}}{{club|=4}}
 +
|{{club|=7}}{{Diamond|=7}}{{spade|=7}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{diamond|=2}}
 +
|style="text-align:left;"|Plays {{heart|=3}}{{club|=3}} .
 +
|-
 +
|'''B'''
 +
| -
 +
|{{Diamond|=8}}{{club|=J}}{{Diamond|=Q}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{heart|=3}}
 +
|style="text-align:left;"|Plays {{Diamond|=8}} from the table.
 +
|-
 +
|rowspan="4"|'''C'''
 +
|{{spade|=8}}{{heart|=8}}{{club|=8}}
 +
{{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}}
 +
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{Diamond|=8}}
 +
|style="text-align:left;"|Plays {{spade|=8}}{{heart|=8}}{{club|=8}} .
 +
This '''[[#Special_action_cards_and_plays|burns]]''' all the cards in the stack and grants an additional turn.
 +
|-
 +
|{{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}}
 +
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
| -
 +
|style="text-align:left;"|Plays {{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}} .
 +
This '''[[#Special_action_cards_and_plays|burns]]''' all the cards in the stack and grants ''another'' additional turn.
 +
|-
 +
| -
 +
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
| -
 +
|style="text-align:left;"|Plays {{club|=10}}{{Diamond|=10}}{{spade|=10}} .
 +
This '''[[#Special_action_cards_and_plays|burns]]''' the stack and grants ''yet another'' additional turn.
 +
|-
 +
| -
 +
| -
 +
{{club|=Q}}{{cardBack}}{{cardBack}}
 +
| -
 +
|style="text-align:left;"|Plays a face-down card, {{club|=Q}} .
 +
|-
 +
|'''D'''
 +
|{{club|=9}}{{heart|=10}}
 +
|{{club|=K}}{{Diamond|=K}}{{spade|=K}}
 +
{{cardBack}}{{cardBack}}{{cardBack}}
 +
|{{club|=Q}}
 +
|style="text-align:left;"|Cannot play and picks up the stack.
 +
''Luckily it's just the'' {{club|=Q}} .
 +
|}
 
</pre>
 
</pre>
  
 
[[Category:Card templates]]
 
[[Category:Card templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:15, 28 December 2021

To use a playing card template on a BGA wiki page, simply type {{club}}/{{spade}}/{{heart}}/{{diamond}} or {{club|=A}} (where A can be any character or string) when editing the page.

Note: Game Help pages (e.g. 'GameHelpMachiavelli') also display on BGA's Rules Summary pages e.g. https://boardgamearena.com/gamepanel?game=machiavelli under HOW TO PLAY? > See More > RULES SUMMARY

Available parameters

Parameter Default value Example Description
null null {{club|=K}} Optional: provide (e.g.) a card value such as A for ace, 10 for 10 etc.
colour #000 (black) {{club|colour=green}} Optional: specify the colour as a CSS colour.

Examples

Machiavelli

  • The table has the set 555 .
  • A player may play a combination, such as 666 or 678, or may extend the existing set by playing 5 .
* The table has the set {{spade|=5}}{{diamond|=5|colour=blue}}{{heart|=5}} .
* A player may play a combination, such as {{spade|=6}}{{diamond|=6|colour=blue}}{{heart|=6}} or {{spade|=6}}{{spade|=7}}{{spade|=8}}, or may extend the existing set by playing {{club|=5|colour=green}} .

Table In hand Rearrange Add card
5555

678

4 555

5678

555

45678

555

666

777

8 567

567

567

5678

567

567

{|class="wikitable" style="width:auto; text-align:center;"
!Table !! In hand !! Rearrange !! Add card
|-
|{{club|=5|colour=green}}{{diamond|=5|colour=blue}}{{heart|=5}}{{spade|=5}} 
{{club|=6|colour=green}}{{club|=7|colour=green}}{{club|=8|colour=green}}
|{{club|=4|colour=green}}
|{{diamond|=5|colour=blue}}{{heart|=5}}{{spade|=5}} 
{{club|=5|colour=green}}{{club|=6|colour=green}}{{club|=7|colour=green}}{{club|=8|colour=green}}
|{{diamond|=5|colour=blue}}{{heart|=5}}{{spade|=5}} 
{{club|=4|colour=green}}{{club|=5|colour=green}}{{club|=6|colour=green}}{{club|=7|colour=green}}{{club|=8|colour=green}}
|-
|{{club|=5}}{{diamond|=5|colour=blue}}{{heart|=5}}
{{club|=6}}{{diamond|=6|colour=blue}}{{heart|=6}}

{{club|=7|colour=green}}{{diamond|=7|colour=blue}}{{heart|=7}}
|{{club|=8|colour=green}}
|{{club|=5|colour=green}}{{club|=6|colour=green}}{{club|=7|colour=green}}
{{diamond|=5|colour=blue}}{{diamond|=6|colour=blue}}{{diamond|=7|colour=blue}}

{{heart|=5}}{{heart|=6}}{{heart|=7}}
|{{club|=5|colour=green}}{{club|=6|colour=green}}{{club|=7|colour=green}}{{club|=8|colour=green}}
{{diamond|=5|colour=blue}}{{diamond|=6|colour=blue}}{{diamond|=7|colour=blue}}

{{heart|=5}}{{heart|=6}}{{heart|=7}}

Palace

The deck is already empty
Player In hand On table Stack top card Action
A 33

44

777

🟔🟔🟔

2 Plays 33 .
B - 8JQ

🟔🟔🟔

3 Plays 8 from the table.
C 888

6666

101010

🟔🟔🟔

8 Plays 888 .

This burns all the cards in the stack and grants an additional turn.

6666 101010

🟔🟔🟔

- Plays 6666 .

This burns all the cards in the stack and grants another additional turn.

- 101010

🟔🟔🟔

- Plays 101010 .

This burns the stack and grants yet another additional turn.

- -

Q🟔🟔

- Plays a face-down card, Q .
D 910 KKK

🟔🟔🟔

Q Cannot play and picks up the stack.

Luckily it's just the Q .

{|class="wikitable" style="width:auto; text-align:center;"
|+style="text-align:left;"|''The deck is already empty''
!Player
!In hand
!On table
!Stack top card
!style="text-align:left;"|Action
|-
|'''A'''
|{{heart|=3}}{{club|=3}}
{{spade|=4}}{{club|=4}}
|{{club|=7}}{{Diamond|=7}}{{spade|=7}}
{{cardBack}}{{cardBack}}{{cardBack}}
|{{diamond|=2}}
|style="text-align:left;"|Plays {{heart|=3}}{{club|=3}} .
|-
|'''B'''
| -
|{{Diamond|=8}}{{club|=J}}{{Diamond|=Q}}
{{cardBack}}{{cardBack}}{{cardBack}}
|{{heart|=3}}
|style="text-align:left;"|Plays {{Diamond|=8}} from the table.
|-
|rowspan="4"|'''C'''
|{{spade|=8}}{{heart|=8}}{{club|=8}}
{{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}}
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
{{cardBack}}{{cardBack}}{{cardBack}}
|{{Diamond|=8}}
|style="text-align:left;"|Plays {{spade|=8}}{{heart|=8}}{{club|=8}} .
This '''[[#Special_action_cards_and_plays|burns]]''' all the cards in the stack and grants an additional turn.
|-
|{{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}}
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
{{cardBack}}{{cardBack}}{{cardBack}}
| -
|style="text-align:left;"|Plays {{heart|=6}}{{club|=6}}{{Diamond|=6}}{{spade|=6}} .
This '''[[#Special_action_cards_and_plays|burns]]''' all the cards in the stack and grants ''another'' additional turn.
|-
| -
|{{club|=10}}{{Diamond|=10}}{{spade|=10}}
{{cardBack}}{{cardBack}}{{cardBack}}
| -
|style="text-align:left;"|Plays {{club|=10}}{{Diamond|=10}}{{spade|=10}} .
This '''[[#Special_action_cards_and_plays|burns]]''' the stack and grants ''yet another'' additional turn.
|-
| -
| -
{{club|=Q}}{{cardBack}}{{cardBack}}
| -
|style="text-align:left;"|Plays a face-down card, {{club|=Q}} .
|-
|'''D'''
|{{club|=9}}{{heart|=10}}
|{{club|=K}}{{Diamond|=K}}{{spade|=K}}
{{cardBack}}{{cardBack}}{{cardBack}}
|{{club|=Q}}
|style="text-align:left;"|Cannot play and picks up the stack.
''Luckily it's just the'' {{club|=Q}} .
|}