Template:Sandbox/User:Teamtoto/newitem2/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
<includeonly> | |||
[[Category:Items]] | [[Category:Items]] | ||
{{#invoke:infobox|infobox | {{#invoke:infobox|infobox | ||
Line 7: | Line 8: | ||
<!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv = (number)--> | <!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv = (number)--> | ||
<!--if you set vibro to a variable, it will replace the pv with the match armor value symbol--> | <!--if you set vibro to a variable, it will replace the pv with the match armor value symbol--> | ||
{{#if: {{{pv|}}} | {{#if: {{{pv|}}} | {{infobox row|[[PV]]|{{Color | C |→}}{{#if: {{{vibro|}}} |≈|{{{pv}}}{{Color | K |/{{{maxpv|{{{pv}}} }}} }} }} }} }} | ||
{{#if: {{{powered|}}} | {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }} | {{#if: {{{powered|}}} | {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }} | ||
<!--write damage in its dice form, ie. 1d2--> | <!--write damage in its dice form, ie. 1d2--> | ||
{{#if: {{{damage|}}} | {{#if: {{{damage|}}} | {{infobox row|Base Damage|{{Color | R |♥}}{{{damage}}} }} }} | ||
{{#if: {{{av|}}} | {{infobox row|AV|{{Color | b |♦}}{{{av}}} }} }} | {{#if: {{{av|}}} | {{infobox row|AV|{{Color | b |♦}}{{{av}}} }} }} | ||
{{#if: {{{dv|}}} | {{infobox row|DV|{{Color | K |o}}{{{dv}}} }} }} | {{#if: {{{dv|}}} | {{infobox row|DV|{{Color | K |o}}{{{dv}}} }} }} | ||
{{#if: {{{ma|}}} | {{infobox row|MA|{{{ma}}} }} }} | |||
<!-- +/- a number to hit--> | <!-- +/- a number to hit--> | ||
{{#if: {{{tohit|}}} | {{infobox row|To Hit|{{{tohit}}} }} }} | {{#if: {{{tohit|}}} | {{infobox row|To Hit|{{{tohit}}} }} }} | ||
{{#if: {{{ | <!-- Guns!--> | ||
{{#if: {{{weight|}}} | {{infobox row|Weight|{{{weight}}}# }} }} | <!--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}}} }} }} | |||
<!--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: {{{tier|}}} | {{infobox row|Tier|{{{tier}}} }} | {{#if: {{{tier|}}} | {{infobox row|Tier|{{{tier}}} }} }} | ||
{{#if: {{{bits|}}} | {{infobox row|Bits|{{{bits}}} }} }} | |||
<!--Is the weapon two handed? (yes/no)--> | <!--Is the weapon two handed? (yes/no)--> | ||
{{#if: {{twohanded|}}}| {{infobox row|Two Handed|{{{twohanded}}} }} }} | {{#if: {{twohanded|}}}| {{infobox row|Two Handed|{{{twohanded}}} }} }} | ||
Line 41: | Line 51: | ||
}} | }} | ||
{{#if: {{{desc|}}} | {{Quote | {{{desc}}} }} }} | {{#if: {{{desc|}}} | {{Quote | {{{desc}}} }} }} | ||
</includeonly> | |||
<noinclude> | |||
[[Template:Sandbox/User:Teamtoto/newitem/doc]] | |||
{{doc}} | |||
</noinclude> | |||
</syntaxhighlight> | </syntaxhighlight> | ||