Template:Version infobox: Difference between revisions

From BTA-Mirror
imported>Ttv pedro270707
m ("Minecraft Beta" and "Better than Adventure!" are now removed from version/patch links; fixed issue where versions and patches had to be together to work)
imported>Ttv pedro270707
m (Fixed huge space between client and server downloads)
Line 19: Line 19:
<tr>
<tr>
<th>Download{{#if: {{{downloadclient|}}} | {{#if: {{{downloadserver|}}} | s | }} | }}</th>
<th>Download{{#if: {{{downloadclient|}}} | {{#if: {{{downloadserver|}}} | s | }} | }}</th>
<td>{{#if: {{{downloadclient|}}} | [{{{downloadclient|}}} Client]}}
<td>{{#if: {{{downloadclient|}}} | [{{{downloadclient|}}} Client]}}<!--
{{#if: {{{downloadclient|}}} | {{#if: {{{downloadserver|}}} | <br> | }} | }}
--> {{#if: {{{downloadclient|}}} | {{#if: {{{downloadserver|}}} | <br> | }} | }}<!--
{{#if: {{{downloadserver|}}} | [{{{downloadserver|}}} Server]}}</td>
--> {{#if: {{{downloadserver|}}} | [{{{downloadserver|}}} Server]}}</td>
</tr>
</tr>
| }}
| }}

Revision as of 21:21, 31 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}}.

Lorem ipsum

◄◄ 1.7.5   1.7.6.1 ►►
◄ 1.7.6
Release date January 1, 1970
Downloads Client
Server
[view | edit | history | purge]The above documentation is transcluded from Template:Version infobox/doc.