Template:Infobox legmetaobj: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (Reverted edits by Ricky (talk) to last revision by MvGulik)
(Okay, i'm done fucking with this. Honey bun and Sausage(Backup) are mysteries)
Line 96: Line 96:
}}
}}
|-
|-
{{#if: {{{slot|}}}
{{#if: {{{legslot|}}}
  |{{#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::{{{slot|}}}]]
   {{!}} [[slot::{{{legslot|}}}]]
  [[category:Legacy Equipment]]
  [[category:Legacy Equipment]]
}}
}}
|-
|-
{{#if: {{{basedmg|}}} |
{{InfoboxEquipmentStat|name=legbasedmg|value={{{legbasedmg|}}}|desc=Damage|extra=[[category:Legacy Weapons]]}}
{{!}} '''Damage'''
{{!}} [[basedmg::{{{basedmg}}}]] [[category:Legacy Weapons]]
}}
|-
|-
{{#if: {{{statSTR|}}} |
{{#if: {{{statSTR|}}} |
Line 165: Line 162:
}}
}}
|-
|-
{{#if: {{{absorbX|}}} |
{{InfoboxEquipmentStat|name=legabsorbX|value={{{legabsorbX|}}}|desc=[[:Category:Legacy Armor|Absorption X]]|extra=[[Category:Legacy Armor]]}}
{{!}} '''[[:category:Legacy Armor|Absorption X]]'''
{{!}} [[absorbX::{{{absorbX}}}]] [[category:armor]]
}}
|-
|-
{{#if: {{{absorbY|}}} |
{{InfoboxEquipmentStat|name=legabsorbY|value={{{legabsorbY|}}}|desc=[[:Category:Legacy Armor|Absorption Y]]|extra=[[Category:Legacy Armor]]}}
{{!}} '''[[:category:Legacy Armor|Absorption Y]]'''
{{!}} [[absorbY::{{{absorbY}}}]] [[category:Legacy Armor]]
}}
|-
|-
{{#if:{{{lpgain|}}}|
{{#if:{{{lpgain|}}}|
Line 261: Line 252:
  {{!}}-
  {{!}}-
  {{!}} '''FEP per Hunger'''
  {{!}} '''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}}]]
  {{!}} 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 }} | bug}}]]
}}
}}
|-
|-

Revision as of 06:06, 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