8,756
edits
Syntaxaire (talk | contribs) (did it properly) |
(migrated weapon template things to item template.) |
||
Line 3: | Line 3: | ||
{{#invoke:infobox|infobox | {{#invoke:infobox|infobox | ||
| rows = | | rows = | ||
{{#if: {{{ | {{#if: {{{lv|}}} | {{infobox row|Level|{{lv}}} }} }} | ||
{{#if: {{{ | <!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)--> | ||
<!--if you set vibro to true, it will replace the pv with the match armor value symbol--> | |||
{{#if: {{{pv|}}}{{{vibro|}}}{{{maxpv|}}} | {{infobox row|Base [[PV]]|{{Color | C |→}}{{#ifeq: {{{vibro|}}} | true |≈|{{{pv|4}}}{{Color | K |/{{{maxpv|{{{pv}}} }}} }} }} }} }} | |||
<!--does the object have no penetration when unpowered?--> | |||
{{#ifeq: {{{pvpowered|}}}|true| {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }} | |||
{{#if: {{{hp|}}} | {{infobox row|HP|{{{hp}}} }} }} | {{#if: {{{hp|}}} | {{infobox row|HP|{{{hp}}} }} }} | ||
{{#if: {{{av|}}} | {{infobox row|AV|{{{av}}} }} }} | {{#if: {{{av|}}} | {{infobox row|Base [[AV]]|{{Color | b |♦}}{{{av}}} }} }} | ||
{{#if: {{{dv|}}} | {{infobox row|DV|{{{dv}}} }} }} | {{#if: {{{dv|}}} | {{infobox row|Base [[DV]]|{{Color | K |o}}{{{dv}}} }} }} | ||
{{#if: {{{ma|}}} | {{infobox row|MA|{{{ma}}} }} }} | {{#if: {{{ma|}}} | {{infobox row|Base [[MA]]|{{{ma}}} }} }} | ||
<!-- a number to hit--> | |||
{{#if: {{{tohit|}}} | {{infobox row|To Hit|{{{tohit}}} }} }} | |||
<!-- Guns!--> | |||
<!--the ammo it needs. lead slugs, arrows, blood, etc. --> | |||
{{#if: {{{ammo|}}} | {{infobox row|Ammo Type|{{{ammo}}} }} }} | |||
{{#if: {{{accuracy|}}}| {{infobox row|Accuracy|{{{accuracy}}} }} }} | |||
{{#if: {{{shots|}}} | {{infobox row|Shots per Action|{{{shots}}} }} }} | |||
{{#if: {{{maxammo|}}} | {{infobox row|Max Ammo|{{{maxammo}}} }} }} | |||
<!--liquid containers--> | |||
{{#if: {{{maxvol|}}} | {{infobox row|Max Volume|{{{maxvol}}} }} }} | |||
{{#if: {{{liquidgen|}}}| {{infobox row|Liquid Generation|{{{liquidgen}}} }} }} | |||
<!--Generic item stuff--> | |||
{{#if: {{{charge|}}} | {{infobox row|Charge per Use|{{{charge}}} }} }} | |||
{{#if: {{{weight|}}} | {{infobox row|Weight|{{{weight}}}'''#''' }} }} | |||
{{#if: {{{commerce|}}}| {{infobox row|Value|{{{commerce}}} }} }} | {{#if: {{{commerce|}}}| {{infobox row|Value|{{{commerce}}} }} }} | ||
{{#if: {{{ | {{#if: {{{complexity|}}}| {{infobox row|Complexity||{{{complexity}}} }} }} | ||
{{#if: {{{tinkerlv|}}} | {{infobox row|Tinker Skill|{{{tinkerlv}}} }} }} | |||
{{#if: {{{tier|}}} | {{infobox row|Tier|{{{tier}}} }} }} | |||
{{#if: {{{bits|}}} | {{infobox row|[[Bits]]|{{{bits}}} }} }} | |||
{{#if: {{{canbuild|false}}}| {{infobox row|Can Build|{{{canbuild|false}}} }} }} | |||
<!--What skill tree it uses--> | |||
{{#if: {{{skill|}}} | {{infobox row|Skill Used|{{{skill}}} }} }} | |||
<!--Renderstring, with the ColorString appended before it--> | |||
{{#if: {{{renderstr|}}}| {{infobox row|Character| '''{{Qud text|{{{renderstr}}}}}''' }} }} | |||
<!--This is the name of the object in ObjectBlueprints.xml--> | <!--This is the name of the object in ObjectBlueprints.xml--> | ||
{{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }} | {{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }} | ||
Line 16: | Line 42: | ||
{{#if: {{{bookid|}}} | {{infobox row|Book ID|{{{bookid}}} }} }} | {{#if: {{{bookid|}}} | {{infobox row|Book ID|{{{bookid}}} }} }} | ||
{{#if: {{{lightradius|}}}| {{infobox row|Light Radius|{{{lightradius}}} }} }} | {{#if: {{{lightradius|}}}| {{infobox row|Light Radius|{{{lightradius}}} }} }} | ||
<!--food stuff--> | |||
{{#if: {{{hunger|}}} | {{infobox row|Hunger|{{{hunger}}} }} }} | |||
{{#if: {{{thirst|}}} | {{infobox row|Thirst|{{{thirst}}} }} }} | |||
<!--Check if the object is two handed, made out of metal, or have light projectiles(tag name = Light). any extra details can be added in extra--> | |||
{{#if: {{{extra|}}}{{{twohanded|}}}{{{metal|}}}{{{lightprojectile|}}} | {{infobox row|Other Properties|{{#ifeq: {{{twohanded|}}}| true | <p>Two Handed</p>| }}{{#ifeq: {{{metal|}}} | true |<p>Metal</p>| }}{{#ifeq: {{{lightprojectile|}}} | true |<p>Light Projectiles</p>}}{{#if: {{{extra|}}}|<p>{{{extra}}}</p>}} }} }} | |||
<!--Makes the attributes box show up if *any* of the attributes are filled out--> | <!--Makes the attributes box show up if *any* of the attributes are filled out--> | ||
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} | | {{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} | | ||
Line 24: | Line 55: | ||
{{#if: {{{acid|}}} | <p style="color:#00C420"> {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</p>}}{{#if: {{{cold|}}} | <p style="color:#0096FF"> {{{cold}}} Cold</p>}}{{#if: {{{heat|}}} | <p style="color:#D74200"> {{{heat}}} Heat</p>}} }} }} | {{#if: {{{acid|}}} | <p style="color:#00C420"> {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</p>}}{{#if: {{{cold|}}} | <p style="color:#0096FF"> {{{cold}}} Cold</p>}}{{#if: {{{heat|}}} | <p style="color:#D74200"> {{{heat}}} Heat</p>}} }} }} | ||
}} | }} | ||
{{#if: {{{desc|}}} | {{ | {{#if: {{{desc|}}} | {{Qud quote | {{{desc}}} }} }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |