Template:Infobox legmetaobj: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
No edit summary
m (Reverted edits by Ricky (talk) to last revision by MvGulik)
Line 96: Line 96:
}}
}}
|-
|-
{{#if: {{{legslot|}}}
{{#if: {{{slot|}}}
  |{{#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
  |{{#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;" {{!}} [[quality|QL10 Equipment Statistics]]|}}
  | ! colspan="3" style="background-color:#6699ff; color:#ffffff;" {{!}} [[quality|QL10 Equipment Statistics]]|}}
   {{!}}- colspan=2
   {{!}}- colspan=2
   {{!}} '''[[Equipment Screen | Slot(s)]] Occupied'''
   {{!}} '''[[Equipment Screen | Slot(s)]] Occupied'''
   {{!}} [[slot::{{{legslot|}}}]]
   {{!}} [[slot::{{{slot|}}}]]
  [[category:Legacy Equipment]]
  [[category:Legacy Equipment]]
}}
}}
|-
|-
{{InfoboxEquipmentStat|name=legbasedmg|value={{{legbasedmg|}}}|desc=Damage|extra=[[category:Legacy Weapons]]}}
{{#if: {{{basedmg|}}} |
{{!}} '''Damage'''
{{!}} [[basedmg::{{{basedmg}}}]] [[category:Legacy Weapons]]
}}
|-
|-
{{#if: {{{statSTR|}}} |
{{#if: {{{statSTR|}}} |
Line 162: Line 165:
}}
}}
|-
|-
{{InfoboxEquipmentStat|name=legabsorbX|value={{{legabsorbX|}}}|desc=[[:Category:Legacy Armor|Absorption X]]|extra=[[Category:Legacy Armor]]}}
{{#if: {{{absorbX|}}} |
{{!}} '''[[:category:Legacy Armor|Absorption X]]'''
{{!}} [[absorbX::{{{absorbX}}}]] [[category:armor]]
}}
|-
|-
{{InfoboxEquipmentStat|name=legabsorbY|value={{{legabsorbY|}}}|desc=[[:Category:Legacy Armor|Absorption Y]]|extra=[[Category:Legacy Armor]]}}
{{#if: {{{absorbY|}}} |
{{!}} '''[[:category:Legacy Armor|Absorption Y]]'''
{{!}} [[absorbY::{{{absorbY}}}]] [[category:Legacy Armor]]
}}
|-
|-
{{#if:{{{lpgain|}}}|
{{#if:{{{lpgain|}}}|
Line 250: Line 259:
  {{!}} '''Hunger per FEP'''
  {{!}} '''Hunger per FEP'''
  {{!}} align="center" {{!}} [[hungerpertotalfep::{{  #iferror: {{ #expr: {{#iferror:{{#expr:{{{hunger}}}}}|0}} / ( {{#iferror:{{#expr:{{{str}}}}}|0}} + {{#iferror:{{#expr:{{{agi}}}}}|0}} + {{#iferror:{{#expr:{{{int}}}}}|0}} + {{#iferror:{{#expr:{{{con}}}}}|0}} + {{#iferror:{{#expr:{{{per}}}}}|0}} + {{#iferror:{{#expr:{{{cha}}}}}|0}} + {{#iferror:{{#expr:{{{dex}}}}}|0}} + {{#iferror:{{#expr:{{{psy}}}}}|0}} + {{#iferror:{{#expr:{{{hurt}}}}}|0}} ) round 2 }} | bug}}]]
  {{!}} align="center" {{!}} [[hungerpertotalfep::{{  #iferror: {{ #expr: {{#iferror:{{#expr:{{{hunger}}}}}|0}} / ( {{#iferror:{{#expr:{{{str}}}}}|0}} + {{#iferror:{{#expr:{{{agi}}}}}|0}} + {{#iferror:{{#expr:{{{int}}}}}|0}} + {{#iferror:{{#expr:{{{con}}}}}|0}} + {{#iferror:{{#expr:{{{per}}}}}|0}} + {{#iferror:{{#expr:{{{cha}}}}}|0}} + {{#iferror:{{#expr:{{{dex}}}}}|0}} + {{#iferror:{{#expr:{{{psy}}}}}|0}} + {{#iferror:{{#expr:{{{hurt}}}}}|0}} ) round 2 }} | bug}}]]
{{!}}-
{{!}} '''FEP per Hunger'''
{{!}} align="center" {{!}} [[fepperhunger::{{ #iferror: {{ #expr: ({{#iferror:{{#expr:{{{str}}}}}|0}} + {{#iferror:{{#expr:{{{agi}}}}}|0}} + {{#iferror:{{#expr:{{{int}}}}}|0}} + {{#iferror:{{#expr:{{{con}}}}}|0}} + {{#iferror:{{#expr:{{{per}}}}}|0}} + {{#iferror:{{#expr:{{{cha}}}}}|0}} + {{#iferror:{{#expr:{{{dex}}}}}|0}} + {{#iferror:{{#expr:{{{psy}}}}}|0}} + {{#iferror:{{#expr:{{{hurt}}}}}|0}})/{{#iferror:{{#expr:{{{hunger}}}}}|0}} round 2 }} | error}}]]
}}
}}
|-
|-

Revision as of 06:04, 1 December 2017

Infobox legmetaobj
xpx
Vital statistics
Size 1 x 1
Go to 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