Template:Tool: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{|- class="va-table" cellpadding="2" style="margin-left:20px; margin-bottom:15px; float:right; border-style:solid; border-color:black; border-width:1px; background-color:light...") |
(Leading spaces are removed for #if) |
||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{|- | {{Infobox | ||
{{Infobox/ | |bodystyle = width: 220px; background:#E6E6E6; color:#000000; border-color: #CFCFCF; | ||
| | |titlestyle = text-align:center; | ||
|labelstyle = color:#000000; background:#CFCFCF; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap; | |||
|datastyle = background-color:#FFFFff; width: 70%; | |||
|headerstyle = color:#000000; | |||
|title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}}<br/>{{#if:{{{id|}}}|{{Infobox/Itembrowser|id={{{id|}}}|name={{{name|}}} }} }} | |||
|header1=General | |||
|label2=[[Materials]] | |||
|data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }} | |||
|label3=[[Volume]] | |||
|data3={{Volume|{{{volume|0}}}}} | |||
|label4=[[Weight]] | |||
|data4={{Weight|{{{weight|0}}}}} | |||
|header5=As a Tool | |||
|label5=Function | |||
|data5={{{func|}}} | |||
|label6=Ammo (start/max) | |||
|data6={{#if:{{{maxammo|}}}|({{{startammo|0}}} / {{{maxammo|0}}})|}} | |||
|label7=Ammo Type | |||
|data7={{ATtoname1|{{{ammotype|NULL}}}}} | |||
|label8=Duration | |||
|data8={{{drainturns|}}} {{#if:{{{drainturns|}}}|turns|}} | |||
|label9={{#if:{{{charges_per_use|}}}|Charges per use|}} | |||
|data9={{#if:{{{charges_per_use|}}}|{{{charges_per_use|0}}}|}} | |||
|header10=Other | |||
|label10=Price | |||
|data10={{#expr:{{{price|0}}}/100}} $ | |||
|label11=Use Action | |||
|data11={{{use_action|}}} | |||
|label12=Flags | |||
|data12={{#if:{{{flag1|}}}|<abbr title="{{toolflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{toolflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{toolflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{toolflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{toolflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{toolflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}} | |||
|header13=As a Melee Weapon | |||
|label13=Bash Dmg | |||
|data13={{{bash|0}}} | |||
|label14=Cut Dmg | |||
|data14={{{cut|0}}} | |||
|label15=To Hit | |||
|data15={{{tohit|<nowiki>+0</nowiki>}}} | |||
|label16=Techniques | |||
|data16={{#if:{{{technique1|}}}|<abbr title="{{techniquetodescr|{{{technique1}}}}}">{{uc:{{{technique1}}}}}</abbr>|}}{{#if:{{{technique2|}}}|, <abbr title="{{techniquetodescr|{{{technique2}}}}}">{{uc:{{{technique2}}}}}</abbr>|}}{{#if:{{{technique3|}}}|, <abbr title="{{techniquetodescr|{{{technique3}}}}}">{{uc:{{{technique3}}}}}</abbr>|}}{{#if:{{{technique4|}}}|, <abbr title="{{techniquetodescr|{{{technique4}}}}}">{{uc:{{{technique4}}}}}</abbr>|}}{{#if:{{{technique5|}}}|, <abbr title="{{techniquetodescr|{{{technique5}}}}}">{{uc:{{{technique5}}}}}</abbr>|}}{{#if:{{{technique6|}}}|, <abbr title="{{techniquetodescr|{{{technique6}}}}}">{{uc:{{{technique6}}}}}</abbr>|}} | |||
}} | }} | ||
__NOTOC__ | |||
{{#if: {{{description_on|}}}|Inactive:<br />}}{{quote|{{{description|A tool.}}}}}{{#if: {{{description_on|}}}|Active:<br />}}{{#if: {{{description_on|}}}|{{quote|{{{description_on|}}}}} }} | |||
{{ | |||
}} | |||
<noinclude> | <noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |