Template:Infobox Version: Difference between revisions
m Default values |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly>{{Infobox |
||
⚫ | |||
{{Infobox |
|||
⚫ | |||
| image = {{#ifexist:File:{{#var:title}}.png |
| image = {{#ifexist:File:{{#var:title}}.png |
||
|[[File:{{#var:title}}.png|320px]] |
|[[File:{{#var:title}}.png|320px]] |
||
Line 7: | Line 6: | ||
|[[File:{{#var:title}}_Magazine.png|320px]] |
|[[File:{{#var:title}}_Magazine.png|320px]] |
||
|{{#if:{{{image|}}}|[[File:{{{image}}}|320px]]|}}}}}} |
|{{#if:{{{image|}}}|[[File:{{{image}}}|320px]]|}}}}}} |
||
| |
| label1 = First version | data1 = {{{first_version|}}} |
||
| |
| label2 = Release version | data2 = {{{release_version|}}} |
||
| label2 = Release version | data2 = {{{release_version|Not Released}}} {{#if:{{{release_date|}}}|- {{{release_date}}}|}} |
|||
| label3 = {{#if:{{{next_update|}}}|Final version|Latest version}} |
| label3 = {{#if:{{{next_update|}}}|Final version|Latest version}} |
||
| data3 = {{{latest_version|{{{release_version|{{{first_version| |
| data3 = {{{latest_version|{{{release_version|{{{first_version|}}}}}}}}} |
||
| below = {{#if:{{{prev_update|}}}{{{next_update|}}}| |
| below = {{#if:{{{prev_update|}}}{{{next_update|}}}| |
||
<div style="display:inline-block;padding:0 .4em">{{#if:{{{prev_update|}}}| |
<div style="display:inline-block;padding:0 .4em">{{#if:{{{prev_update|}}}| |
||
Line 21: | Line 19: | ||
|}} |
|}} |
||
}} |
}} |
||
{{#if:{{NAMESPACE}}||[[Category:Updates]]}} |
{{#if:{{NAMESPACE}}||[[Category:Updates]]}}</includeonly><noinclude>{{Documentation}}</noinclude> |
||
</includeonly> |
|||
<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 18:02, 24 April 2024
Infobox for Progressbar95 versions
Basic template[edit source]
The following is the base code required to generate an infobox. One can copy and paste the base code into an article and insert relevant information in front of the =
signs.
{{Infobox Version
| title =
| name =
| first_version =
| release_version =
| latest_version =
| prev_update =
| next_update =
}}
Full usage[edit source]
Parameter | Function | Example | Default value |
---|---|---|---|
title |
The version string of the update | 0.86 |
{{PAGENAME}}
|
name |
The alternative name of the update | September Update |
|
image |
The filename of the "PB Magazine" issue for the update (posted by u/icoeye on r/Progressbar95), without 'File:' | 0.86.png |
{{PAGENAME}}.png or {{PAGENAME}}_Magazine.png ; None if neither exists
|
first_version |
The first version of the update (most of the time a beta version, sometimes a release) | {{Version|ver=0.8450|type=alpha|android_date={{Date|2021|9|26}}}} |
|
release_version |
The first major RTM (release) version of the update | {{Version|ver=0.8600|type=rtm|steam_date={{Date|2021|10|3}}|android_date={{Date|2021|10|4}}|ios_date={{Date|2021|10|5}}}} |
|
latest_version |
The last version of the update. Either the latest version of the game available ("Latest version"), or the version before the first version leading up to the next game update ("Final version") | {{Version|ver=0.8610|type=hotfix|date={{Date|2021|10|13}}}} |
release_version > first_version > None
|
prev_update |
The name of the previous game update | 0.84 |
|
next_update |
The name of the next game update | 0.88
|
TemplateData documentation used by VisualEditor and other tools
Infobox for Progressbar95 versions
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The version string of the update
| String | suggested |
Name | name | The alternative name of the update
| String | suggested |
Magazine image | image | The filename of the "PB Magazine" issue for the update (posted by u/icoeye on r/Progressbar95), without 'File:'
| String | optional |
First version | first_version | The first version of the update (most of the time a beta version, sometimes a release)
| Unknown | suggested |
Release version | release_version | The first major RTM (release) version of the update
| Unknown | suggested |
Latest version | latest_version | The last version of the update. Either the latest version of the game available ("Latest version"), or the version before the first version leading up to the next game update ("Final version")
| Unknown | suggested |
Previous Update | prev_update | The name of the previous game update
| String | suggested |
Next Update | next_update | The name of the next game update
| String | suggested |