Template:Infobox version: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
JKM (talk | contribs)
m 1 revision imported
Draw the Other versions list from Template:Version list instead of hardcoding it
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><infobox>
<onlyinclude><templatestyles src="Infobox/styles.css" /><infobox layout="stacked">
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<panel name="images">
<panel name="images">
<section name="tab">
<section name="tab">
<label>{{#if:{{{label|}}}|{{{label}}}|{{#if:{{{image2|}}}{{{thumb|}}}|Thumb|{{{label}}}}}}}</label>
<label>{{#if:{{{label|}}}|{{{label}}}|{{#if:{{{image2|}}}{{{thumb|}}}|Thumb}}}}</label>
<image source="image"><caption source="caption"></caption></image>
<image source="image"><caption source="caption"></caption></image>
</section>
</section>
<section name="tab2">
<section name="tab2">
<label>{{#if:{{{label2|}}}|{{{label2}}}|{{#if:{{{image|}}}{{{cover}}}|Cover|{{{label2}}}}}}}</label>
<label>{{#if:{{{label2|}}}|{{{label2}}}|{{#if:{{{image|}}}{{{cover|}}}|Cover}}}}</label>
<image source="image2"><caption source="caption2"></caption></image>
<image source="image2"><caption source="caption2"></caption></image>
</section>
</section>
<section name="tab3">
<section name="tab3">
<label>{{#if:{{{label3|}}}|{{{label3}}}|{{#if:{{{image4|}}}{{{thumb2|}}}|Alt. thumb|{{{label3}}}}}}}</label>
<label>{{#if:{{{label3|}}}|{{{label3}}}|{{#if:{{{image4|}}}{{{thumb2|}}}|Alt. thumb}}}}</label>
<image source="image3"><caption source="caption3"></caption></image>
<image source="image3"><caption source="caption3"></caption></image>
</section>
</section>
<section name="tab4">
<section name="tab4">
<label>{{#if:{{{label4|}}}|{{{label4}}}|{{#if:{{{image3|}}}{{{cover2}}}|Alt. cover|{{{label4}}}}}}}</label>
<label>{{#if:{{{label4|}}}|{{{label4}}}|{{#if:{{{image3|}}}{{{cover2|}}}|Alt. cover}}}}</label>
<image source="image4"><caption source="caption4"></caption></image>
<image source="image4"><caption source="caption4"></caption></image>
</section>
</section>
Line 28: Line 28:
     <header>Other versions</header>
     <header>Other versions</header>
<group layout="horizontal">
<group layout="horizontal">
<data source="hidden"><default>[[Pre-release]] {{dot}} [[Patch 0.7.3|0.7.3]] {{dot}} [[Patch 0.7.4|0.7.4]] {{dot}} [[Patch 0.7.5|0.7.5]] {{dot}} [[Patch 0.7.6|0.7.6]] {{dot}} [[Patch 0.7.7|0.7.7]] {{dot}} [[Patch 0.7.8|0.7.8]] {{dot}} [[Patch 0.7.9|0.7.9]] {{dot}} [[Patch 0.8.0|0.8.0]] {{dot}} [[Patch 0.8.1|0.8.1]] {{dot}} [[Patch 0.8.2|0.8.2]] {{dot}} [[Patch 0.8.3|0.8.3]] {{dot}} [[Patch 0.8.4|0.8.4]] {{dot}} [[Patch 0.8.5|0.8.5]] {{dot}} [[Patch 0.8.6|0.8.6]] {{dot}} [[Patch 0.8.7|0.8.7]] {{dot}} [[Patch 0.8.8|0.8.8]] {{dot}} [[Patch 0.8.9|0.8.9]] {{dot}} [[Patch 0.9.0|0.9.0]] {{dot}} [[Patch 0.9.1|0.9.1]]</default></data>
<data source="hidden"><default>{{Version list}}</default></data>
</group>
</group>
</infobox></onlyinclude>
</infobox></onlyinclude>
{{Documentation}}
{{Documentation}}
[[Category:Infobox templates]]
[[Category:Infobox templates]]

Latest revision as of 19:50, 8 August 2026

Template documentation (for the template shown above, sometimes hidden or invisible)
Documentation transcluded from Template:Infobox version/doc.