Template:Cards: Difference between revisions
Template page
More actions
Wiki lane: site structure (templates, forms, help pages) |
Wiki lane: site structure (templates, forms, help pages) |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Infobox/styles.css" /><span class="cmpw-cards">{{#if:{{{count|{{{2|}}}}}}|{{{count|{{{2|}}}}}} x }}{{#switch:{{lc:{{{1|}}}}}|8 gb|8gb|8=8 GB|10 gb|10gb|10=10 GB|both=8 GB and 10 GB|#default={{{1|}}}}}</span></includeonly><noinclude><templatestyles src="Infobox/styles.css" /> | <includeonly><templatestyles src="Infobox/styles.css" /><span class="cmpw-cards">{{#if:{{{count|{{{2|}}}}}}|{{{count|{{{2|}}}}}} x }}{{#switch:{{lc:{{{1|}}}}}|8 gb|8gb|8=8 GB|10 gb|10gb|10=10 GB|both=8 GB and 10 GB|#default={{{1|}}}}}</span></includeonly><noinclude><templatestyles src="Infobox/styles.css" /> | ||
Card variant chip. Usage: <code><nowiki>{{Cards|10 GB|4}}</nowiki></code> gives {{Cards|10 GB|4}}; <code><nowiki>{{Cards|both}}</nowiki></code> gives {{Cards|both}}. | Card variant chip. Usage: <code><nowiki>{{Cards|10 GB|4}}</nowiki></code> gives {{Cards|10 GB|4}}; <code><nowiki>{{Cards|both}}</nowiki></code> gives {{Cards|both}}. | ||
Variants: 8 GB, 10 GB, both. | Variants: 8 GB, 10 GB, both. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Latest revision as of 07:08, 30 October 2026
Card variant chip. Usage: {{Cards|10 GB|4}} gives 4 x 10 GB; {{Cards|both}} gives 8 GB and 10 GB.
Variants: 8 GB, 10 GB, both.