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
LightSwitch (talk | contribs)
Created page with "{| width="100%" style="background: rgba(68,129,166,1.0); border-radius: 5px; padding: 2px; border: 5px solid #A4E2F9; box-shadow: 2.5px 2.5px rgba(0,0,0,1.0)" | div class="col..."
 
Vijuki (talk | contribs)
No edit summary
 
(87 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| width="100%" style="background: rgba(68,129,166,1.0); border-radius: 5px; padding: 2px; border: 5px solid #A4E2F9; box-shadow: 2.5px 2.5px rgba(0,0,0,1.0)"
<includeonly>
| div class="colorable" style="background-color: transparent; padding: 10px 10px; font-family: Century Gothic; font-size: 25px; font-style: normal; font-variant: normal; font-weight: bold; color: #FFF;" | {{ItemSprite|9|align=bottom}} The Growtopia Gazette
<div class="newsBox">
|-
<div class="header">{{Sprite|Newspaper}}The Growtopia Gazette</div>
| {{#if:{{{2|}}}|[[File:{{{2}}}|500px]]|}}
<div class="flex-img col-1">{{#if:{{{bannerLink|}}}|[[Image:{{{bannerImage|NewsBanner.png}}}|link={{{bannerLink}}}]]}}</div>
|-
<div class="colorable">
| width="100%" style="padding: 10px" | [[File:Newsbannerjan22019.png]]
{{#invoke:Chat|parse|`w{{{1|}}}: `5{{{2|}}}}}
|}
 
<div class="flex-img col-3">
{{#if:{{{featureLink1|}}}|[[Image:{{{featureImage1|NewsFeature1.png}}}|link={{{featureLink1}}}]]}}{{#if:{{{featureLink2|}}}|[[Image:{{{featureImage2|NewsFeature2.png}}}|link={{{featureLink2}}}]]}}{{#if:{{{featureLink3|}}}|[[Image:{{{featureImage3|NewsFeature3.png}}}|link={{{featureLink3}}}]]}}
</div>


{{#invoke:Chat|parse|{{{3|}}}}}


<div class="colorable" style="background:#333;padding-left:5px">
<p>{{#invoke:Chat|parse|Don't forget to join our `2Official Growtopia Discord Server`` on `2discord.gg/growtopia`` or click the link below!}}</p>
<span style="1">44697</span><span style="5">4206F2C</span><span style="e">65</span><span style="1">642</span><span style="e">067</span><span style="5">6F68</span><span style="e">20656F68</span></div>
<div class="flex-img col-3">
{{#if:{{{communityLink1|}}}|[[Image:NewsCommunity1.png|link={{{communityLink1}}}]]}}{{#if:{{{communityLink2|}}}|[[Image:DiscordServer.png|link={{{communityLink2}}}]]}}{{#if:{{{communityLink3|}}}|[[Image:NewsFeature6.png|link={{{communityLink3}}}]]}}
</div>
<p>Visit our Social Media pages for more Content!</p>
<div class="flex-img col-5">
[[Image:Social1.png|link=https://discord.com/invite/growtopia]]
[[Image:Social2.png|link=https://www.instagram.com/growtopia]]
[[Image:Social3.png|link=https://www.tiktok.com/@growtopia]]
[[Image:Social4.png|link=https://www.twitch.tv/growtopiagameofficial]]
[[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 class="flex-img col-3" style="margin-top:20px">
[[Image:Policy2.png|link=https://legal.ubi.com/privacypolicy/en-INTL]]
[[Image:Policy1.png|link=https://ubisoft-mobile.helpshift.com/hc/en/26-growtopia/section/337-the-growtopian-code/]]
[[Image:Policy3.png|link=https://legal.ubi.com/termsofuse/en-INTL]]
</div>
</div>
</div>
</includeonly><noinclude>
==='''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:#00CC00'>[Parameters=]</span>}}


{| width="100%"
==='''Parameters:'''===
| style="color:#009FE9; font-weight: bold; border-bottom: 3px solid #009FE9" | {{ItemSprite|2508|align=bottom}} <span style="font-size:1.5em">Growtopia Gazette</span>
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 100%;"
|-
! scope="col" style="width:10%" |Parameter
! scope="col" style="width:90%" |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.
|-
|-
| style="color:#009FE9; font-style: italic;padding: 5px 10px" | {{#if:{{{2|}}}|[[File:{{{2}}}|500px]]|}}
| featureImage2=
 
| The file name of the 2nd Feature image. Leave Blank for NewsFeature2.png.
{{{1|}}}
|-
| 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.
|}
|}
</noinclude>

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.