Difference between revisions of "Template:Main page banner"

From MHWiki
m (fix whitespace)
(add example of using piped links to dox, likely to come up again)
Line 15: Line 15:
  
 
<noinclude>
 
<noinclude>
 +
<nowiki>Piped links can be included by using the {{!}} template, eg 'The SUPER&#124;brie+ Factory 2025{{!}}The SUPER brie+ Factory 2025'</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>

Revision as of 16:21, 20 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 'The SUPER|brie+ Factory 2025{{!}}The SUPER brie+ Factory 2025'

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!