Template:Badge: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="project-badge" style="display:flex; flex-direction: row; width: | <div class="project-badge" style="display:flex; flex-direction: row; width: 380px; height: 70px; background-color: {{{rank|}}}; margin-bottom: 0.5em; border: 4px solid var(--color-surface-4); border-radius: 40px; overflow: hidden; padding:6px;"> | ||
<div class="project-badge-img" style="width: | <div class="project-badge-bg" style="display:flex; flex-direction: row; width:356px; height:50px; background-color: var(--color-surface-1); border-radius: 30px; text-align: center;"> | ||
<div class="project-badge-img" style="width:50px; height:50px; background-color: var(--color-surface-4); border-radius: 30px; overflow: hidden;">{{{image|}}}</div> | |||
<div class="project-badge-text" style="display:flex; flex-direction: column; width:296px; height:50px; background-color: var(--color-surface-1); border-radius: 30px; padding-left: 0.5em; padding-right: 0.5em; text-align: center;"> | |||
<p style="font-size: 1em; margin-top: 2px; margin-bottom: 0px; font-weight: bold;">{{{title|Title}}}</p> | |||
<p style="font-size: 0.825em; margin: 2px;">{{{subtitle|Subtitle}}}</p> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"rank": {}, | |||
"image": {}, | |||
"title": {}, | |||
"subtitle": {} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 19:37, 21 February 2026
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| rank | rank | no description | Unknown | optional |
| image | image | no description | Unknown | optional |
| title | title | no description | Unknown | optional |
| subtitle | subtitle | no description | Unknown | optional |