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
Vijuki (talk | contribs)
No edit summary
Vijuki (talk | contribs)
No edit summary
Line 2: Line 2:
<div class="newsBox">
<div class="newsBox">
<div class="header">{{Sprite|Newspaper}}The Growtopia Gazette</div>
<div class="header">{{Sprite|Newspaper}}The Growtopia Gazette</div>
<div class="flex-img col-1">{{#if:{{{bannerLink|}}}|[[Image:{{{featureImage1|NewsBanner.png}}}|link={{{bannerLink}}}]]}}</div>
<div class="flex-img col-1">{{#if:{{{bannerLink|}}}|[[Image:{{{bannerImage|NewsBanner.png}}}|link={{{bannerLink}}}]]}}</div>
<div class="colorable">
<div class="colorable">
{{#invoke:Chat|parse|`w{{{1|}}}: `5{{{2|}}}}}
{{#invoke:Chat|parse|`w{{{1|}}}: `5{{{2|}}}}}

Revision as of 06:24, 13 May 2022

Usage:

{{News|Date|Title|Content|[Parameters=]}}

Parameters:

Parameter Meaning
bannerLink= The page name that will open when user clicked on the banner. Leave blank to hide it.
featureImage1= The file name of the 1st Feature image. Leave Blank for NewsFeature1.png.
featureImage2= The file name of the 2nd Feature image. Leave Blank for NewsFeature2.png.
featureImage3= The file name of the 3rd Feature image. Leave Blank for NewsFeature3.png.
featureLink1= The page name that will open when user clicked on the 1st Feature image. Leave Blank to hide the button.
featureLink2= The page name that will open when user clicked on the 2nd Feature image. Leave Blank to hide the button.
featureLink3= The page name that will open when user clicked on the 3rd Feature image. Leave Blank to hide the button.
communityLink1= The link that will open when user clicked on the 1st Community image. Leave Blank to hide the button.
communityLink2= The link that will open when user clicked on the 2nd Community image. Leave Blank to hide the button.
communityLink3= The link that will open when user clicked on the 3rd Community image. Leave Blank to hide the button.