Template:Infobox legmetaobj: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (adjust trailing blank-line behaviour (template call))
(Apply RoB_style (infobox header, section, footer))
Line 12: Line 12:
">Infobox Preview Mode:<br>Property Changes Not Shown.}}</span>
">Infobox Preview Mode:<br>Property Changes Not Shown.}}</span>


! colspan=4 style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
! colspan=4 {{RoB_style|infoboxheader}} | {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|- style="text-align:center;"
| colspan=4 style="padding:0.5em;" | {{Page-image-name-processing | image={{{image|}}} | imagewidth={{{imagewidth|}}} | maxsize=320 }}<br/>''{{{caption| }}}''
| colspan=4 style="padding:0.5em;" | {{Page-image-name-processing | image={{{image|}}} | imagewidth={{{imagewidth|}}} | maxsize=320 }}<br/>''{{{caption| }}}''
|-
|-
! colspan=4 style="background-color:#3366CC; color:#ffffff;" | Vital statistics
! colspan=4 {{RoB_style|infoboxsection}} | Vital statistics
|-
|-
| '''[[Legacy:Glossary#Size|Size]]'''
| '''[[Legacy:Glossary#Size|Size]]'''
Line 107: Line 107:
{{#if: {{{slot|}}}
{{#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=4 style="background-color:#6699ff; color:#ffffff;" {{!}} [[Legacy:quality|QL10 Equipment Statistics]]|}}
  | ! colspan=4 {{RoB_style|infoboxsection}} {{!}} [[Legacy:quality|QL10 Equipment Statistics]]|}}
   {{!}}- colspan=3
   {{!}}- colspan=3
   {{!}} '''[[Legacy:Equipment Screen|Slot(s)]] Occupied'''
   {{!}} '''[[Legacy:Equipment Screen|Slot(s)]] Occupied'''
Line 185: Line 185:
  }}
  }}
  {{!}}-
  {{!}}-
  ! colspan=4 style="background-color:#3366CC; color:#ffffff;" {{!}} Study details
  ! colspan=4 {{RoB_style|infoboxsection}} {{!}} Study details
  {{!}}-
  {{!}}-
  {{!}} nowrap {{!}} '''Base [[Legacy:LP|LP]]'''
  {{!}} nowrap {{!}} '''Base [[Legacy:LP|LP]]'''
Line 213: Line 213:
|-
|-
{{#ifeq: {{ #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}} and 1 }}|1
{{#ifeq: {{ #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}} and 1 }}|1
|! style="background-color:#6699ff" width="33%" {{!}}
|! {{RoB_style|infoboxsection}} width="33%" {{!}}
  ! style="background-color:#6699ff; color:#ffffff;" width="33%" {{!}} [[Legacy:FEP|FEP]]s
  ! {{RoB_style|infoboxsection}} width="33%" {{!}} [[Legacy:FEP|FEP]]s
  ! style="background-color:#6699ff; color:#ffffff;" width="33%" {{!}} % of Total
  ! {{RoB_style|infoboxsection}} width="33%" {{!}} % of Total
  {{!}}-
  {{!}}-
  {{!}} style="background-color:#e69999" {{!}} '''[[Legacy:STR|STR]]'''
  {{!}} style="background-color:#e69999" {{!}} '''[[Legacy:STR|STR]]'''
Line 264: Line 264:
}}
}}
|-
|-
! colspan=4 style="background-color:#aaaaaa; color:#000000;" | Go to [[:Category:Legacy Objects|Legacy Objects]]
! colspan=4 {{RoB_style|infoboxfoother}} | Go to [[:Category:Legacy Objects|Legacy Objects]]
|}
|}
{{#ifeq:{{NAMESPACE}}|{{ns:10}}| |
{{#ifeq:{{NAMESPACE}}|{{ns:10}}| |

Revision as of 11:23, 6 December 2019

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