Template:VersionBox

From OpenTTD
Jump to: navigation, search



Template:VersionBox usage

This template is translation-independent. Keep it like that! Is is used in translation specific templates like {{Feature}} or {{Feature period}}.

{{Feature | Version number from | Version number to | caption= Translation-specific caption | text= Optional additional text | float= Optional box alignment}}

Supported versions: 0, 0.5, 0.6, 0.7, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8 (and others can be added easily).
Use version 0 for old versions before 0.5. Use the unreleased version for nightlies.
If the templates becomes too broad, versiosn can be easily grouped together, while the caption still gives the exact information.

Examples:

{{VersionBox|0.6|0.7|caption=Feature availability}}


Feature availability

<1.0

1.0-1.2

1.3

1.4

1.5-1.7

Nightly

{{VersionBox|0.7|1.0|caption=Feature availability|text=(0.7.2 to 1.0.0)|float=left}}
EXAMPLE TEXT EXAMPLE TEXT EXAMPLE TEXT{{-}}


Feature availability (0.7.2 to 1.0.0)

<1.0

1.0-1.2

1.3

1.4

1.5-1.7

Nightly

EXAMPLE TEXT EXAMPLE TEXT EXAMPLE TEXT


{{VersionBox|0|1.0|caption=Feature availability|float=right}}
EXAMPLE TEXT EXAMPLE TEXT EXAMPLE TEXT{{-}}


Feature availability

<1.0

1.0-1.2

1.3

1.4

1.5-1.7

Nightly

EXAMPLE TEXT EXAMPLE TEXT EXAMPLE TEXT


{{VersionBox|0.5|caption=Feature availability}}


Feature availability

<1.0

1.0-1.2

1.3

1.4

1.5-1.7

Nightly

{{VersionBox|0.6|1.0|caption=Feature availability|text=(0.6.2 to 1.0.0)}}


Feature availability (0.6.2 to 1.0.0)

<1.0

1.0-1.2

1.3

1.4

1.5-1.7

Nightly

Personal tools