Template:Template sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (copy: Infobox metaobj - rev: 15:09, 15 July 2018)
(+Sub-paged link.)
 
(38 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly
<noinclude>'''''{{PAGENAME}}''' page.''
<span class="subpages" style="font-size:0.95em;">[[special:PrefixIndex/{{NAMESPACE}}:Template sandbox|Template sandbox Sup-Pages]]&nbsp;<span style="color:gray; font-size:1.25em;">&#9658;&nbsp;</span></span>
{{sandbox|:This is the RoB-template-sandbox where you can play and try out template debugging safely.
:Can be used together with the [[sandbox|general sandbox page]].
:Note: No semantic in-text annotations when used as stand-alone self-calling template.}}
<!--COMMENT Feel free to temporary remove this page-header when testing. Just restore it again after your done. --></noinclude
><includeonly


>{| class="infobox" style="font-size:89%; width:300px;"
>{| class="infobox boxed" style="font-size:89%; width:320px;"
|-
|+ {{Infobox/preview_mode_note}}
! colspan="4" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
! colspan="2" | {{{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="2" style="padding:0.5em;" | {{Page-image-name-processing | image={{{image|}}} | imagewidth={{{imagewidth|}}} | maxsize=152 }}<p style="margin:0px;margin-top:0.5em"><i>{{{caption|{{{text|}}}}}}</i></p>
|-
! colspan="4" style="background-color:#3366CC; color:#ffffff;" | Vital statistics
|-
| '''[[Glossary#Size | Size]]'''
| colspan=2 | [[xsize::{{{xsize|1}}}]] x [[ysize::{{{ysize|1}}}]]
|-
| [[vsize::{{#iferror:{{#expr:{{{xsize}}}*{{{ysize}}}}}|1}}| ]]
|-
{{#if: {{{xinv|}}}
| {{!}} nowrap {{!}} '''[[:Category:Containers|Storage Size]]'''
  {{!}} colspan=2 {{!}} [[xinv::{{{xinv|1}}}]] x [[yinv::{{{yinv|1}}}]]
  {{!}} [[vinv::{{#iferror:{{#expr:{{{xinv}}}*{{{yinv}}}}}|1}}| ]]
  {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Containers]]}}
}}
|-
{{#if: {{{skillreq|}}}
| {{!}} nowrap {{!}} '''[[Skills | Skill(s)]] Required'''
  {{!}} colspan=2 {{!}} {{{skillreq|}}}
}}
|-
{{#if: {{{perexp|}}}
| {{!}} '''Minimum Per*Exp'''
  {{!}} colspan=2 {{!}} [[perexp::{{{perexp}}}]]
  {{!}} [[perexp_base::{{ #iferror: {{ #expr: {{{perexp}}}*2  round 2 }} |0}}| ]]
  {{!}} [[perexp_quad::{{ #iferror: {{ #expr: {{{perexp}}}*4  round 2 }} |0}}| ]]
  {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Foraged]]}}
}}
|-
{{#if:{{{terrain|}}}
| {{!}} '''Terrain'''
  {{!}} colspan=2 {{!}} {{{terrain}}}
}}
|-
{{#if: {{{objectsreq|}}}
| {{!}} nowrap {{!}} '''[[:Category:Objects|Object(s)]] Required'''
  {{!}} colspan=2 {{!}} {{{objectsreq|}}}
}}
|-
{{#if: {{{producedby|}}}
| {{!}} '''Produced By'''
  {{!}} colspan=2 {{!}} {{{producedby|}}}
}}
|-
{{#if: {{{discovery|}}}
| {{!}} '''Discovery Req.'''
  {{!}} colspan=2 {{!}} {{{discovery|}}}
}}
|-
<!-- on input, set properties and categories. -->
{{#if: {{{specific|}}}
| {{#set:Specific={{str_spsc|{{{specific|}}}}}|+sep=,}}{{str_mca|{{{specific|}}}}}
}}
<!-- check for properties and display. ... might misfire, will see. -->
{{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
| {{!}} '''Specific Type of'''
  {{!}}  colspan=2 {{!}} {{#show: {{PAGENAME}} | ?specific}}
  {{!}}-
}}
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
  | {{!}} '''Required By'''
    {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
    {{!}}-
  | {{!}} '''Required By'''
    {{!}}  colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
    {{!}}-
  }}
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
  | {{!}} '''Required By'''
    {{!}}  colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
    {{!}}-
  }}
}}
|-
{{InfoboxEquipmentStat|name=hunger|value={{{hunger|}}}|desc=[[Hunger]] Filled|extra=[[Category:Foods]]}}
|-
{{InfoboxEquipmentStat|name=energy|value={{{energy|}}}|desc=[[Energy]] Filled|extra=% [[Category:Foods]]}}
|-
{{#if: {{{hunger|}}}
| {{!}} '''[[Energy]]/[[Hunger]]'''
  {{!}} {{ #iferror: {{ #expr: {{{energy}}} / {{{hunger}}} round 2 }} | -999 }}
  {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Foods]]}}
}}
|-
|-
{{#if: {{{sat1|}}}
! colspan="2" {{RoB_style|infoboxsection}} |
| {{!}} '''Satiates'''
  {{!}} colspan=2 {{!}} {{Satimg|{{{sat1|}}}}} [[sat1::{{{sat1|}}}]] by  [[sat1eff::{{{sat1eff|}}}]]% ([[sat1chance::{{{sat1chance|}}}]]% chance)|
}}
|-
|-
{{#if: {{{sat2|}}}
| style="width:60px;" | <b>[[:Category:Medicine | Treated]] with</b>
| {{!}} '''Satiates'''
| {{#if: {{{treatedwith|}}} | {{{treatedwith}}}
  {{!}} colspan=2 {{!}} {{Satimg|{{{sat2|}}}}} [[sat2::{{{sat2|}}}]] by [[sat2eff::{{{sat2eff|}}}]]% ([[sat2chance::{{{sat2chance|}}}]]% chance)|
}}
|-
|-
{{#if: {{{sat3|}}}
| style="width:60px;" | <b>Cause</b>
| {{!}} '''Satiates '''
| {{{cause}}}
  {{!}} colspan=2 {{!}} {{Satimg|{{{sat3|}}}}} [[sat3::{{{sat3|}}}]] by [[sat3eff::{{{sat3eff|}}}]]% ([[sat3chance::{{{sat3chance|}}}]]% chance)|
}}
|-
|-
{{#if: {{{sat4|}}}
| style="width:60px;" | <b>Penalties</b>
| {{!}} '''Satiates '''
| {{#if: {{{penalty|}}} | {{{penalty}}}
  {{!}} colspan=2 {{!}} {{Satimg|{{{sat4|}}}}} [[sat4::{{{sat4|}}}]] by [[sat4eff::{{{sat4eff|}}}]]% ([[sat4chance::{{{sat4chance|}}}]]% chance)|
}}
|-
|-
{{InfoboxEquipmentStat|value={{{repwith|}}}|desc=Repaired With|extra=[[Category:Structures]]}}
| style="width:60px;" | <b>Rewards</b>
| {{#if: {{{reward|}}} | {{{reward}}}
|-
|-
{{InfoboxEquipmentStat|name=lift|value={{{lift|}}}|desc=Can be Lifted|extra=[[Category:Structures]]}}
! colspan="2" | Go to ... page
{{#ifeq: {{{lift|}}} |No
|}</includeonly
| {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Immobile Structures]]}}
}}
{{#ifeq: {{{lift|}}} |Yes
| {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Liftable Structures]]}}
}}


|-
><noinclude>{{documentation}}</noinclude>
{{InfoboxEquipmentStat|name=sthp|value={{{sthp|}}}|desc=Hit Points|extra=[[Category:Structures]]}}
|-
{{InfoboxEquipmentStat|name=soak|value={{{soak|}}}|desc=Soak Value|extra=[[Category:Structures]]}}
|-
{{#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
  | ! colspan="3" style="background-color:#6699ff; color:#ffffff;" {{!}} [[quality|QL10 Equipment Statistics]]
  }}
  {{!}}- colspan=2
  {{!}} '''[[Equipment Screen | Slot(s)]] Occupied'''
  {{!}} [[slot::{{{slot|}}}]]
  {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Equipment]]}}
}}
|-
{{InfoboxEquipmentStat|name=basedmg|value={{{basedmg|}}}|desc=[[property:basedmg|Damage]]|extra=[[Category:Weapons]]}}
|-
{{InfoboxEquipmentStat|name=armorpen|value={{{armorpen|}}}|desc=[[property:armorpen|Armor Penetration]]|extra=%}}
|-
{{InfoboxEquipmentStat|name=statSTR|value={{{statSTR|}}}|desc=[[STR]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statAGI|value={{{statAGI|}}}|desc=[[AGI]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statINT|value={{{statINT|}}}|desc=[[INT]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statCON|value={{{statCON|}}}|desc=[[CON]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statPER|value={{{statPER|}}}|desc=[[PER]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statCHA|value={{{statCHA|}}}|desc=[[CHA]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statWIL|value={{{statWIL|}}}|desc=[[WIL]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statDEX|value={{{statDEX|}}}|desc=[[DEX]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statPSY|value={{{statPSY|}}}|desc=[[PSY]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statCMC|value={{{statCMC|}}}|desc=[[Melee Combat|Melee]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statCUA|value={{{statCUA|}}}|desc=[[Unarmed Combat|Unarmed]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statCMM|value={{{statCMM|}}}|desc=[[Marksmanship|Archery]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statEXP|value={{{statEXP|}}}|desc=[[Exploration]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statSTL|value={{{statSTL|}}}|desc=[[Stealth]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statSEW|value={{{statSEW|}}}|desc=[[Sewing]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statMAS|value={{{statMAS|}}}|desc=[[Masonry]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statCRP|value={{{statCRP|}}}|desc=[[Carpentry]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statCOK|value={{{statCOK|}}}|desc=[[Cooking]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statFRM|value={{{statFRM|}}}|desc=[[Farming]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statLRE|value={{{statLRE|}}}|desc=[[Lore]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statSRV|value={{{statSRV|}}}|desc=[[Survival]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statSMT|value={{{statSMT|}}}|desc=[[Smithing]] Bonus}}
|-
{{InfoboxEquipmentStat|name=statSwim|value={{{statSwim|}}}|desc=[[Swimming|Swim]] Modifier}}
|-
{{InfoboxEquipmentStat|value={{{cskill|}}}|desc=Combat Skill}}
|-
{{InfoboxEquipmentStat|value={{{ammoreq|}}}|desc=Ammunition}}
|-
{{InfoboxEquipmentStat|name=armorhp|value={{{ahp|}}}|desc=[[:Category:Armor|Armor HP]]}}
|-
{{InfoboxEquipmentStat|name=absorbX|value={{{absorbX|}}}|desc=[[:Category:Armor|Absorption X]]|extra=[[Category:Armor]]}}
|-
{{InfoboxEquipmentStat|name=absorbY|value={{{absorbY|}}}|desc=[[:Category:Armor|Absorption Y]]|extra=[[Category:Armor]]}}
|- 
{{#if:{{{gildpct|}}} 
| {{!}}-
  ! colspan="3" style="background-color:#3366CC; color:#ffffff;" {{!}} [[Gilding]] statistics
  {{!}}-
}}
|- 
{{#if:{{{gildpct|}}}
| {{!}} '''[[:Category:Gilding Objects|Gilding]] Chance'''
  {{!}} colspan=2 {{!}} {{{gildpct|}}}
  {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Gilding Objects]]}}
}}
|-
{{#if:{{{gildatt|}}}
| {{!}} '''Gilding Attribute'''
  {{!}} colspan=2 {{!}} {{{gildatt|}}}
}}
|-
{{#if:{{{gild1|}}}
| {{!}} '''Gilding Bonus 1'''
  {{!}} colspan=2 {{!}} {{{gild1|}}}
}}
|-
{{#if:{{{gild2|}}}
| {{!}} '''Gilding Bonus 2'''
  {{!}} colspan=2 {{!}} {{{gild2|}}}
}}
|-
{{#if:{{{gild3|}}}
| {{!}} '''Gilding Bonus 3'''
  {{!}} colspan=2 {{!}} {{{gild3|}}}
}}
|-
{{#if:{{{gild4|}}}
| {{!}} '''Gilding Bonus 4'''
  {{!}} colspan=2 {{!}} {{{gild4|}}}
}}
|-
{{#if:{{{egildpct|}}}
| {{!}}-
  ! colspan="3" style="background-color:#3366CC; color:#ffffff;" {{!}} [[Gilding]] statistics
  {{!}}-
}}
|-
{{#if:{{{egildpct|}}}
| {{!}} '''[[Gilding]] Chance'''
  {{!}} colspan=2 {{!}} {{{egildpct|}}}
  {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Gildable Equipment]]}}
}}
|-
{{#if:{{{egildatt|}}}
| {{!}} '''Gilding [[Attributes | Attributes]]'''
  {{!}} colspan=2 {{!}} {{{egildatt|}}}
  {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Gildable Equipment]]}}
}}
|-
{{#if:{{{symbelfep|}}}
| {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:The Symbel]]}}
  {{#if: {{{chair|}}}|
    {{!}}-
    ! colspan="3" style="background-color:#3366CC; color:#ffffff;" {{!}} [[Symbel]] statistics
    {{!}}-
    {{!}} nowrap {{!}} '''[[FEP]] modifier'''
    {{!}} colspan=2 {{!}}[[symbelfep::{{{symbelfep|}}}]]%
    {{!}}-
    {{!}} nowrap {{!}} '''Hunger modifier'''
    {{!}} colspan=2 {{!}}[[symbelhun::{{{symbelhun|To be added}}}]]% |
    {{!}}-
    ! colspan="3" style="background-color:#3366CC; color:#ffffff;" {{!}} [[Symbel]] statistics
    {{!}}-
    {{!}} nowrap {{!}} '''Base [[FEP]] modifier'''
    {{!}} colspan=2 {{!}}[[symbelfep::{{{symbelfep|}}}]]%
    {{!}}-
    {{!}} nowrap {{!}} '''Base hunger modifier'''
    {{!}} colspan=2 {{!}}[[symbelhun::{{{symbelhun|To be added}}}]]%
    {{!}}-
    {{!}} nowrap {{!}} '''Base wear'''
    {{!}} colspan=2 {{!}}[[symbelwear::{{{symbelwear|To be added}}}]]
  }}
}}
|-
{{#if:{{{lpgain|}}}
| {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Curiosity]]}}<!--
  -- support categories for Curiosity tables at Curiosity page. ergo: the sightly different category sub-names style. -->
  {{#if: {{{perexp|}}}
  | {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Curiosity_foraged]]}}
  | {{#if: {{{ccrafted|}}}
    | [[ccrafted::{{{ccrafted}}}| ]]
      {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Curiosity_crafted]]}}
    | {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Curiosity_miscellaneous]]}}
    }}
  }}
  {{!}}-
  ! colspan="3" style="background-color:#3366CC; color:#ffffff;" {{!}} Study details
  {{!}}-
  {{!}} nowrap {{!}} '''Base [[LP]]'''
  {{!}} colspan=2 {{!}}{{#if:{{{lpgain|}}}|[[lpgain::{{ #iferror:{{ #expr:{{{lpgain}}} round 2}}| -999 }}]]|?}}
  {{!}}-
  {{!}} nowrap {{!}} '''Study Time'''
  {{!}} colspan=2 {{!}}{{#if:{{{studytime|}}}|[[studytime::{{ #iferror:{{ #expr:{{{studytime}}} round 2}}| -999 }}]]|?}}
  {{!}}-
  {{!}} nowrap {{!}}'''Mental Weight'''
  {{!}} colspan=2 {{!}}{{#if:{{{mentalweight|}}}|[[mentalweight::{{ #iferror:{{ #expr:{{{mentalweight}}} round 2}}| -999 }}]]|?}}
  {{!}}-
  {{!}} nowrap {{!}}'''EXP Cost'''
  {{!}} colspan=2 {{!}}{{#if:{{{expdrain|}}}|[[expdrain::{{ #iferror:{{ #expr:{{{expdrain}}} round 2}}| -999 }}]]|?}}
  {{!}}-
  {{!}} nowrap{{!}}'''[[LP]] / EXP'''
  {{!}} colspan=2 {{!}} [[lpratioexp::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{expdrain}}} round 2 }} | -999 }}]]
  {{!}}-
  {{!}} nowrap {{!}}'''[[LP]] / Hour (real)'''
  {{!}}colspan=2 {{!}}[[lpefficiency::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{studytime}}} round 2 }} | -999 }}]]
  {{!}}-
  {{!}} nowrap{{!}}'''[[LP]] / Mental Weight'''
  {{!}} colspan=2 {{!}} [[lpratio::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{mentalweight}}} round 2 }} | -999 }}]]
  {{!}}-
  {{!}} nowrap {{!}} '''[[LP]] / Hour / EXP'''
  {{!}} colspan=2 {{!}} [[lpgainspeedperexp::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{studytime}}} / {{{expdrain}}} round 2 }} | -999 }}]]
  {{!}}-
  {{!}} nowrap {{!}} '''[[LP]] / Hour / Size'''
  {{!}} colspan=2 {{!}} [[lpgainspeedpersize::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{studytime}}} / ( {{{xsize}}} * {{{ysize}}} ) round 2 }} | -999 }}]]
  {{!}}-
  {{!}} nowrap {{!}} '''[[LP]] / Hour / Weight'''
  {{!}} colspan=2 {{!}} [[lpgainspeedperweight::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{studytime}}} / {{{mentalweight}}} round 2 }} | -999 }}]]
  {{!}}-
  {{!}} nowrap {{!}} '''[[LP]] / Hour / Size / EXP'''
  {{!}} colspan=2 {{!}} [[lpgainspeedpersizedexp::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{studytime}}} / {{{expdrain}}} / ( {{{xsize}}} * {{{ysize}}}  ) round 2 }} | -999 }}]]
  {{!}}-
  {{!}} nowrap {{!}} '''[[LP]] / Hour / Weight / EXP'''
  {{!}} colspan=2 {{!}} [[lpgainperweightedexp::{{ #iferror: {{ #expr: {{{lpgain}}} / {{{studytime}}} / {{{mentalweight}}} / {{{expdrain}}} round 2 }} | -999 }}]]
}}
|-
{{#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:{{{wil}}}}}|0}} + {{#iferror:{{#expr:{{{psy}}}}}|0}} + {{#iferror:{{#expr:{{{str2}}}}}|0}} + {{#iferror:{{#expr:{{{agi2}}}}}|0}} + {{#iferror:{{#expr:{{{int2}}}}}|0}} + {{#iferror:{{#expr:{{{con2}}}}}|0}} + {{#iferror:{{#expr:{{{per2}}}}}|0}} + {{#iferror:{{#expr:{{{cha2}}}}}|0}} +{{#iferror:{{#expr:{{{dex2}}}}}|0}} + {{#iferror:{{#expr:{{{wil2}}}}}|0}} + {{#iferror:{{#expr:{{{psy2}}}}}|0}} and 1 }}|1
|!  style="background-color:#6699ff" width="25%" {{!}}
  ! style="background-color:#6699ff; color:#ffffff;" width="25%" {{!}} +1 [[FEP]]s
  ! style="background-color:#6699ff; color:#ffffff;" width="25%" {{!}} +2 [[FEP]]s
  ! style="background-color:#6699ff; color:#ffffff;" width="25%" {{!}} % of Total
  {{!}}-
  {{!}} style="background-color:#e69999" {{!}} '''[[STR]]'''
  {{!}} align="center" {{!}} [[str::{{{str|0}}}]]
  {{!}} align="center" {{!}} [[str2::{{{str2|0}}}]]
  {{!}} align="right" {{!}} [[strpertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{str}}}}}|0}} + {{#iferror:{{#expr:{{{str2}}}}}|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:{{{wil}}}}}|0}} + {{#iferror:{{#expr:{{{psy}}}}}|0}}  + {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#3366ff" {{!}} '''[[AGI]]'''
  {{!}} align="center" {{!}} [[agi::{{{agi|0}}}]]
  {{!}} align="center" {{!}} [[agi2::{{{agi2|0}}}]]
  {{!}} align="right" {{!}} [[agipertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{agi}}}}}|0}} + {{#iferror:{{#expr:{{{agi2}}}}}|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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}}  + {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#99ccff" {{!}} '''[[INT]]'''
  {{!}} align="center" {{!}} [[int::{{{int|0}}}]]
  {{!}} align="center" {{!}} [[int2::{{{int2|0}}}]]
  {{!}} align="right" {{!}} [[intpertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{int}}}}}|0}} + {{#iferror:{{#expr:{{{int2}}}}}|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:{{{wil}}}}}|0}} + {{#iferror:{{#expr:{{{psy}}}}}|0}}  + {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#cc99ff" {{!}} '''[[CON]]'''
  {{!}} align="center" {{!}} [[con::{{{con|0}}}]]
  {{!}} align="center" {{!}} [[con2::{{{con2|0}}}]]
  {{!}} align="right" {{!}} [[conpertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{con}}}}}|0}} + {{#iferror:{{#expr:{{{con2}}}}}|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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}}  +{{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#ff9900" {{!}} '''[[PER]]'''
  {{!}} align="center" {{!}} [[per::{{{per|0}}}]]
  {{!}} align="center" {{!}} [[per2::{{{per2|0}}}]]
  {{!}} align="right" {{!}} [[perpertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{per}}}}}|0}} + {{#iferror:{{#expr:{{{per2}}}}}|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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}}  + {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#00ff00" {{!}} '''[[CHA]]'''
  {{!}} align="center" {{!}} [[cha::{{{cha|0}}}]]
  {{!}} align="center" {{!}} [[cha2::{{{cha2|0}}}]]
  {{!}} align="right" {{!}} [[chapertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{cha}}}}}|0}} + {{#iferror:{{#expr:{{{cha2}}}}}|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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}}  +  {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#f2f9a0" {{!}} '''[[DEX]]'''
  {{!}} align="center" {{!}} [[dex::{{{dex|0}}}]]
  {{!}} align="center" {{!}} [[dex2::{{{dex2|0}}}]]
  {{!}} align="right" {{!}} [[dexpertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{dex}}}}}|0}} + {{#iferror:{{#expr:{{{dex2}}}}}|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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}}  + {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#D4FF00" {{!}} '''[[WIL]]'''
  {{!}} align="center" {{!}} [[wil::{{{wil|0}}}]]
  {{!}} align="center" {{!}} [[wil2::{{{wil2|0}}}]]
  {{!}} align="right" {{!}} [[wilpertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}}  +  {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} style="background-color:#9039f8" {{!}}  '''[[PSY]]'''
  {{!}} align="center" {{!}} [[psy::{{{psy|0}}}]]
  {{!}} align="center" {{!}} [[psy2::{{{psy2|0}}}]]
  {{!}} align="right" {{!}} [[psypertotalfep::{{ #iferror: {{ #expr: 100 * ({{#iferror:{{#expr:{{{psy}}}}}|0}} + {{#iferror:{{#expr:{{{psy2}}}}}|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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}}  + {{#iferror:{{#expr:{{{str2}}}}}|0}}  + {{#iferror:{{#expr:{{{agi2}}}}}|0}}  + {{#iferror:{{#expr:{{{int2}}}}}|0}}  + {{#iferror:{{#expr:{{{con2}}}}}|0}}  + {{#iferror:{{#expr:{{{per2}}}}}|0}}  + {{#iferror:{{#expr:{{{cha2}}}}}|0}}  + {{#iferror:{{#expr:{{{dex2}}}}}|0}}  + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug }}]]%
  {{!}}-
  {{!}} '''Sum'''
  {{!}} align="center" {{!}} [[totalfep::{{ #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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}} }} | bug }}]]
  {{!}} align="center" {{!}} [[totalfep::{{ #iferror: {{ #expr: {{#iferror:{{#expr:{{{str2}}}}}|0}} + {{#iferror:{{#expr:{{{agi2}}}}}|0}} + {{#iferror:{{#expr:{{{int2}}}}}|0}} + {{#iferror:{{#expr:{{{con2}}}}}|0}} + {{#iferror:{{#expr:{{{per2}}}}}|0}} + {{#iferror:{{#expr:{{{cha2}}}}}|0}} + {{#iferror:{{#expr:{{{dex2}}}}}|0}} + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} }} | bug }}]]
  {{!}} align="right" {{!}} --
  {{!}}-
  {{!}} '''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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}} +  {{#iferror:{{#expr:{{{str2}}}}}|0}} + {{#iferror:{{#expr:{{{agi2}}}}}|0}} + {{#iferror:{{#expr:{{{int2}}}}}|0}} + {{#iferror:{{#expr:{{{con2}}}}}|0}} + {{#iferror:{{#expr:{{{per2}}}}}|0}} + {{#iferror:{{#expr:{{{cha2}}}}}|0}} + {{#iferror:{{#expr:{{{dex2}}}}}|0}} + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}} ) round 2 }} | bug}}]]
  {{!}}-
  {{!}} '''FEP per Hunger'''
  {{!}} align="center" {{!}} [[hungerpertotalfep::{{  #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:{{{wil}}}}}|0}}  + {{#iferror:{{#expr:{{{psy}}}}}|0}} + {{#iferror:{{#expr:{{{str2}}}}}|0}} + {{#iferror:{{#expr:{{{agi2}}}}}|0}} + {{#iferror:{{#expr:{{{int2}}}}}|0}} + {{#iferror:{{#expr:{{{con2}}}}}|0}} + {{#iferror:{{#expr:{{{per2}}}}}|0}} + {{#iferror:{{#expr:{{{cha2}}}}}|0}} + {{#iferror:{{#expr:{{{dex2}}}}}|0}} + {{#iferror:{{#expr:{{{wil2}}}}}|0}}  + {{#iferror:{{#expr:{{{psy2}}}}}|0}}) / {{#iferror:{{#expr:{{{hunger}}}}}|0}} round 2 }} | bug}}]]
}}
|-
! colspan="4" style="background-color:#aaaaaa; color:#000000;" | Go to [[:Category:Objects|Objects]]
|}
{{#ifeq:{{NAMESPACE}}|{{ns:10}}| |
[[Category:Objects|{{PAGENAME}}]]
}}
</includeonly><noinclude>
{{ {{PAGENAME}}}}
<br style="clear:both;" />{{documentation}}
</noinclude>

Latest revision as of 12:12, 14 May 2023

Template sandbox page. Template sandbox Sup-Pages ► 

This is the RoB-template-sandbox where you can play and try out template debugging safely.
Can be used together with the general sandbox page.
Note: No semantic in-text annotations when used as stand-alone self-calling template.
Template documentation (for the template shown above, sometimes hidden or invisible)

Bla bla bla (Sandbox TemplateData Testcase)

TemplateData pages

JSONLint:- A tool that allows you to validate manually-written JSON to help find errors in the syntax. (Tabs indentation only output)
JSONCompare: More advanced version. Includes output options. (generally preferred: Tabs or 2 Spaces indentation.)


Templatedata Description

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
rewardreward

no description

Contentrequired
cause

no description

Stringoptional
penaltypenalty

no description

Numbersuggested
Label1treatedwith

Label1 Description

Page nameoptional