Template:Collection: Difference between revisions

rv to simplest form
(tinkering)
(rv to simplest form)
Line 1:
<noinclude>
<div style="border-style: solid; border-width: 2px; border-color:orange; background-color:lightyellow">[[file:Bolts Hammering.gif|60px]]i'm tinkering. don't use this template yet, it is not stable — [[User:Gifted9|gifted9]] <sup>[[User talk:gifted9|talk]] / [[Special:Contributions/Gifted9|contribs]]</sup> 21:05, 29 March 2023 (UTC)</div>
will need to accommodate variations:
* plain: item, avail, tradeability e.g. rugs
Line 7 ⟶ 6:
* relevant info: item, avail, itemtype, tradeability e.g. fences
</noinclude>
|[[{{{filename}}}]]
|-
<br>{{{itemname}}}
|[[File:{{#replace:{{lc:{{{itemname}}}}}| |}}.png]]<br>{{{itemname}}} || {{#if:{{{itemname2|}}}{{!}}{{!}} <nowiki>[[</nowiki>}}File:{{#replace:{{lc:{{{itemname2}}}}}| |}}.png{{#if:{{{filename2|}}}<nowiki>]]<br></nowiki>}}{{{itemname2|}}} || {{#dpl: |imageused={{#replace:{{lc:{{{itemname}}}}}| |}}.png|titlematch=(Picture Guide)%|replaceintitle=#\(Picture Guide\)#,|ordermethod=title|order=descending|format=,¶[[%PAGE%¦<span style="color:black;">%TITLE%</span>]],,}}{{#if:{{{level2|}}}|<br>}}{{{level2|}}}{{#if:{{{level3|}}}|&nbsp;–&nbsp;}}{{{level3|}}} || {{{tradeable}}} {{#if:{{{extrainfo1|}}}&nbsp;{{!}}{{!}}&nbsp;}}{{{extrainfo1|}}} {{#if:{{{extrainfo2|}}}&nbsp;{{!}}{{!}}&nbsp;}}{{{extrainfo2|}}}{{#if:{{{extrainfo3|}}}&nbsp;{{!}}{{!}}&nbsp;}}{{{extrainfo3|}}} {{#if:{{{extrainfo4|}}}{{!}}{{!}}}}{{{extrainfo4|}}} {{#if:{{{extrainfo5|}}}&nbsp;{{!}}{{!}}&nbsp;}}{{{extrainfo5|}}}
|{{#dpl: |imageused={{{filename}}} |titlematch=(Picture Guide)%|replaceintitle=#\(Picture Guide\)#,|ordermethod=title|order=descending|format=,¶[[%PAGE%¦<span style="color:black;">%TITLE%</span>]],,}}{{#if:{{{level2|}}}|<br>}}{{{level2|}}}
{{#if:{{{level3|}}}|–&nbsp;}}{{{level3|}}}
|{{{tradeable}}}