This is a documentation for Board Game Arena: play board games online !
Template:Cardholder4: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) (🡲, '''Template:cardholder''' for documentation) |
Sammy McSam (talk | contribs) m (Template:Card update) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="position:relative;display:grid;grid:repeat(3, auto) / repeat(4,auto);gap:0rem {{{gap|2}}}px;background:{{{background|#fff0}}};border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;padding:0.5rem;line-height:0.1;width:max-content;align-items:end;"> | <div style="position:relative;display:grid;grid:repeat(3,auto) / repeat(4,auto);gap:0rem {{{gap|2}}}px;background:{{{background|#fff0}}};border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;padding:0.5rem 0.5rem 1.1rem;line-height:0.1;width:max-content;align-items:end;"> | ||
<div style="background:{{{ | <div style="background:{{{clue1Color|#fff0}}};margin-left:5%;padding-left:10%;height:1.4rem;width:75%;border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;color:{{{color|#000}}};font-size:calc({{{size|2}}}rem - 0.75rem);line-height:1.2;">{{{clue1|}}}</div> | ||
<div style="background:{{{ | <div style="background:{{{clue2Color|#fff0}}};margin-left:5%;padding-left:10%;height:1.4rem;width:75%;border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;color:{{{color|#000}}};font-size:calc({{{size|2}}}rem - 0.75rem);line-height:1.2;">{{{clue2|}}}</div> | ||
<div style="background:{{{ | <div style="background:{{{clue3Color|#fff0}}};margin-left:5%;padding-left:10%;height:1.4rem;width:75%;border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;color:{{{color|#000}}};font-size:calc({{{size|2}}}rem - 0.75rem);line-height:1.2;">{{{clue3|}}}</div> | ||
<div style="background:{{{ | <div style="background:{{{clue4Color|#fff0}}};margin-left:5%;padding-left:10%;height:1.4rem;width:75%;border-radius:{{{corner|0.2}}}rem {{{corner|0.2}}}rem 0 0;color:{{{color|#000}}};font-size:calc({{{size|2}}}rem - 0.75rem);line-height:1.2;">{{{clue4|}}}</div> | ||
<div>{{card| | <div>{{card|{{{card1| }}}|background={{{card1Background|{{{cardBackground|#302141}}}}}}|color={{{card1Color|#fff}}}|size={{{size|2}}}}}</div> | ||
<div>{{card| | <div>{{card|{{{card2| }}}|background={{{card2Background|{{{cardBackground|#302141}}}}}}|color={{{card2Color|#fff}}}|size={{{size|2}}}}}</div> | ||
<div>{{card| | <div>{{card|{{{card3| }}}|background={{{card3Background|{{{cardBackground|#302141}}}}}}|color={{{card3Color|#fff}}}|size={{{size|2}}}}}</div> | ||
<div>{{card| | <div>{{card|{{{card4| }}}|background={{{card4Background|{{{cardBackground|#302141}}}}}}|color={{{card4Color|#fff}}}|size={{{size|2}}}}}</div> | ||
<div style="position:absolute;grid-row-start:-1;top:-0.2rem;background:#000;color:{{{ | <div style="position:absolute;grid-row-start:-1;top:-0.2rem;background:#000;color:{{{color|#fff}}};font-size:{{{size|1}}}rem;width:calc(100% - 0.8rem);height:25%;padding:0.5rem;border-radius:0.2rem 0.2rem 0 0;">{{{player|A}}} {{{arrow|🡲}}}</div></div><noinclude> | ||
[[Category:Card templates]] | [[Category:Card templates]] | ||
See '''[[:Template:cardholder]]''' for documentation | See '''[[:Template:cardholder]]''' for documentation. | ||
</noinclude> | </noinclude> |
Latest revision as of 21:40, 18 February 2024
A 🡲
See Template:cardholder for documentation.