Template:Infobox legmetaobj: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(fixup - legacy properiesy - saving (reading part pending))
(fixup - basedmg, absorbX)
Line 100: Line 100:
|-
|-
{{#if: {{{slot|}}}
{{#if: {{{slot|}}}
  |{{#ifeq: {{#if:{{{legbasedmg|}}}|1|{{#if:{{{statSTR|}}}|1|{{#if:{{{statAGI|}}}|1|{{#if:{{{statINT|}}}|1|{{#if:{{{statCON|}}}|1|{{#if:{{{statPER|}}}|1|{{#if:{{{statCHA|}}}|1|{{#if:{{{statDEX|}}}|1|{{#if:{{{statPSY|}}}|1|{{#if:{{{cskill|}}}|1|{{#if:{{{ammoreq|}}}|1|{{#if:{{{ahp|}}}|1|{{#if:{{{absorbX|}}}|1|{{#if:{{{absorbY|}}}|1|0}}}}}}}}}}}}}}}}}}}}}}}}}}}}|1
  |{{#ifeq: {{#if:{{{basedmg|}}}|1|{{#if:{{{statSTR|}}}|1|{{#if:{{{statAGI|}}}|1|{{#if:{{{statINT|}}}|1|{{#if:{{{statCON|}}}|1|{{#if:{{{statPER|}}}|1|{{#if:{{{statCHA|}}}|1|{{#if:{{{statDEX|}}}|1|{{#if:{{{statPSY|}}}|1|{{#if:{{{cskill|}}}|1|{{#if:{{{ammoreq|}}}|1|{{#if:{{{ahp|}}}|1|{{#if:{{{absorbX|}}}|1|{{#if:{{{absorbY|}}}|1|0}}}}}}}}}}}}}}}}}}}}}}}}}}}}|1
  | ! colspan="3" style="background-color:#6699ff; color:#ffffff;" {{!}} [[Legacy:quality|QL10 Equipment Statistics]]|}}
  | ! colspan="3" style="background-color:#6699ff; color:#ffffff;" {{!}} [[Legacy:quality|QL10 Equipment Statistics]]|}}
   {{!}}- colspan=2
   {{!}}- colspan=2
Line 108: Line 108:
}}
}}
|-
|-
{{InfoboxEquipmentStat|name=legbasedmg|value={{{legbasedmg|}}}|desc=Damage|extra=[[Category:Legacy Weapons]]}}
{{InfoboxEquipmentStat|name=legacy-basedmg|value={{{legbasedmg|}}}|desc=Damage|extra=[[Category:Legacy Weapons]]}}
|-
|-
{{#if: {{{statSTR|}}} |
{{#if: {{{statSTR|}}} |
Line 165: Line 165:
}}
}}
|-
|-
{{InfoboxEquipmentStat|name=legacy-legabsorbX|value={{{legabsorbX|}}}|desc=[[:Category:Legacy Armor|Absorption X]]|extra=[[Category:Legacy Armor]]}}
{{InfoboxEquipmentStat|name=legacy-absorbX|value={{{absorbX|}}}|desc=[[:Category:Legacy Armor|Absorption X]]|extra=[[Category:Legacy Armor]]}}
|-
|-
{{InfoboxEquipmentStat|name=legacy-legabsorbY|value={{{legabsorbY|}}}|desc=[[:Category:Legacy Armor|Absorption Y]]|extra=[[Category:Legacy Armor]]}}
{{InfoboxEquipmentStat|name=legacy-absorbY|value={{{absorbY|}}}|desc=[[:Category:Legacy Armor|Absorption Y]]|extra=[[Category:Legacy Armor]]}}
|-
|-
{{#if:{{{lpgain|}}}|
{{#if:{{{lpgain|}}}|

Revision as of 00:51, 15 July 2018

Infobox legmetaobj
Infobox legmetaobj.png
Vital statistics
Size 1 x 1
Go to Legacy Objects



Template documentation (for the template shown above, sometimes hidden or invisible)

... Infobox legmetaobj/Doc ...

General rules:

  • discovery
    • no linking to skills/items already on the template, only extras (as in not used in the process, just needed to discover)
    • no requires:: linking, as that would mess up what is realy needed for what, just plain page link

Auto added categories: (Category: Properties ...)

Other Info

Updated satiation templates So far added 4 possible satiations, format for them is:

|sat1 = name |sat1eff = how much it debuffs |sat1chance = what chance it has to debuff it

Names of the satiations are as per this chart, allowing for expansion on it : http://ringofbrodgar.com/wiki/Food_Satiations

Example plucked straight from the ant pupae page where I tested it :

| sat1 = forage
| sat1eff = 2
| sat1chance = 5
| sat2 = dairy
| sat2eff = 3
| sat2chance = 5