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

Template:News: Difference between revisions

Template page
NekoPillow (talk | contribs)
No edit summary
NekoPillow (talk | contribs)
No edit summary
Line 36: Line 36:
</includeonly><noinclude>
</includeonly><noinclude>
==='''Usage:'''===
==='''Usage:'''===
  <nowiki>{</nowiki>{News|<span style='background:#FF9999'>Date</span>|<span style='background:#FF9999'>Title</span>|<span style='background:#FF9999'>Content</span>|<span style='background:#FF9999'>Forum Link</span>|<span style='background:#BBFFBB'>[Parameters=]</span>}}
  <nowiki>{</nowiki>{News|<span style='background:#FF9999'>Date</span>|<span style='background:#FF9999'>Title</span>|<span style='background:#FF9999'>Content</span>|<span style='background:#9999FF'>[Forum Link]</span>|<span style='background:#9999FF'>[Content after Forum Button]</span>|<span style='background:#BBFFBB'>[Parameters=]</span>}}


==='''Parameters:'''===
==='''Parameters:'''===

Revision as of 07:42, 1 August 2020

Usage:

{{News|Date|Title|Content|[Forum Link]|[Content after Forum Button]|[Parameters=]}}

Parameters:

Parameter Meaning
bannerLink= The page name that will open when user clicked on the banner. Leave blank to hide it.
featureLink1= The page name that will open when user clicked on the 1st Feature image.
featureLink2= The page name that will open when user clicked on the 2nd Feature image.
featureLink3= The page name that will open when user clicked on the 3rd Feature image.
communityLink1= The link that will open when user clicked on the 1st Community image.
communityLink2= The link that will open when user clicked on the 2nd Community image.
communityLink3= The link that will open when user clicked on the 3rd Community image.