Difference between revisions of "Template:Main page banner/sandbox"

From MHWiki
(adjust)
(readability)
Line 2: Line 2:
 
| valign="top" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; padding:5px; background-color:#fcfcfc; border:5px solid #ff80ed; width:100%; height:50%; border-left: 20px solid #ff80ed;  border-right: 20px solid #ff80ed;" |  '''New Content and Current Event'''
 
| valign="top" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; padding:5px; background-color:#fcfcfc; border:5px solid #ff80ed; width:100%; height:50%; border-left: 20px solid #ff80ed;  border-right: 20px solid #ff80ed;" |  '''New Content and Current Event'''
 
*{{#if: {{{event_upcoming|}}}
 
*{{#if: {{{event_upcoming|}}}
| [[{{{event_upcoming|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Soon!</span>'' · | }}{{#if: {{{event_current|}}}
+
| [[{{{event_upcoming|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Soon!</span>'' ·
| [[{{{event_current|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Current!</span>'' · | }}[[{{{event_current|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Current!</span>'' · [[{{{event_recent1|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Recent!</span>'' · [[{{{event_recent2|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Recent!</span>''
+
| }}
 +
{{#if: {{{event_current|}}}
 +
| [[{{{event_current|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Current!</span>'' ·  
 +
| }}
 +
[[{{{event_recent1|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Recent!</span>'' · [[{{{event_recent2|}}}]] ''<span style="color:red; font-size:80%; position: relative; bottom:4px;">Recent!</span>''
 
|-
 
|-
  

Revision as of 05:42, 3 May 2025

{{Main page banner

 | event_upcoming = event starting soon with announced date
 | event_current  = latest event or new content page
 | event_recent1  = move current here
 | event_recent2  = move recent1 here
}}