Template:Ammo: Difference between revisions
Jump to navigation
Jump to search
(Updated dispersion and recoil fields, they no longer show up if not inputted.) |
m (fusion blaster ammo gives an error, I think this should fix it.) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
|headerstyle = color:#000000; | |headerstyle = color:#000000; | ||
|title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}} | |title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}}<br/>{{#if:{{{id|}}}|{{Infobox/Itembrowser|id={{{id|}}}|name={{{name|}}} }} }} | ||
|header1=General | |header1=General | ||
|label2=[[Materials]] | |label2=[[Materials]] | ||
| Line 17: | Line 14: | ||
|label3=[[Volume]] | |label3=[[Volume]] | ||
|data3={{{volume|0}}} | |data3={{Volume|{{{volume|0}}}}} | ||
|label4=[[Weight]] | |label4=[[Weight]] | ||
| Line 46: | Line 43: | ||
|label10=Price | |label10=Price | ||
|data10=$ {{#expr:{{{price|0}}} / ({{#if: {{{stack|}}}|{{{stack|}}}/{{{count|}}} |1}}) / 100}} | |data10=$ {{#expr:{{{price|0}}} / ({{#if: {{{stack|}}}|{{{stack|}}}/{{{count|1}}} |1}}) / 100}} | ||
|label11=Stack (start/max) | |label11=Stack (start/max) | ||
| Line 74: | Line 70: | ||
}} | }} | ||
__NOTOC__ | __NOTOC__ | ||
<div style="font-family:Georgia, serif; background: #EBEBEB; color: dimgray; padding: | <div style="font-family:Georgia, serif; background: #EBEBEB; color: dimgray; padding:0em; margin-left: 2em; margin-right: 20em; text-align:justify;">{{quote|{{{description|Some ammunition}}}}}</div> | ||
</div> | |||
<div style="display: table; margin: 0 auto; text-align:center;">{{#if: {{{image|}}}|<p style="font-family:Georgia, serif; color: gray; font-weight:bold">Visual reference</p>}}{{{image|}}}</div> | <div style="display: table; margin: 0 auto; text-align:center;">{{#if: {{{image|}}}|<p style="font-family:Georgia, serif; color: gray; font-weight:bold">Visual reference</p>}}{{{image|}}}</div> | ||