Template:Main Page: Difference between revisions
Appearance
mNo edit summary |
Pre-Launch Special Countdown |
||
| (22 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | <includeonly>__NOTOC__<div class="mp-inline-sections"><!-- | ||
< | |||
--><div class="main-welcome new-welcome"><!-- | |||
<div class=" | --><div class="main-welcome-logo">[[File:Petit Planet Wordmark (White).png]]</div><!-- | ||
<!-- | --><div class="main-welcome-gamedesc">''[[Petit Planet]]'' is an upcoming cosmic life simulation game developed and published by [[wikipedia:miHoYo|HoYoverse]]. The game is free-to-play and cross-platform.</div><!-- | ||
<div | --><div class="main-welcome-wikidesc">Welcome to the ''Petit Planet'' wiki! Planet Tenders will find English resources for the global version of the game on this wiki. Please note that there are '''unmarked spoilers''' on this wiki.</div><!-- | ||
< | --><div class="main-welcome-socials mp-button-wrapper"><!-- | ||
Welcome to the '' | -->{{Main Page/Button|icon = HoYoverse|link = https://planet.hoyoverse.com|text = Official Website}}<!-- | ||
-->{{Main Page/Button|icon = HoYoLAB|link = https://www.hoyolab.com/circles/10/100002/official|text = Official HoYoLAB}}<!-- | |||
-->{{Main Page/Button|icon = Discord|link = https://discord.gg/petitplanetofficial|text = Official Discord}}<!-- | |||
-->{{Main Page/Button|icon = YouTube|link = https://www.youtube.com/@PetitPlanetGame|text = Official YouTube}}<!-- | |||
-->{{Main Page/Button|icon = Reddit|link = https://www.reddit.com/r/PetitPlanet|text = Official Reddit}}<!-- | |||
-->{{Main Page/Button|icon = Instagram|link = https://www.instagram.com/petitplanetgame|text = Official Instagram}}<!-- | |||
-->{{Main Page/Button|icon = X|link = https://x.com/PetitPlanetGame|text = Official X}}<!-- | |||
-->{{Main Page/Button|icon = TikTok|link = https://www.tiktok.com/@petitplanet|text = Official TikTok}}<!-- | |||
-->{{Main Page/Button|icon = Facebook|link = https://www.facebook.com/PetitPlanetGame|text = Official Facebook}}<!-- | |||
--></div><!-- | |||
--><hr><!-- | |||
--><div class="hlist mp-statistics"><ul><!-- | |||
--><li>'''[[Special:AllPages|{{NUMBEROFARTICLES}}]]''' articles</li><!-- | |||
--><li>'''[[Special:NewFiles|{{NUMBEROFFILES}}]]''' files</li><!-- | |||
--><li>'''[[Special:ActiveUsers|{{NUMBEROFACTIVEUSERS}}]]''' active users</li><!-- | |||
--></ul></div><!-- | |||
--> | |||
</div><!-- | |||
--> | |||
<div class=" | <!-- Left START --> | ||
<div class="mp-left"><!-- | |||
--><div class="main-countdown main-container"><!-- | |||
</div> | --><div class="main-title">Pre-Launch Special Program Countdown</div><!-- | ||
</div> | --><div class="main-countdown-time"><!-- | ||
-->{{Countdown | |||
|EventName=Pre-Launch Special Program | |||
|TimeStart=2026/11/01 19:00:00 | |||
|TimeStartOffset=GMT+8 | |||
|Padding = yes | |||
|Format = hero | |||
|HideText = yes | |||
|Labels = full | |||
|HideZeros=yes | |||
}}<!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--><div class="main-cards main-container"><!-- | |||
--><div class="main-title">Useful Links</div><!-- | |||
--><div class="mp-navigation-wrapper mp-card-navigation"><!-- | |||
-->{{Main Page/Card|icon = Hardy Craftsman Top|link = Dress Up}}<!-- | |||
-->{{Main Page/Card|icon = Hexia Meadow Rug|link = Furniture}}<!-- | |||
-->{{Main Page/Card|icon = Kabuto Beetle|link = Creatures}}<!-- | |||
-->{{Main Page/Card|icon = Aromatic Fruit Tea|link = Dish|text = Dishes}}<!-- | |||
-->{{Main Page/Card|icon = DIY Bench|link = Crafting}}<!-- | |||
-->{{Main Page/Card|icon = Glenn|link = Shop}}<!-- | |||
-->{{Main Page/Card|icon = Luca|link = Luca Arbor}}<!-- | |||
-->{{Main Page/Card|icon = Starsea Voyage|link = Starsea Voyage}}<!-- | |||
-->{{Main Page/Card|icon = Loomi|link = Loomix Footprints}}<!-- | |||
-->{{Main Page/Card|icon = Mors|link = Omni-Gallery}}<!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--><div class="main-neighbor main-container"><!-- | |||
--><div class="main-title">[[Neighbors]]</div><!-- | |||
--><div class="main-neighbor-list"><!-- | |||
-->{{#DPL: | |||
|namespace = | |||
|category = Neighbors | |||
|uses = Template:Neighbor Infobox | |||
|include = {Change History}:1 | |||
|format = ²{Card List¦icon_right_type=Icon¦icon_right_size=50¦delim=;;¦1=,<!-- | |||
-->%PAGE%<!--<!-- | |||
-->²{#ifeq:,¦²{CurrentVersion¦version=no}²¦{icon_right=[[File:Icon New.png|x25px|link=%PAGE%]] $ icon_right_style=right: -8px; top: -10px} }²<!--<!-- | |||
-->;;<!--<!-- | |||
-->,}²<!-- | |||
-->|ordermethod = sortkey<!-- | |||
-->}} | |||
</div><!-- | |||
--></div><!-- | |||
--></div> | --></div> | ||
</div> | <!-- Left END --> | ||
</div> | |||
<!-- Right START --> | |||
<div class="mp-right"><!-- | |||
<div class="main-server-countdown main-container"><!-- | |||
<div class="main-title">Daily Server Reset</div><!-- | |||
<div class="main-server-countdown-list"><!-- | |||
<div class="main-server"><!-- | |||
<div class="main-server-name">Asia</div><!-- | |||
<div class="main-server-time"><!-- | |||
{{Countdown | |||
|TimeEnd={{#ifexpr: | |||
{{#time:H|+8 hour}}<6 | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+8 hour}} 06:00 -8 hour}} | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+8 hour}} 06:00 -8 hour +1 day}} | |||
}} | |||
|EndText={{Countdown | |||
|nested=yes | |||
|TimeEnd={{#ifexpr: | |||
{{#time:H|+8 hour}}<6 | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+8 hour}} 06:00 -8 hour +1 day}} | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+8 hour}} 06:00 -8 hour +2 day}} | |||
}} | |||
}} | |||
|Format=colon | |||
|Padding=yes | |||
|HideText=yes | |||
|HideZeros=yes | |||
}} | |||
</div><!-- | |||
</div><!-- | |||
<div class="main-server"><!-- | |||
<div class="main-server-name">Europe</div><!-- | |||
<div class="main-server-time"><!-- | |||
{{Countdown | |||
|TimeEnd={{#ifexpr: | |||
{{#time:H|+1 hour}}<6 | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+1 hour}} 06:00 -1 hour}} | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+1 hour}} 06:00 -1 hour +1 day}} | |||
}} | |||
|EndText={{Countdown | |||
|nested=yes | |||
|TimeEnd={{#ifexpr: | |||
{{#time:H|+1 hour}}<6 | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+1 hour}} 06:00 -1 hour +1 day}} | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|+1 hour}} 06:00 -1 hour +2 day}} | |||
}} | |||
}} | |||
|Format=colon | |||
|Padding=yes | |||
|HideText=yes | |||
|HideZeros=yes | |||
}} | |||
</div><!-- | |||
</div><!-- | |||
<div class="main-server"><!-- | |||
<div class="main-server-name">America</div><!-- | |||
<div class="main-server-time"><!-- | |||
{{Countdown | |||
|TimeEnd={{#ifexpr: | |||
{{#time:H|-5 hour}}<6 | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|-5 hour}} 06:00 +5 hour}} | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|-5 hour}} 06:00 +5 hour +1 day}} | |||
}} | |||
|EndText={{Countdown | |||
|nested=yes | |||
|TimeEnd={{#ifexpr: | |||
{{#time:H|-5 hour}}<6 | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|-5 hour}} 06:00 +5 hour +1 day}} | |||
| | |||
{{#time:Y/m/d H:i|{{#time:Y/m/d|-5 hour}} 06:00 +5 hour +2 day}} | |||
}} | |||
}} | |||
|Format=colon | |||
|Padding=yes | |||
|HideText=yes | |||
|HideZeros=yes | |||
}} | |||
</div><!-- | |||
</div><!-- | |||
</div> | </div><!-- | ||
<!-- | </div><!-- | ||
-->{{Birthday Calendar}}<!-- | |||
< | |||
--></div></div></includeonly><noinclude>{{Documentation|type=Main Page|content= | |||
{{CSS|Template:Main Page/styles}} | |||
Template that creates the Main Page. | |||
==Syntax== | |||
<syntaxhighlight lang="wikitext" copy>{{Main Page}}</syntaxhighlight> | |||
This template has no parameters. | |||
==Example== | |||
{{Example|<nowiki> | |||
{{Main Page}} | |||
</nowiki>}} | |||
</ | |||
==See Also== | |||
* {{T|Main Page/Highlight}} | |||
* {{T|Main Page/Card}} | |||
* {{T|Main Page/Button}} | |||
< | ==Template Data== | ||
<templatedata> | |||
{ | |||
</ | "params": {}, | ||
"format": "inline", | |||
"description": "Template that creates the Main Page." | |||
} | |||
</templatedata> | |||
</ | }}</noinclude> | ||
Latest revision as of 10:05, 23 October 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Draft | Usage |
This template uses CSS found at Template:Main Page/styles.css.
Template that creates the Main Page.
Syntax
{{Main Page}}
This template has no parameters.
Example
{{Main Page}}
Petit Planet is an upcoming cosmic life simulation game developed and published by HoYoverse. The game is free-to-play and cross-platform.
Welcome to the Petit Planet wiki! Planet Tenders will find English resources for the global version of the game on this wiki. Please note that there are unmarked spoilers on this wiki.
See Also
- {{Main Page/Highlight}}
- {{Main Page/Card}}
- {{Main Page/Button}}
Template Data
Template that creates the Main Page.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
