Template:PlaceCard: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="flex: 1 0 200px; max-width: 300px; text-align: center;"> | <div style="flex: 1 0 200px; max-width: 300px; text-align: center; border: 1px solid #ccc; padding: 10px;"> | ||
[[ | [[Image:{{{image}}}|center|300px|alt={{{caption}}}|link={{{link}}}]] | ||
<div style="margin-top: 5px;">{{{caption}}}</div> | |||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
Line 17: | Line 18: | ||
"type": "string", | "type": "string", | ||
"description": "The caption or placeholder text.", | "description": "The caption or placeholder text.", | ||
"suggested": true | |||
}, | |||
"link": { | |||
"label": "Link", | |||
"type": "string", | |||
"description": "The link for the card.", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 22: | Line 29: | ||
} | } | ||
</templatedata> | </templatedata> | ||
<div style="display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px;"> | |||
{{PlaceCard|image=Welcome_to_ROBLOX_Building.png|caption=Placeholder by Developer Name}} | |||
{{PlaceCard|image=Mikeds_Paint_Ball.png|caption=Placeholder by Developer Name}} | |||
<!-- Add more instances for each game card --> | |||
</div> | |||
</noinclude> | </noinclude> |
Revision as of 02:47, 16 November 2023
[[Image:{{{image}}}|center|300px|alt={{{caption}}}|link={{{link}}}]]
{{{caption}}}
Template for displaying place cards, mainly on the Community Hub page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image File | image | The filename of the image for the place. | String | suggested |
Caption | caption | The caption or placeholder text. | String | suggested |
Link | link | The link for the card. | String | suggested |
Placeholder by Developer Name
Placeholder by Developer Name