Template:Sandbox/User:Teamtoto/newitem2/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
<code><nowiki> | <code><nowiki> | ||
{{#if: {{{pv|}}} | {{infobox row|[[PV]]|{{Color | C |→}}{{{pv}}}{{Color | K |/{{{maxpv|{{{pv}}}}}}}} }} }} | {{#if: {{{pv|}}} | {{infobox row|[[PV]]|{{Color | C |→}}{{{pv}}}{{Color | K |/{{{maxpv|{{{pv}}}}}}}} }} }} | ||
{{#if: {{{damage|}}} | {{infobox row|Base Damage|{{Color | R |♥}}{{{damage}}} }} }} | {{#if: {{{damage|}}} | {{infobox row|Base Damage|{{Color | R |♥}}{{{damage}}} }} }} | ||
{{#if: {{{av|}}} | {{infobox row|AV|{{{av}}} }} }} | {{#if: {{{av|}}} | {{infobox row|AV|{{{av}}} }} }} | ||
{{#if: {{{dv|}}} | {{infobox row|DV|{{{dv}}} }} }} | {{#if: {{{dv|}}} | {{infobox row|DV|{{{dv}}} }} }} | ||
{{#if: {{{ma|}}} | {{infobox row|MA|{{{ma}}} }} }} | {{#if: {{{ma|}}} | {{infobox row|MA|{{{ma}}} }} }} | ||
{{#if: {{{commerce|}}}| {{infobox row|Value|{{{commerce}}} }} }} | {{#if: {{{commerce|}}}| {{infobox row|Value|{{{commerce}}} }} }} | ||
{{#if: {{{weight|}}} | {{infobox row|Weight|{{{weight}}}# }} }} | {{#if: {{{weight|}}} | {{infobox row|Weight|{{{weight}}}# }} }} | ||
{{#if: {{{tier|}}} | {{infobox row|Tier|{{{tier}}} }} }} | {{#if: {{{tier|}}} | {{infobox row|Tier|{{{tier}}} }} }} | ||
{{#if: {{twohanded|}}}| {{infobox row|Two Handed|{{{twohanded}}} }} }} | {{#if: {{twohanded|}}}| {{infobox row|Two Handed|{{{twohanded}}} }} }} | ||
{{#if: {{{type|}}} | {{infobox row|Type|{{{type}}} }} }} | {{#if: {{{type|}}} | {{infobox row|Type|{{{type}}} }} }} | ||
<!--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}}} }} }} | ||
<!--This is more specific stuff--> | <!--This is more specific stuff--> | ||
{{#if: {{{lightradius|}}}| {{infobox row|Light Radius|{{{lightradius}}} }} }} | {{#if: {{{lightradius|}}}| {{infobox row|Light Radius|{{{lightradius}}} }} }} | ||
{{#if: {{{extra|}}} | {{infobox row|Other Properties|{{{extra}}} }} }} | {{#if: {{{extra|}}} | {{infobox row|Other Properties|{{{extra}}} }} }} | ||
<!--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|}}} | | ||
{{infobox row|Attributes|{{#if: {{{strength|}}} | <p style="color:#FFFFFF"> {{{strength}}} Strength</p>}}{{#if: {{{agility|}}} | <p style="color:#CFC041"> {{{agility}}} Agility</p>}}{{#if: {{{toughness|}}} | <p style="color:#D74200"> {{{toughness}}} Toughness</p>}}{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)"> {{{intelligence}}} Intelligence</p>}}{{#if: {{{willpower|}}} | <p style="color:#00C420"> {{{willpower}}} Willpower</p>}}{{#if: {{{ego|}}} | <p style="color:#DA5BD6"> {{{ego}}} Ego</p>}} }} }} | {{infobox row|Attributes|{{#if: {{{strength|}}} | <p style="color:#FFFFFF"> {{{strength}}} Strength</p>}} {{#if: {{{agility|}}} | <p style="color:#CFC041"> {{{agility}}} Agility</p>}}{{#if: {{{toughness|}}} | <p style="color:#D74200"> {{{toughness}}} Toughness</p>}}{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)"> {{{intelligence}}} Intelligence</p>}}{{#if: {{{willpower|}}} | <p style="color:#00C420"> {{{willpower}}} Willpower</p>}}{{#if: {{{ego|}}} | <p style="color:#DA5BD6"> {{{ego}}} Ego</p>}} }} }} | ||
<!--Makes the resistances box show up if *any* of the resistances are filled out--> | <!--Makes the resistances box show up if *any* of the resistances are filled out--> | ||
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}} | | {{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}} | | ||
{{infobox row|Elemental Damage| | {{infobox row|Elemental Damage| | ||
{{#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|}}} | {{Quote | {{{desc}}} }} }} <!--The description of the item--> | {{#if: {{{desc|}}} | {{Quote | {{{desc}}} }} }} <!--The description of the item--> |
Revision as of 00:58, 22 June 2019
Usage
{{#if: {{{pv|}}} | {{infobox row|[[PV]]|{{Color | C |→}}{{{pv}}}{{Color | K |/{{{maxpv|{{{pv}}}}}}}} }} }}
{{#if: {{{damage|}}} | {{infobox row|Base Damage|{{Color | R |♥}}{{{damage}}} }} }}
{{#if: {{{av|}}} | {{infobox row|AV|{{{av}}} }} }}
{{#if: {{{dv|}}} | {{infobox row|DV|{{{dv}}} }} }}
{{#if: {{{ma|}}} | {{infobox row|MA|{{{ma}}} }} }}
{{#if: {{{commerce|}}}| {{infobox row|Value|{{{commerce}}} }} }}
{{#if: {{{weight|}}} | {{infobox row|Weight|{{{weight}}}# }} }}
{{#if: {{{tier|}}} | {{infobox row|Tier|{{{tier}}} }} }}
{{#if: {{twohanded|}}}| {{infobox row|Two Handed|{{{twohanded}}} }} }}
{{#if: {{{type|}}} | {{infobox row|Type|{{{type}}} }} }}
<!--This is the name of the object in ObjectBlueprints.xml-->
{{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }}
<!--This is more specific stuff-->
{{#if: {{{lightradius|}}}| {{infobox row|Light Radius|{{{lightradius}}} }} }}
{{#if: {{{extra|}}} | {{infobox row|Other Properties|{{{extra}}} }} }}
<!--Makes the attributes box show up if *any* of the attributes are filled out-->
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
{{infobox row|Attributes|{{#if: {{{strength|}}} | <p style="color:#FFFFFF"> {{{strength}}} Strength</p>}} {{#if: {{{agility|}}} | <p style="color:#CFC041"> {{{agility}}} Agility</p>}}{{#if: {{{toughness|}}} | <p style="color:#D74200"> {{{toughness}}} Toughness</p>}}{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)"> {{{intelligence}}} Intelligence</p>}}{{#if: {{{willpower|}}} | <p style="color:#00C420"> {{{willpower}}} Willpower</p>}}{{#if: {{{ego|}}} | <p style="color:#DA5BD6"> {{{ego}}} Ego</p>}} }} }}
<!--Makes the resistances box show up if *any* of the resistances are filled out-->
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}} |
{{infobox row|Elemental Damage|
{{#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|}}} | {{Quote | {{{desc}}} }} }} <!--The description of the item-->