(add category) |
(namespace switch for version header) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if:{{#pos:{{{1}}}|.}}|<div style="clear:both;"></div></div></div><h3>Version {{{1}}}</h3><div style="border:4px solid #b2af9c; background:#{{#switch:{{NAMESPACENUMBER}}|3002=dfdbc3|ffffff}};>{{#if:{{{2|}}}|<div style="width:min(93%, -20000 * (50% - 450px)); min-width:370px; float:left; padding:8px; background:#{{#switch:{{NAMESPACENUMBER}}|3002=dfdbc3|ffffff}}; padding-right:min(24px, 6%); line-height:270px">{{#arraymaptemplate:{{{2}}}|VersionHistory/Images|,|\n}}</div>}}}}{{#if:{{#pos:{{{1}}}|.}}||</div>}}<div style="padding:6px 10px; padding-left:32px; border-bottom:1px solid #B7B4A2;"><b>{{#if:{{#pos:{{{1}}}|.}}|C|Patch {{{1}}} / C}}ontributing Authors:</b> {{#arraymaptemplate:{{#if:{{#pos:{{{1}}}|.}}|{{{3}}}|{{{2}}}}}|VersionHistory/Category|,|, }}<br>'''Release Date:''' {{#if:{{#pos:{{{1}}}|.}}|{{{4}}}|{{{3}}}}}</div> | <onlyinclude>{{#if:{{#pos:{{{1}}}|.}}|<div style="clear:both;"></div></div></div><h3>{{#switch:{{NAMESPACENUMBER}}|3014|3015=Ver|Version }}{{{1}}}</h3><div style="border:4px solid #b2af9c; background:#{{#switch:{{NAMESPACENUMBER}}|3002=dfdbc3|ffffff}};>{{#if:{{{2|}}}|<div style="width:min(93%, -20000 * (50% - 450px)); min-width:370px; float:left; padding:8px; background:#{{#switch:{{NAMESPACENUMBER}}|3002=dfdbc3|ffffff}}; padding-right:min(24px, 6%); line-height:270px">{{#arraymaptemplate:{{{2}}}|VersionHistory/Images|,|\n}}</div>}}}}{{#if:{{#pos:{{{1}}}|.}}||</div>}}<div style="padding:6px 10px; padding-left:32px; border-bottom:1px solid #B7B4A2;"><b>{{#if:{{#pos:{{{1}}}|.}}|C|Patch {{{1}}} / C}}ontributing Authors:</b> {{#arraymaptemplate:{{#if:{{#pos:{{{1}}}|.}}|{{{3}}}|{{{2}}}}}|VersionHistory/Category|,|, }}<br>'''Release Date:''' {{#if:{{#pos:{{{1}}}|.}}|{{{4}}}|{{{3}}}}}</div> | ||
<div style="padding:6px 10px; border-bottom: 1px solid #B7B4A2;"></onlyinclude> | <div style="padding:6px 10px; border-bottom: 1px solid #B7B4A2;"></onlyinclude> | ||
Revision as of 16:55, 12 May 2024
Patch {{{1}}} / Contributing Authors: {{{2}}}
Release Date: {{{3}}}
Release Date: {{{3}}}
use in a version history page like this
{{vh |0.100a |example.png (Example World), two.png (Another World) |author1, author2 |1999/09/19}} *text *text ...
or for patches like this
{{vh |2 |author1, author2 |1999/09/29}} *text *text ...
If there is normal page content below a usage of this template, put a couple </div> in there to stop the css from bleeding onto it