Difference between revisions of "Template:Infobox/Version"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 8: Line 8:
 
{{Infobox/Line|{{Lang|default=Announcement|en=Announcement|ru=Официальное сообщение:}}|[[{{#if: {{{article|}}}|article:{{{article}}}|thread:{{{thread<noinclude>|53069</noinclude>}}}}}|{{{title|Forum post}}}]]}}{{if||{{{steam|}}}|
 
{{Infobox/Line|{{Lang|default=Announcement|en=Announcement|ru=Официальное сообщение:}}|[[{{#if: {{{article|}}}|article:{{{article}}}|thread:{{{thread<noinclude>|53069</noinclude>}}}}}|{{{title|Forum post}}}]]}}{{if||{{{steam|}}}|
 
{{Infobox/Line|{{Lang|default=Steam|en=Steam|ru=Стим}}|[http://steamcommunity.com/games/220200/announcements/detail/{{{steam}}} {{{steam title|{{Lang|default=Steam Community|en=Steam Community|ru=Стим-сообщество}}}}}]}}}}
 
{{Infobox/Line|{{Lang|default=Steam|en=Steam|ru=Стим}}|[http://steamcommunity.com/games/220200/announcements/detail/{{{steam}}} {{{steam title|{{Lang|default=Steam Community|en=Steam Community|ru=Стим-сообщество}}}}}]}}}}
{{Infobox/Line|1=<span style="float:left;">← [[{{{previous}}}]]</span> <span style="float:right;">{{#if: {{Booland|{{{next|}}}|{{#ifexpr: {{Check version/Rev|{{{next|}}}|{{#expr: {{Check version/Rev}}+1}}}} <= {{Check version/Rev}}|1}}}}|[[{{{next}}}]]|Newest}} →</span>}}
+
{{Infobox/Line|1=<span style="float:left;">← [[{{{previous}}}]]</span> <span style="float:right;">{{#if: {{Booland|{{{next|}}}|{{#ifexpr: {{Check version/Rev|{{{next|}}}|{{#expr: {{Check version/Rev}}+1}}}} <= {{Check version/Rev}}|1}}}}|[[{{{next}}}]]|{{Lang|default=Newest|en=Newest|ru=Новейший}} →</span>}}
 
}}<noinclude>
 
}}<noinclude>
 
An infobox for [[:Category:Versions|version pages]].
 
An infobox for [[:Category:Versions|version pages]].

Revision as of 10:48, 22 September 2014

{{Infobox |file=none |name= |hovertext= |lines=

|- valign="top" | colspan="2" | Released | 2024-03-28 |- valign="top" | colspan="2" | Announcement | Forum post |- valign="top" | colspan="3" | ← [[{{{previous}}}]] Newest → An infobox for version pages.

Template:Parameter Table

Date format

This template automatically formats the released date. DO NOT use your own format. It might be recognized, but to keep it clean use the ISO format (YYYY-MM-DD). If the language is not supported it will use the ISO format to avoid ambiguities. It will show the ISO format on this template page and infobox subpages.

Currently supported:

  • English: (M)M/(D)D/YYYY
  • German: DD.MM.YYYY

It is possible with the format parameter to use a custom format. The {{#time:}} is used.

Thread, article and Steam ID

Only the ID is required, which is the highlighted text:

  • Thread ID: http://forum.kerbalspaceprogram.com/threads/53069-Update-0-22-is-now-LIVE! → 53069
  • Article ID: http://forum.kerbalspaceprogram.com/content/274-KSP-Asteroid-Redirect-Mission-is-Officially-Released! → 274
  • Steam ID: http://steamcommunity.com/games/220200/announcements/detail/15697947114021041581569794711402104158