Difference between revisions of "Template:Main page banner"

From MHWiki
m (fix whitespace)
m (m)
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
  
 
<noinclude>
 
<noinclude>
 +
<nowiki>Piped links can be included by using the {{!}} template, eg 'Actual Link{{!}}DisplayText'</nowiki>
 +
 
Live example (edit then view page preview to preview changes):
 
Live example (edit then view page preview to preview changes):
 
  {{Main page banner
 
  {{Main page banner
 
   | event_upcoming = SoonThing
 
   | event_upcoming = SoonThing
   | event_current  = CurrentThing
+
   | event_current  = Current|Thing
 
   | event_recent1  = move current here
 
   | event_recent1  = move current here
 
   | event_recent2  = move recent1 here
 
   | event_recent2  = move recent1 here
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 04:15, 21 May 2025

{{Main page banner
 | event_upcoming = next event with announced start date (blank if none)
 | event_current  = latest event or new content page (blank if none)
 | event_recent1  = move current here
 | event_recent2  = move recent1 here
}}


Piped links can be included by using the {{!}} template, eg 'Actual Link{{!}}DisplayText'

Live example (edit then view page preview to preview changes):

 New Content and Current Event

· SoonThing Soon! · Current Current! · move current here Recent! · move recent1 here Recent!