More actions
Created page with "<templatestyles src="Template:Main page/event/styles.css" /><div class="home-event"> <div class="home-gameinfo"> <div class="home-gameinfo-label">{{{title}}}</div> <div class="home-gameinfo-list"> <div class="home-gameinfo-list-item">{{{badges}}}</div> <div class="home-card home-card--button"> <div class="home-card__background">[[File:{{{eventimage}}}|1080px|link={{{eventpage}}}]]</div> <div class="home-card__foreground"> <div class="home-card__header">{{{eventname}}}</d..." |
No edit summary |
||
(13 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"> | ||
<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: | ||
<div class="home-gameinfo-list-item">{{{ | | {{{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 home-card--button"> | ||
<div class="home-card__background">[[File:{{{ | <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">{{{ | <div class="home-card__header">{{{name}}}</div> | ||
<div class="home-card__label">{{Time ago|{{{ | <div class="home-card__label">{{Time ago|{{{time}}}|min_magnitude=hours}}</div> | ||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
< | </div></includeonly> |