Template:News: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
{{#if:{{{4|}}}|<div class="flex-img col-3">[[Image:Forum1.png|link={{{4}}}]]</div>}} | {{#if:{{{4|}}}|<div class="flex-img col-3">[[Image:Forum1.png|link={{{4}}}]]</div>}} | ||
{{#if:{{{5|}}}|{{#invoke:Chat|parse|{{{5|}}}}}}} | {{#if:{{{5|}}}|{{#invoke:Chat|parse|{{{5|}}}}}}} | ||
<p>Don't forget to join our `2Official Growtopia Discord Server`` on `2discord.gg/growtopia`` or click the link below!</p> | <p>{{#invoke:Chat|parse|Don't forget to join our `2Official Growtopia Discord Server`` on `2discord.gg/growtopia`` or click the link below!}}</p> | ||
<div class="flex-img col-3"> | <div class="flex-img col-3"> | ||
{{#if:{{{communityLink1|}}}|[[Image:NewsCommunity1.png|link={{{communityLink1}}}]]}}{{#if:{{{communityLink2|}}}|[[Image:DiscordServer.png|link={{{communityLink2}}}]]}}{{#if:{{{communityLink3|}}}|[[Image:NewsCommunity3.png|link={{{communityLink3}}}]]}} | {{#if:{{{communityLink1|}}}|[[Image:NewsCommunity1.png|link={{{communityLink1}}}]]}}{{#if:{{{communityLink2|}}}|[[Image:DiscordServer.png|link={{{communityLink2}}}]]}}{{#if:{{{communityLink3|}}}|[[Image:NewsCommunity3.png|link={{{communityLink3}}}]]}} | ||
Revision as of 08:25, 21 February 2021
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. |