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

Template:HDeck: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
(Template:HCard optimisation)
(remove dependency on Template:HCard)
 
Line 1: Line 1:
{{HCard|{{{1|}}}|#f00||cards in the deck|b=#777}}<noinclude>
<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 ==
 
{{HDeck|5}}
{{code|<nowiki>{{HDeck|5}}</nowiki>}}
 
{{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]]


See '''[[Template:HCard]]'''


[[Category:HanabiCards]]
[[Category:HanabiCards]]
</noinclude>

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}}.