Template:ItemCard: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 6: Line 6:
| style="width:40%; padding-left:20px;" |
| style="width:40%; padding-left:20px;" |
'''Name''': {{{name|Unknown}}}<br><br>
'''Name''': {{{name|Unknown}}}<br><br>
'''Type''': {{{type|Unknown}}}
'''Type''': {{{type|Unknown}}}<br>
{{#if:{{{slot|}}}|'''Slot''': {{{slot}}}<br>|<span style="display:none;"></span>}}


{{#ifexpr:
{{#ifexpr:
Line 53: Line 54:
|}
|}
<!-- Equipment Roll Tables -->
<!-- Equipment Roll Tables -->
{{#if:{{{type|}}}|
{{#if:{{{slot|}}}|
   <div style="margin-top:1em;">
   <div style="margin-top:1em;">
   {{#switch:{{lc:{{{type}}}}}
   {{#switch:{{lc:{{{slot}}}}}
     | weapon = {{#switch:{{lc:{{{tier|normal}}}}}
     | weapon = {{#switch:{{lc:{{{tier|normal}}}}}
         | dull = {{ItemCard/Rolls/Weapon/Dull}}
         | dull = {{ItemCard/Rolls/Weapon/Dull}}
member
1,308

edits