Template:Infobox legmetaobj: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(fixup: legacy-specific show)
m (table colspan fixup)
Line 12: Line 12:
">Infobox Preview Mode:<br>Property Changes Not Shown.}}</span>
">Infobox Preview Mode:<br>Property Changes Not Shown.}}</span>


! colspan="3" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
! colspan=4 style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|- style="text-align:center;"
| colspan="3" 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="3" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
! colspan=4 style="background-color:#3366CC; color:#ffffff;" | Vital statistics
|-
|-
| '''[[Legacy:Glossary#Size|Size]]'''
| '''[[Legacy:Glossary#Size|Size]]'''
| colspan=2 | [[legacy-xsize::{{{xsize|1}}}]] x [[legacy-ysize::{{{ysize|1}}}]]
| colspan=3 | [[legacy-xsize::{{{xsize|1}}}]] x [[legacy-ysize::{{{ysize|1}}}]]
|-
|-
| [[legacy-vsize::{{#iferror:{{#expr:{{{xsize}}}*{{{ysize}}}}}|1}}| ]]
| [[legacy-vsize::{{#iferror:{{#expr:{{{xsize}}}*{{{ysize}}}}}|1}}| ]]
Line 25: Line 25:
{{#if: {{{skillreq|}}}
{{#if: {{{skillreq|}}}
  |{{!}} nowrap {{!}} '''[[Legacy:Skills|Skill(s)]] Required'''
  |{{!}} nowrap {{!}} '''[[Legacy:Skills|Skill(s)]] Required'''
   {{!}} colspan=2 {{!}} {{{skillreq|}}}
   {{!}} colspan=3 {{!}} {{{skillreq|}}}
}}
}}
|-
|-
{{#if: {{{perexp|}}}
{{#if: {{{perexp|}}}
  | {{!}} '''Minimum Per*Exp'''
  | {{!}} '''Minimum Per*Exp'''
   {{!}} colspan=2 {{!}} [[legacy-perexp::{{{perexp}}}]]
   {{!}} colspan=3 {{!}} [[legacy-perexp::{{{perexp}}}]]
   {{!}} [[legacy-perexp_base::{{ #iferror: {{ #expr: {{{perexp}}}*2  round 2 }} |0}}| ]]
   {{!}} [[legacy-perexp_base::{{ #iferror: {{ #expr: {{{perexp}}}*2  round 2 }} |0}}| ]]
   {{!}} [[legacy-perexp_quad::{{ #iferror: {{ #expr: {{{perexp}}}*4  round 2 }} |0}}| ]]
   {{!}} [[legacy-perexp_quad::{{ #iferror: {{ #expr: {{{perexp}}}*4  round 2 }} |0}}| ]]
Line 38: Line 38:
{{#if:{{{terrain|}}}
{{#if:{{{terrain|}}}
  | {{!}} '''Terrain'''
  | {{!}} '''Terrain'''
   {{!}} colspan=2 {{!}} {{{terrain}}}
   {{!}} colspan=3 {{!}} {{{terrain}}}
}}
}}
|-
|-
{{#if: {{{objectsreq|}}}
{{#if: {{{objectsreq|}}}
  |{{!}} nowrap {{!}} '''[[:Category:Legacy Objects|Object(s)]] Required'''
  |{{!}} nowrap {{!}} '''[[:Category:Legacy Objects|Object(s)]] Required'''
   {{!}} colspan=2 {{!}} {{{objectsreq|}}}
   {{!}} colspan=3 {{!}} {{{objectsreq|}}}
}}
}}
|-
|-
{{#if: {{{producedby|}}}
{{#if: {{{producedby|}}}
  |{{!}} '''Produced By'''
  |{{!}} '''Produced By'''
   {{!}} colspan=2 {{!}} {{{producedby|}}}
   {{!}} colspan=3 {{!}} {{{producedby|}}}
}}
}}
|-
|-
{{#if: {{{discovery|}}}
{{#if: {{{discovery|}}}
  |{{!}} '''Discovery Req.'''
  |{{!}} '''Discovery Req.'''
   {{!}} colspan=2 {{!}} {{{discovery|}}}
   {{!}} colspan=3 {{!}} {{{discovery|}}}
}}
}}
|-
|-
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="3" style="background-color:#6699ff; color:#ffffff;" {{!}} [[Legacy:quality|QL10 Equipment Statistics]]|}}
  | ! colspan=4 style="background-color:#6699ff; color:#ffffff;" {{!}} [[Legacy:quality|QL10 Equipment Statistics]]|}}
   {{!}}- colspan=2
   {{!}}- colspan=3
   {{!}} '''[[Legacy:Equipment Screen|Slot(s)]] Occupied'''
   {{!}} '''[[Legacy:Equipment Screen|Slot(s)]] Occupied'''
   {{!}} [[legacy-slot::{{{slot|}}}]]
   {{!}} [[legacy-slot::{{{slot|}}}]]
Line 185: Line 185:
  }}
  }}
  {{!}}-
  {{!}}-
  ! colspan="3" style="background-color:#3366CC; color:#ffffff;" {{!}} Study details
  ! colspan=4 style="background-color:#3366CC; color:#ffffff;" {{!}} Study details
  {{!}}-
  {{!}}-
  {{!}} nowrap {{!}} '''Base [[Legacy:LP|LP]]'''
  {{!}} nowrap {{!}} '''Base [[Legacy:LP|LP]]'''
Line 264: Line 264:
}}
}}
|-
|-
! colspan="3" style="background-color:#aaaaaa; color:#000000;" | Go to [[:Category:Legacy Objects|Legacy Objects]]
! colspan=4 style="background-color:#aaaaaa; color:#000000;" | Go to [[:Category:Legacy Objects|Legacy Objects]]
|}
|}
{{#ifeq:{{NAMESPACE}}|{{ns:10}}| |
{{#ifeq:{{NAMESPACE}}|{{ns:10}}| |

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