Template:News: Difference between revisions
Template page
More actions
NekoPillow (talk | contribs) No edit summary |
NekoPillow (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> | ||
{{#if:{{{bannerLink|}}}|[[Image:NewsBanner.png|link={{{bannerLink}}}]]}} | <div class="flex-img col-1">{{#if:{{{bannerLink|}}}|[[Image: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 07:06, 8 March 2020
Usage:
{{News|Date|Title|Content|Forum Link|[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. |