Template:Main Page/Sandbox/card: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
</noinclude><templatestyles src="Template:Main_Page/Sandbox/card/styles.css" /> | </noinclude><templatestyles src="Template:Main_Page/Sandbox/card/styles.css" /> | ||
<div class="home-card {{#if:{{{color|}}}|home-card--{{{color}}}|}}"> | <div class="home-card {{#if:{{{color|}}}|home-card--{{{color}}}|}}"> | ||
<div class="home-card__icon">{{{icon|}}}</div> | |||
<div class="home-card__label">{{#if:{{{external|}}}| [{{{link}}} {{{label}}}] | [[Special:MyLanguage/{{{link|}}}|{{{label}}}]] }}</div> | |||
</div> | </div> | ||
Revision as of 19:03, 3 February 2026
Usage:
{{Main_Page/Sandbox/card|icon=emoji|link=PageName|label=Text|color=red|external=yes/no}}