Template:Card: Difference between revisions
Template page
More actions
This should work hopefully |
font-size -> 80%, add documentation template |
||
| Line 1: | Line 1: | ||
{| {{card/style}} | <includeonly>{| {{card/style|font-size:80%}} | ||
{{#if:{{{title|}}}|{{!}}style="border-bottom: 1px grey solid;"{{!}} {{{title|}}}}} | {{#if:{{{title|}}}|{{!}}style="border-bottom: 1px grey solid;"{{!}} {{{title|}}}}} | ||
|- | |- | ||
| Line 5: | Line 5: | ||
{{#if:{{{name|}}}|{{!}}- | {{#if:{{{name|}}}|{{!}}- | ||
{{!}}style="border-top: 1px grey solid; text-align: right;"{{!}} <i>{{{name|}}}</i>}} | {{!}}style="border-top: 1px grey solid; text-align: right;"{{!}} <i>{{{name|}}}</i>}} | ||
|} | |}</includeonly><noinclude>{{documentation}} [[Category:Template]] [[Category:Block template]]</noinclude> | ||
Revision as of 00:03, 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 |