Difference between revisions of "Template:Backpack item/Sandbox"
(its back!) |
(added some fallbacks so warpaints display correctly) |
||
Line 11: | Line 11: | ||
| [[File:{{{custom-icon}}}|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{BASEPAGENAME}}}}}]] | | [[File:{{{custom-icon}}}|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{BASEPAGENAME}}}}}]] | ||
|{{#if: {{#if:{{{grade|}}}|{{{wear|}}}}} <!-- If grade AND wear are specified --> | |{{#if: {{#if:{{{grade|}}}|{{{wear|}}}}} <!-- If grade AND wear are specified --> | ||
− | | [[File:Backpack {{{skin}}} {{{item-name}}} {{{wear}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]] | + | | {{#if:{{{skin|}}} |
+ | | [[File:Backpack {{{skin}}} {{{item-name}}} {{{wear}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]] | ||
+ | | [[File:Backpack {{{item-name}}} {{{item-kind}}} {{{wear}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]] | ||
+ | }} | ||
| [[File:Backpack {{{item-name|Unknownweapon}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]] | | [[File:Backpack {{{item-name|Unknownweapon}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]] | ||
}}}}</div></center> | }}}}</div></center> | ||
Line 506: | Line 509: | ||
[[Category:Formatting templates|Backpack item]] | [[Category:Formatting templates|Backpack item]] | ||
[[Category:Image insertion templates|Backpack item]] | [[Category:Image insertion templates|Backpack item]] | ||
− |
Revision as of 22:10, 24 October 2021
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Backpack item/Sandbox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: cs, de, ja, ko, nl, pl, pt-br, ru, zh-hant, zh-hans (add) |
Template documentation [item/Sandbox/doc?action=edit&preload=Template:Documentation/preload create]