Template:Infobox version: Difference between revisions
From Workers & Resources: Soviet Republic Official Wiki
Other versions: drop 0.7.6, 0.9.1 and Pre-release (no such releases/pages), add the 1.0 and 1.1 updates |
Draw the Other versions list from Template:Version list instead of hardcoding it |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
<panel name="images"> | <panel name="images"> | ||
<section name="tab"> | <section name="tab"> | ||
<label>{{#if:{{{label|}}}|{{{label}}}|{{#if:{{{image2|}}}{{{thumb|}}}|Thumb | <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 | <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 | <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 | <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> | <data source="hidden"><default>{{Version list}}</default></data> | ||
</group> | </group> | ||
</infobox></onlyinclude> | </infobox></onlyinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||


