Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Event: Difference between revisions

Template page
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:Main page/event/styles.css" /><div class="home-event">
<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">{{{badges}}}</div>
| {{{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:{{{eventimage}}}|1080px|link={{{eventpage}}}]]</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">{{{eventname}}}</div>
<div class="home-card__header">{{{name}}}</div>
<div class="home-card__label">{{Time ago|{{{eventstarttime}}}|min_magnitude=hours}}</div>
<div class="home-card__label">{{Time ago|{{{time}}}|min_magnitude=hours}}</div>
</div>
</div>
</div>
</div>
</div>
</div>
<noinclude><!-- For preview only --><templatestyles src="Template:Main page/shared/styles.css" />{{/doc}}</noinclude>
</div></includeonly>

Latest revision as of 20:41, 4 March 2025