Jump to content

Template:Version Infobox: Difference between revisions

From The Petit Planet Wiki
Removed "Version" from display title
ReisuDesign (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|title = {{{title|{{{name|}}}}}}
|title = {{{title|{{{name|}}}}}}
|subtitle = {{{subtitle|{{#if:{{{version|}}}|Version {{{version|}}}}}}}}
|subtitle = {{{subtitle|{{#if:{{{version|}}}|Version {{{version|}}}}}}}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:Splashscreen {{{title|{{{name|}}}}}}.png]]}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]}}
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}}
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}|<!--
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}}
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Splashscreen.png|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Splashscreen.png]],}}<!--
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Title.png|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Title.png]]}}<!--
-->}}
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}|<!--
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Splashscreen.png|Splashscreen,}}<!--
-->{{Exists|File:{{{title|{{{name|{{PAGENAME}}}}}}}} Title.png|Title}}<!--
-->}}
|sections = Information, Chronology, Details
|sections = Information, Chronology, Details


|Information_nolabel = Yes
|Information_nolabel = Yes
|Information = Release Date, Expected Release Date
|Information = Start, End, Expected Start
|Release Date = {{#if:{{{date|}}}|{{#iferror:{{#time:xg j, Y|{{{date|}}}}}|TBA|{{#time:xg j, Y|{{{date|}}}}}}}<br>{{Time Ago|{{{date|}}}|last=month}}}}
|Start = {{#if:{{{time_start|}}}|{{#iferror:{{#time:xg j, Y|{{{time_start||}}}}}|TBA|{{#time:xg j, Y|{{{time_start||}}}}}}}<br>{{Time Ago|{{{time_start||}}}|last=month}}}}
|Expected Release Date = {{#if:{{{expected|}}}|{{#iferror:{{#time:xg j, Y|{{{expected|}}}}}|TBA|{{#time:xg j, Y|{{{expected|}}}}}}}<br>In {{#expr: (({{#time:U|{{{expected|}}}}} - {{#time:U|now}}) / 86400) round 0}} days<ref>Extrapolated based on the assumption that version updates take place every six weeks on Wednesday.</ref>}}
|End = {{#if:{{{time_end|}}}|{{#iferror:{{#time:xg j, Y|{{{time_end||}}}}}|TBA|{{#time:xg j, Y|{{{time_end||}}}}}}}<br>{{Time Ago|{{{time_end||}}}|last=month}}}}
|Expected Start = {{#if:{{{expected|}}}|{{#iferror:{{#time:xg j, Y|{{{expected|}}}}}|TBA|{{#time:xg j, Y|{{{expected|}}}}}}}<br>In {{#expr: (({{#time:U|{{{expected|}}}}} - {{#time:U|now}}) / 86400) round 0}} days<ref>Extrapolated based on the assumption that version updates take place every six weeks on Wednesday.</ref>}}


|Chronology_nolabel = Yes
|Chronology_nolabel = Yes
Line 32: Line 39:
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
-->{{#ifeq:{{NAMESPACE}}||<!--
-->{{#ifeq:{{NAMESPACE}}||<!--
   -->{{#ifeq:{{FULLPAGENAME}}|{{SUBPAGENAME}}||{{DISPLAYTITLE:{{SUBPAGENAME}}}}}}<!--
   -->{{#ifeq:{{FULLPAGENAME}}|{{SUBPAGENAME}}||{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{SUBPAGENAME}}}}}}}}<!--
-->}}<!--
-->}}<!--
-->{{#ifeq:{{SUBPAGENAME}}|Version||<!--
-->{{#ifeq:{{SUBPAGENAME}}|Version||<!--
   -->{{#if:{{{version|}}}<!--
   -->{{#if:{{{version|}}}<!--
     -->|[[Category:Version|!{{{version}}}]][[Category:Version Info|{{{version}}}]]<!--
     -->|[[Category:Version|!{{{version}}}]][[Category:Version Info|{{{version}}}]]<!--
      -->{{#if:{{{versionGroup|}}}|[[Category:{{{versionGroup|}}}|{{{version|}}}]]|}}<!--
     -->|[[Category:Version|!]][[Category:Version Info]]<!--
     -->|[[Category:Version|!]][[Category:Version Info]]<!--
      -->{{#if:{{{versionGroup|}}}|[[Category:{{{versionGroup|}}}]]|}}<!--
   -->}}<!--
   -->}}<!--
-->}}<!--
-->}}<!--
Line 45: Line 54:
<pre>
<pre>
{{Version Infobox
{{Version Infobox
|title   =  
|title       =  
|version =  
|version     =  
|date   =  
|time_start  =
|prev   =  
|time_end   =  
|next   =  
|previous   =  
|details =  
|next       =  
|details     =  
|description =  
|description =  
}}
}}
Line 58: Line 68:
<pre>
<pre>
{{Version Infobox
{{Version Infobox
|title   = Coziness Test
|title       = Coziness Test
|version = 0.83.5
|version     = 0.83.5
|date    = 2025-11-07 09:00
|time_start  = 2025-11-07 09:00
|next   = Stardrift Test
|time_end    = 2025-12-01 10:00
|details = [https://planet.hoyoverse.com/en-us/news/detail/159678 Announcement];[https://planet.hoyoverse.com/en-us/news/detail/159689 Sign-Up Event Notes & FAQ]
|next       = Stardrift Test
|details     = [https://planet.hoyoverse.com/en-us/news/detail/159678 Announcement];[https://planet.hoyoverse.com/en-us/news/detail/159689 Sign-Up Event Notes & FAQ]
|description = Beyond the hustle and bustle, the Starsea whispers. Deep within the Petit Planet Universe, seeds of hope and life are stirring awake.<br>And you shall bring forth your own "star" with your very hands.<br>Let's begin! Our journey to the Starsea awaits—<br>Are you ready to plant a planet?
|description = Beyond the hustle and bustle, the Starsea whispers. Deep within the Petit Planet Universe, seeds of hope and life are stirring awake.<br>And you shall bring forth your own "star" with your very hands.<br>Let's begin! Our journey to the Starsea awaits—<br>Are you ready to plant a planet?
}}
}}
</pre>
</pre>
{{Version Infobox
{{Version Infobox
|title   = Coziness Test
|title       = Coziness Test
|version = 0.83.5
|version     = 0.83.5
|date    = 2025-11-07 09:00
|time_start  = 2025-11-07 09:00
|next   = Stardrift Test
|time_end    = 2025-12-01 10:00
|details = [https://planet.hoyoverse.com/en-us/news/detail/159678 Announcement];[https://planet.hoyoverse.com/en-us/news/detail/159689 Sign-Up Event Notes & FAQ]
|next       = Stardrift Test
|details     = [https://planet.hoyoverse.com/en-us/news/detail/159678 Announcement];[https://planet.hoyoverse.com/en-us/news/detail/159689 Sign-Up Event Notes & FAQ]
|description = Beyond the hustle and bustle, the Starsea whispers. Deep within the Petit Planet Universe, seeds of hope and life are stirring awake.<br>And you shall bring forth your own "star" with your very hands.<br>Let's begin! Our journey to the Starsea awaits—<br>Are you ready to plant a planet?
|description = Beyond the hustle and bustle, the Starsea whispers. Deep within the Petit Planet Universe, seeds of hope and life are stirring awake.<br>And you shall bring forth your own "star" with your very hands.<br>Let's begin! Our journey to the Starsea awaits—<br>Are you ready to plant a planet?
}}
}}
}}</noinclude>
}}</noinclude>

Latest revision as of 14:45, 12 October 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

Syntax

{{Version Infobox
|title       = 
|version     = 
|time_start  = 
|time_end    = 
|previous    = 
|next        = 
|details     = 
|description = 
}}

Example

{{Version Infobox
|title       = Coziness Test
|version     = 0.83.5
|time_start  = 2025-11-07 09:00
|time_end    = 2025-12-01 10:00
|next        = Stardrift Test
|details     = [https://planet.hoyoverse.com/en-us/news/detail/159678 Announcement];[https://planet.hoyoverse.com/en-us/news/detail/159689 Sign-Up Event Notes & FAQ]
|description = Beyond the hustle and bustle, the Starsea whispers. Deep within the Petit Planet Universe, seeds of hope and life are stirring awake.<br>And you shall bring forth your own "star" with your very hands.<br>Let's begin! Our journey to the Starsea awaits—<br>Are you ready to plant a planet?
}}
Coziness Test
Version 0.83.5
Splashscreen
Title
Start
November 7, 2025
11 months ago
End
December 1, 2025
10 months ago
Previous
N/A
Beyond the hustle and bustle, the Starsea whispers. Deep within the Petit Planet Universe, seeds of hope and life are stirring awake.
And you shall bring forth your own "star" with your very hands.
Let's begin! Our journey to the Starsea awaits—
Are you ready to plant a planet?