Template:Linkbox: Difference between revisions
Jump to navigation
Jump to search
imported>Leoetlino No edit summary |
imported>Leoetlino No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="linkbox/styles.css" /> | <templatestyles src="linkbox/styles.css" /> | ||
<div class="linkbox"> | <div class="linkbox {{{class|}}}"> | ||
<i class="linkbox-icon fa-fw {{{faiconc}}}" style="color: {{{iconcolor|#003150}}}"></i> | |||
<span class="linkbox-title">{{{title}}}</span> | <span class="linkbox-title">{{{title}}}</span> | ||
<p class="linkbox-text">{{{text}}}</p> | <p class="linkbox-text">{{{text}}}</p> | ||
Line 7: | Line 8: | ||
"params": { | "params": { | ||
"title": { | "title": { | ||
"type": "content" | "type": "content", | ||
"required": true | |||
}, | }, | ||
"text": { | "text": { | ||
"type": "content" | "type": "content", | ||
"required": true | |||
}, | |||
"faiconc": { | |||
"label": "Font Awesome icon class", | |||
"example": "far far-copy", | |||
"suggested": true | |||
}, | |||
"iconcolor": { | |||
"label": "Icon color (CSS color)", | |||
"type": "string" | |||
}, | |||
"class": { | |||
"type": "string" | |||
} | } | ||
}, | }, |
Latest revision as of 13:17, 12 October 2019
{{{title}}}
{{{text}}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description | Content | required |
text | text | no description | Content | required |
Font Awesome icon class | faiconc | no description
| Unknown | suggested |
Icon color (CSS color) | iconcolor | no description | String | optional |
class | class | no description | String | optional |