Template:Card: Difference between revisions
From Paw Borough Wiki
No edit summary |
(Format adustments) |
||
| Line 1: | Line 1: | ||
<includeonly><div style="display:grid;grid-template-rows:1fr 1fr;box-sizing:border-box; border:1px solid #514033; border-radius:4px; height:185px; width:95px; background:#FFF; overflow:hidden; text-align:center;"> | <includeonly><div style="display:grid;grid-template-rows:1fr 1fr;grid-template-rows:1fr 1fr;box-sizing:border-box; border:1px solid #514033; border-radius:4px; height:185px; width:95px; background:#FFF; overflow:hidden; text-align:center; align-content:space-evenly;"> | ||
<div style="display:flex; justify-content:center; padding-top:10px; padding-bottom: | <div style="display:flex; align-items:center; justify-content:center; padding-top:10px; padding-bottom:3px;">[[File:{{{1|}}}.png|80x80px]]</div> | ||
<div style="display:flex; align-items:flex-start; justify-content:center; color:#302218; background:RGBA(179, 150, 127, 0.5); padding:5px; height:100%;"> | <div style="display:flex; align-items:flex-start; justify-content:center; color:#302218; background:RGBA(179, 150, 127, 0.5); padding:5px; height:100%; font-size:.85em; font-weight:bold;"> | ||
[[{{{1|}}}]] | [[{{{1|}}}]] | ||
</div> | </div> | ||
Revision as of 07:28, 24 August 2026
| Template documentation follows |
|---|
| Visit Template:Card/doc to edit this documentation. (How does this work?) |
| Editors can experiment in this template's sandbox and test case pages. |
Usage
Creates a small flex card of the item, similar in design to the storage cards. This template should be nested within a flex container to format properly.
Syntax
{{Card|}}
{{Card||acc=|thumb=}}
Examples
{{Card|Northern Lunasagi}}
<div style="display:flex; gap: 5px;">
{{Card|Guard's Back Greaves|acc=y}}{{Card|Guard's Chestplate|acc=y}}{{Card|Guard's Front Greaves|acc=y}}{{Card|Guard's Helm|acc=y}}{{Card|Guard's Pants|acc=y}}{{Card|Guard's Sword|acc=y}}
</div>
<div style="display:flex; gap: 5px;">
{{Card|Abyssal Outskirts|thumb=y}}{{Card|Cogwheel Outskirts|thumb=y}}{{Card|Harvest Outskirts|thumb=y}}{{Card|Luna Outskirts|thumb=y}}{{Card|Metropolis Outskirts|thumb=y}}{{Card|Sol Outskirts|thumb=y}}{{Card|Zenith Outskirts|thumb=y}}
</div>
Associated Templates
Template Data
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Name of the item, should be in proper case. | Unknown | required |
| acc | acc | If populated it'll add "White" to the beginning of the file title. Should be used for accessory items.
| Unknown | optional |
| thumb | thumb | If populated it'll add "Thumbnail" to the end of the file title. Intended to be used primarily for decor and backdrop items whose primary images have awkward dimensions.
| Unknown | optional |
