Template:Version infobox: Difference between revisions

From BTA-Mirror
imported>Denatidum
No edit summary
imported>Ttv pedro270707
m ("Download" instead of "Downloads" when only one download is present)
Line 16: Line 16:
</tr>
</tr>
| }}
| }}
{{#if: {{{downloadclient|}}} |
{{#if: {{{downloadclient|{{{downloadserver|}}}}}} |
<tr>
<tr>
<th>Downloads</th>
<th>Download{{#if: {{{downloadclient|}}} | {{#if: {{{downloadserver|}}} | s | }} | }}</th>
<td>[{{{downloadclient|}}} Client]<br>{{#if: {{{downloadserver|}}} | [{{{downloadserver|}}} Server]}}</td>
<td>{{#if: {{{downloadclient|}}} | [{{{downloadclient|}}} Client]}}{{#if: {{{downloadclient|}}} | {{#if: {{{downloadserver|}}} | <br> | }} | }}{{#if: {{{downloadserver|}}} | [{{{downloadserver|}}} Server]}}</td>
</tr>
</tr>
| }}
| }}

Revision as of 19:45, 20 March 2023

[view | edit | history | purge]Documentation

This template allows for the creation of version infoboxes. This example on the side is created with {{Version infobox|title=Lorem ipsum|image=[[File:Stalactite.png|frameless|160px]]|releasedate=January 1, 1970|downloadclient=https://archive.org/download/Minecraft-JE-Classic/c0.0.23a_01/c0.0.23a_01.jar|downloadserver=https://archive.org/download/Minecraft-JE-Classic/c0.0.23a_01/c0.0.23a_01.jar|prevversion=Minecraft Beta 1.7.5|nextversion=Minecraft Beta 1.7.6.1|prevpatch=Minecraft Beta 1.7.6}}.

[view | edit | history | purge]The above documentation is transcluded from Template:Version infobox/doc.