Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Card: Difference between revisions

Template page
This should work hopefully
 
add background-color that's slightly almost transparent for dark themes
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| {{card/style}}
<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}}}
{{#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>

Latest revision as of 02:27, 26 November 2024