Template:Infobox legmetaobj: Difference between revisions
Jump to navigation
Jump to search
m (Fix leading "Legacy:" on Hunger case. (+general debug part)) |
m (Text replacement - "InfoboxEquipmentStat" to "Infobox/equipmentStat") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
>{{OutdatedPage}} | >{{OutdatedPage}} | ||
{| class="infobox" style="font-size:89%; width: | {| class="infobox boxed" style="font-size:89%; width:320px;" | ||
|+ {{ | |+ {{Infobox/preview_mode_note}} | ||
! colspan=4 {{RoB_style|infoboxheader}} | {{{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 | | colspan=4 style="padding:0.5em;" | {{Page-image-name-processing | image={{{image|}}} | imagewidth={{{imagewidth|}}} | maxsize=320 }}<br>''{{{caption| }}}'' | ||
|- | |- | ||
! colspan=4 {{RoB_style|infoboxsection}} | Vital statistics | ! colspan=4 {{RoB_style|infoboxsection}} | Vital statistics | ||
|- | |- | ||
| '''[[Legacy:Glossary#Size|Size]]''' | | '''[[Legacy:Glossary#Size|Size]]''' | ||
| colspan=3 | [[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}}| ]] | ||
|- | |- | ||
{{#if: {{{skillreq|}}} | {{#if: {{{skillreq|}}} | ||
Line 114: | Line 104: | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox/equipmentStat|name=legacy-basedmg|value={{{basedmg|}}}|desc=Damage|extra=[[Category:Legacy Weapons]]}} | ||
|- | |- | ||
{{#if: {{{statSTR|}}} | | {{#if: {{{statSTR|}}} | | ||
Line 171: | Line 161: | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox/equipmentStat|name=legacy-absorbX|value={{{absorbX|}}}|desc=[[:Category:Legacy Armor|Absorption X]]|extra=[[Category:Legacy Armor]]}} | ||
|- | |- | ||
{{ | {{Infobox/equipmentStat|name=legacy-absorbY|value={{{absorbY|}}}|desc=[[:Category:Legacy Armor|Absorption Y]]|extra=[[Category:Legacy Armor]]}} | ||
|- | |- | ||
{{#if:{{{lpgain|}}}| | {{#if:{{{lpgain|}}}| | ||
Line 195: | Line 185: | ||
{{!}} nowrap {{!}}'''Mental Weight''' | {{!}} nowrap {{!}}'''Mental Weight''' | ||
{{!}} colspan=2 {{!}}{{#if:{{{mentalweight|}}}|[[legacy-mentalweight::{{ #iferror:{{ #expr:{{{mentalweight}}} round 2}}| -999 }}]]|?}} | {{!}} colspan=2 {{!}}{{#if:{{{mentalweight|}}}|[[legacy-mentalweight::{{ #iferror:{{ #expr:{{{mentalweight}}} round 2}}| -999 }}]]|?}} | ||
{{!}}- | {{!}}- | ||
{{!}} nowrap {{!}}'''[[Legacy:LP|LP]] / Hour (real)''' | {{!}} nowrap {{!}}'''[[Legacy:LP|LP]] / Hour (real)''' |
Latest revision as of 14:47, 17 May 2023
Infobox legmetaobj | |||
---|---|---|---|
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 ...)
- Objects-Legacy: (default added).
- Objects: (default added, Hidden (both Hafen and Legacy use this one)).
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
Visit Template:Infobox legmetaobj/doc to edit this text! (How does this work?)