More actions
No edit summary |
No edit summary |
||
(5 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-event"> | ||
<div class="home-gameinfo"> | <div class="home-gameinfo"> | ||
<div class="home-gameinfo-label">{{{title}}}</div> | <div class="home-gameinfo-label">{{{title}}}</div> | ||
<div class="home-gameinfo-list | <div class="home-gameinfo-list">{{#vardefine: i | 1 }}{{#while: | ||
| {{{badge{{#var: i }} |}}} | | {{{badge{{#var: i }} |}}} | ||
| <nowiki/> | | <nowiki /><div class="home-gameinfo-list-item">{{{badge{{#var: i }} }}}</div>{{#vardefine: i | ||
{{{badge{{#var: i }} }}}{{#vardefine: i | |||
| {{#expr: {{#var: i }} + 1 }} | | {{#expr: {{#var: i }} + 1 }} | ||
}} | }} | ||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="home-card home-card--button"> | <div class="home-card home-card--button"> | ||
<div class="home-card__background">[[File:{{{image}}}|1080px|link={{{page}}}]]</div> | <div class="home-card__background">[[File:{{{image|Banner_wide.webp}}}|1080px|link={{{page}}}]]</div> | ||
<div class="home-card__foreground"> | <div class="home-card__foreground"> | ||
<div class="home-card__header">{{{name}}}</div> | <div class="home-card__header">{{{name}}}</div> | ||
Line 20: | Line 18: | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div></includeonly> | ||