Difference between revisions of "Template:Version"

From Underrail Wiki
Jump to navigation Jump to search
m (change gog version tooltip to use Template:Tooltip)
(conditional td rendering, wikitable class to improve readability)
Line 1: Line 1:
{| class="mw-collapsible mw-collapsed" data-expandtext="Show {{{version|}}} changelog" data-collapsetext="Hide {{{version|}}} changelog" width="100%"
+
{| class="wikitable mw-collapsible mw-collapsed" data-expandtext="Show {{{version|}}} changelog" data-collapsetext="Hide {{{version|}}} changelog" width="100%"
 
 
 
|-
 
|-
| width="350px" | {{#if: <noinclude>string</noinclude>{{{releasedate|}}} | '''Release Date:''' {{{releasedate}}}|}}
+
{{#if: <noinclude>string</noinclude>{{{releasedate|}}} | {{!}} width="{{#if: {{{gogversion|}}}|400px|200px}}" {{!}} '''Release Date:''' {{{releasedate}}} |}}
| width="200px" | {{#if: <noinclude>string</noinclude>{{{gogversion|}}}  | '''{{tooltip|Older GOG.com standalone installer versions did not match Underrail versions|GOG version:}}''' {{{gogversion}}} |}}
+
{{#if: <noinclude>string</noinclude>{{{gogversion|}}}  | {{!}} width="200px" {{!}} '''{{tooltip|Older GOG.com standalone installer versions did not match Underrail versions|GOG version:}}''' {{{gogversion}}} |}}
|                {{#if: <noinclude>string</noinclude>{{{summary|}}}    | '''Summary:''' {{{summary}}}|}}
+
{{#if: <noinclude>string</noinclude>{{{summary|}}}    | {{!}} '''Summary:''' {{{summary}}} |}}
|
 
 
 
 
|-
 
|-
 
|colspan="5"|
 
|colspan="5"|

Revision as of 11:07, 15 December 2019

Release Date: {{{releasedate}}} GOG version: {{{gogversion}}} Summary: {{{summary}}}

{{{changelog}}}

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Version/doc to view this documentation. (edit) (How does this work?)
Description
Used on version history pages.