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: 5px;">{{{caption}}}</div>
   <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=Welcome_to_ROBLOX_Building.png|caption=Placeholder by Developer Name}}
   {{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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Image Fileimage

The filename of the image for the place.

Stringsuggested
Captioncaption

The caption or placeholder text.

Stringsuggested
Linklink

The link for the card.

Stringsuggested
Placeholder by Developer Name
Placeholder by Developer Name
Placeholder by Developer Name
link={{{link}}}
Placeholder by Developer Name