|
|
| (5 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| {{card|colour={{{colour|#000}}}|={{{|}}}<span style="font-size:105%;">♣</span>}}<noinclude> | | {{card|{{{1|​}}}♣|background={{{background|#fafafa}}}|color={{{color|#000}}}}}<noinclude> |
|
| |
|
| To use a playing card template on a BGA wiki page, simply type <code><nowiki>{{club}}</nowiki></code>/<code><nowiki>{{spade}}</nowiki></code>/<code><nowiki>{{heart}}</nowiki></code>/<code><nowiki>{{diamond}}</nowiki></code> or <code><nowiki>{{club|=A}}</nowiki></code> (where <code>A</code> can be any character or string) when editing the page.
| | For documentation on using playing card templates on BGA wiki pages, see [[Template:Card]] |
| | |
| '''Note:''' Game Help pages (e.g. '[[Gamehelpmachiavelli|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 ===
| |
| | |
| {|class="wikitable" style="width:auto;"
| |
| ! Parameter !! Default value !! Example !! Description
| |
| |-
| |
| | <code>null</code></div>
| |
| | <code><nowiki>null</nowiki></code></div>
| |
| | <code><nowiki>{{club|=K}}</nowiki></code></div>
| |
| | <b><i>Optional:</i></b> provide (e.g.) a card value such as <code>A</code> for ace, <code>10</code> for 10 etc.</div>
| |
| |-
| |
| | <code>colour</code></div>
| |
| | <code>#000</code> (black)</div>
| |
| | <code><nowiki>{{club|colour=green}}</nowiki></code></div>
| |
| | <b><i>Optional:</i></b> specify the colour as a [https://developer.mozilla.org/en-US/docs/Web/CSS/color CSS colour].
| |
| |-
| |
| |}
| |
| | |
| == Examples ==
| |
| | |
| === Machiavelli ===
| |
| | |
| {|class="wikitable" style="width:auto;"
| |
| !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|colour=green}}{{diamond|=5|colour=blue}}{{heart|=5}}
| |
| {{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|=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}}
| |
| |-
| |
| |{{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>
| |
| {|class="wikitable" style="width:auto;"
| |
| !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}}
| |
| |-
| |
| |{{club|=6|colour=green}}{{diamond|=6}}{{heart|=6}}
| |
| {{club|=7|colour=green}}{{diamond|=7}}{{heart|=7}}
| |
| |{{club|=8|colour=green}}
| |
| |{{club|=6|colour=green}}{{club|=7|colour=green}}
| |
| {{diamond|=6|colour=blue}}{{heart|=6}}
| |
| | |
| {{diamond|=7}}{{heart|=7}}
| |
| |Not possible!
| |
| |-
| |
| |}
| |
| </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>
| |
| * 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>
| |
|
| |
|
| [[Category:Card templates]] | | [[Category:Card templates]] |
| </noinclude> | | </noinclude> |
♣
For documentation on using playing card templates on BGA wiki pages, see Template:Card