Template:PlaceCard: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
mNo edit summary |
m keep the bottom text aligned |
||
Line 1: | Line 1: | ||
<div style="flex: 1 0 200px; max-width: 300px; text-align: center; border: 1px solid #ccc; padding: 10px;"> | <div style="flex: 1 0 200px; display:flex; justify-content: flex-start; flex-direction: column; max-width: 300px; text-align: center; border: 1px solid #ccc; padding: 10px;"> | ||
[[Image:{{{image}}}|center|300px|alt={{{caption}}}|link={{{link}}}]] | [[Image:{{{image}}}|center|300px|alt={{{caption}}}|link={{{link}}}]] | ||
<div style="margin-top: | <div style="margin-top: auto; width: 100%; align-self: flex-end;">{{{caption}}}</div> | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
Line 31: | Line 31: | ||
<div style="display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px;"> | <div style="display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px;"> | ||
{{PlaceCard|image= | {{PlaceCard|image=Spooking_Out.png|caption=Placeholder by Developer Name|link=Community:Spooking_Out}} | ||
{{PlaceCard|image=Mikeds_Paint_Ball.png|caption=Placeholder by Developer Name}} | {{PlaceCard|image=Mikeds_Paint_Ball.png|caption=Placeholder by Developer Name}} | ||
<!-- Add more instances for each game card --> | <!-- Add more instances for each game card --> | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 02:59, 23 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