Difference between revisions of "Template:EventsMP"
Jump to navigation
Jump to search
imported>LikableBrute m |
>Discoomastar |
||
| Line 1: | Line 1: | ||
| − | <includeonly><div style="text-align:center">[[File:Banner {{{Name}}}.png | + | <includeonly>{{#css: |
| + | @media screen and (min-width: 550px) { | ||
| + | .EventsMP img { | ||
| + | width: 400px; | ||
| + | height: 210px; | ||
| + | } | ||
| + | } | ||
| + | @media screen and (max-width: 549px) { | ||
| + | .EventsMP img { | ||
| + | width: 100%; | ||
| + | height: auto; | ||
| + | } | ||
| + | } | ||
| + | }}<div class="EventsMP" style="text-align:center">[[File:Banner {{{Name}}}.png|link={{{Name}}}]]<br>[[{{{Name}}}]]<br>{{Countdown|EventName={{{1}}}|TimeStart={{#time:F d, Y h:i:s A e|{{{StartDate}}}}}|TimeEnd={{#time:F d, Y h:i:s A e|{{{EndDate}}}}}}}</div></includeonly><noinclude>(Events Main Page) - Parses events cargo field into a formatted banner, used on the [[Main Page]]. [[Category:Templates]]</noinclude> | ||
Revision as of 15:11, 7 May 2019
(Events Main Page) - Parses events cargo field into a formatted banner, used on the Main Page.