More actions
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template: | <includeonly><templatestyles src="Template:Event/styles.css" /> | ||
<div class="home-event"> | |||
<div class="home-gameinfo"> | |||
<div class="home-gameinfo-label">{{{title}}}</div> | |||
<div class="home-gameinfo-list">{{#vardefine: i | 1 }}{{#while: | |||
| {{{badge{{#var: i }} |}}} | |||
| <nowiki /><div class="home-gameinfo-list-item">{{{badge{{#var: i }} }}}</div>{{#vardefine: i | |||
| {{#expr: {{#var: i }} + 1 }} | |||
}} | |||
}} | |||
</div> | |||
</div> | |||
<div class="home-card home-card--button"> | |||
<div class="home-card__background">[[File:{{{image|Banner_wide.webp}}}|1080px|link={{{page}}}]]</div> | |||
<div class="home-card__foreground"> | |||
<div class="home-card__header">{{{name}}}</div> | |||
<div class="home-card__label">{{Time ago|{{{time}}}|min_magnitude=hours}}</div> | |||
</div> | |||
</div> | |||
</div></includeonly> |