Template:Infobox item: Difference between revisionsGive feedback
fix sounds section, add sound2 |
actually apply file to param |
||
| Line 290: | Line 290: | ||
|- | |- | ||
{{#if:{{{sound1|}}}| | {{#if:{{{sound1|}}}| | ||
{{!}} colspan=4 style="text-align: | {{!}} colspan=4 style="text-align:center; padding:2px 12px; {{ | ||
#switch: {{{item_type}}} | #switch: {{{item_type}}} | ||
| Weapon = background-color: #C97A03; | | Weapon = background-color: #C97A03; | ||
| Line 297: | Line 297: | ||
| background-color: #C97A03;}}" {{!}} Sounds | | background-color: #C97A03;}}" {{!}} Sounds | ||
{{!}}- | {{!}}- | ||
{{!}} {{{sound1|}}} | {{!}} [[File:{{{sound1|}}}]] | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{sound2|}}}| | {{#if:{{{sound2|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} {{{sound2|}}} | {{!}} [[File:{{{sound2|}}}]] | ||
}} | }} | ||
|}<!--end of infobox--> | |}<!--end of infobox--> | ||
</div>{{#ifeq:{{{no_category|}}}|true||[[Category:Items]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | </div>{{#ifeq:{{{no_category|}}}|true||[[Category:Items]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||