This is a documentation for Board Game Arena: play board games online !
Template:HDeck: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) (Created page with "{{HCard|{{{1|0}}}|o=0.8|c={{{2|{{r}}}}}|b=#777|N=cards in the deck }}<noinclude> == Examples == {{HDeck|5}} {{HDeck|9|white}} <code><nowiki>{{HDeck|5}}</nowiki></code> <code><nowiki>{{HDeck|9|white}}</nowiki></code> Category:HanabiCards </noinclude>") |
Sammy McSam (talk | contribs) (remove dependency on Template:HCard) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | <onlyinclude><span style="display:inline-grid;place-items:center;width:26px;height:52px;font:700 22px Roboto;color:{{{2|#f00}}};background:linear-gradient(#ddd,#777);border-radius:3px;"><span>{{{1|}}}<span style="font-size:0">cards in the deck</span></span></span></onlyinclude> | ||
== Examples == | == Examples == | ||
{{HDeck|5}} {{HDeck| | {{HDeck|5}} | ||
{{code|<nowiki>{{HDeck|5}}</nowiki>}} | |||
<code><nowiki>{{HDeck| | {{HDeck|10|{{w}}}} | ||
{{code|<nowiki>{{HDeck|10|{{w}}}}</nowiki>}} | |||
== Parameters == | |||
<div style="display:grid;grid-template-columns:repeat(4,max-content) 1fr;gap:0.5rem;overflow:auto;text-overflow:ellipsis;"> | |||
<div>{{text|w=bold|Id}}</div> | |||
<div>{{text|w=bold|Name}}</div> | |||
<div>{{text|w=bold|Default}}</div> | |||
<div>{{text|w=bold|Example}}</div> | |||
<div>{{text|w=bold|Description}}</div> | |||
<div>1</div> | |||
<div>Number</div> | |||
<div>empty</div> | |||
<div>{{code|<nowiki>{{HDeck|5}}</nowiki>}}</div> | |||
<div>number of cards remaining in the deck.</div> | |||
<div>2</div> | |||
<div>Color</div> | |||
<div>red</div> | |||
<div>{{code|<nowiki>{{HDeck|6|{{w}}}}</nowiki>}}</div> | |||
<div>Change the number color e.g. to white {{code|<nowiki>{{w}}</nowiki>}}.</div> | |||
</div> | |||
[[Category:HanabiCards]] | |||
[[Category:HanabiCards]] | [[Category:HanabiCards]] | ||
Latest revision as of 16:25, 27 April 2026
cards in the deck
Examples
5cards in the deck {{HDeck|5}}
10cards in the deck {{HDeck|10|{{w}}}}
Parameters
Id
Name
Default
Example
Description
1
Number
empty
{{HDeck|5}}
number of cards remaining in the deck.
2
Color
red
{{HDeck|6|{{w}}}}
Change the number color e.g. to white {{w}}.