Template:Card: Difference between revisions
Template page
More actions
font-size -> 80%, add documentation template |
add background-color that's slightly almost transparent for dark themes |
||
| Line 1: | Line 1: | ||
<includeonly>{| {{card/style|font-size:80%}} | <includeonly>{| {{card/style|font-size: 80%; background-color: rgba(200, 200, 210, .05);}} | ||
{{#if:{{{title|}}}|{{!}}style="border-bottom: 1px grey solid;"{{!}} {{{title|}}}}} | {{#if:{{{title|}}}|{{!}}style="border-bottom: 1px grey solid;"{{!}} {{allcaps|<b>{{{title|}}}</b>}}}} | ||
|- | |- | ||
| {{{body}}} | | {{{body}}} | ||
Latest revision as of 02:27, 26 November 2024
{{Card}} creates a small box suitable for quotes, it's primarily meant for comments on Template documentation and Help pages.
Usage
{{Card|title|body|name}}
Examples
| Example Title |
| Lorem Ipsum random shit in this box. |
| Me |
Parameters
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | Unknown | optional |
| body | body | no description | Unknown | optional |
| name | name | no description | Unknown | optional |