Template:News: Difference between revisions
Template page
More actions
NekoPillow (talk | contribs) No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| 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: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|}}}}} | ||
| Line 14: | Line 14: | ||
<p>{{#invoke:Chat|parse|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: | {{#if:{{{communityLink1|}}}|[[Image:NewsCommunity1.png|link={{{communityLink1}}}]]}}{{#if:{{{communityLink2|}}}|[[Image:DiscordServer.png|link={{{communityLink2}}}]]}}{{#if:{{{communityLink3|}}}|[[Image:NewsFeature6.png|link={{{communityLink3}}}]]}} | ||
</div> | </div> | ||
<p>Visit our Social Media pages for more Content!</p> | <p>Visit our Social Media pages for more Content!</p> | ||
<div class="flex-img col-5"> | <div class="flex-img col-5"> | ||
[[Image:Social1.png|link=https:// | [[Image:Social1.png|link=https://discord.com/invite/growtopia]] | ||
[[Image:Social2.png|link=https://www. | [[Image:Social2.png|link=https://www.instagram.com/growtopia]] | ||
[[Image:Social3.png|link=https://www. | [[Image:Social3.png|link=https://www.tiktok.com/@growtopia]] | ||
[[Image: | [[Image:Social4.png|link=https://www.twitch.tv/growtopiagameofficial]] | ||
[[Image: | [[Image:Social5.png|link=https://twitter.com/growtopiagame]] | ||
[[Image:Social6.png|link=https://www.youtube.com/growtopia_official]] | |||
[[Image:Social7.png|link=https://www.facebook.com/growtopia]] | |||
</div> | </div> | ||
<div class="flex-img col-3" style="margin-top:20px"> | <div class="flex-img col-3" style="margin-top:20px"> | ||
Latest revision as of 00:39, 29 August 2023
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. |