User:Theodor/SandboxTemplate

From Ring of Brodgar
Jump to navigation Jump to search
{| class="infobox" style="font-size:89%; width:300px;"
|-
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br>''{{{caption|{{PAGENAME}}}}}''
|-
! colspan="2" style="background-color:#6699ff; color:#ffffff;" |
|-
| '''[[Glossary#Size | Size]]'''
| [[xsize::{{{xsize|-999}}}]] x [[ysize::{{{ysize|-999}}}]]
|-
| '''[[Skills | Skill(s)]] Required''' 
| {{{skillreq|-999}}}
|-
| nowrap | '''[[:Category:Objects | Object(s)]] Required'''
| {{#ifexpr: {{#if:{{{objectsreq|}}}|0|1}} or {{#ifeq: {{{objectsreq|}}}|none|1|0}} or {{#ifeq:{{{objectsreq|}}|None|1|0}}|None|{{{objectsreq|}}}}}
|-
| '''Produced By'''
| {{{producedby|Hand}}}
|-
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}} | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}} | 
{{!}} '''Required By'''
{{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
{{!}}- |{{!}} '''Required By'''
{{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
{{!}}-}} }}
{{#if: {{#show: {{PAGENAME}} | ?specific | link=none}} | {{#if: {{#ask: [[requires::{{PAGENAME}}]]}} | |
{{!}} '''Required By'''
{{!}} {{#show: {{PAGENAME}} | ?specific | link=none}}
{{!}}-}} }}
{{#if: {{#show: {{PAGENAME}} | ?specific | link=none}} |
{{!}} '''Specific Type of'''
{{!}} {{#show: {{PAGENAME}} | ?specific}}
{{!}}-}}
|-
{{#if:{{#pos:{{{type}}}|curiosity}}|
! colspan="3" style="background-color:#3366CC; color:#ffffff;" {{!}} Study details
{{!}}-
{{!}} nowrap {{!}} '''Base [[LP]]'''
{{!}} colspan=2 {{!}} {{#if:{{{lpgain|}}} | [[lpgain::{{{lpgain|}}}]] | ?}}
{{!}}-
{{!}} nowrap {{!}} '''Study Time'''
{{!}} colspan=2 {{!}} {{#if:{{{lpgain|}}} | [[studytime::{{{studytime|}}}]] | ?}}
{{!}}-
{{!}} nowrap {{!}} '''Mental Weight'''
{{!}} colspan=2 {{!}} {{#if:{{{lpgain|}}} | [[mentalweight::{{{mentalweight|}}}]] | ?}}
{{!}}-
{{!}} nowrap {{!}} '''[[LP]] / Hour (real)'''
{{!}} colspan=2 {{!}} {{ #iferror:{{ #expr: {{{lpgain}}} / {{{studytime}}} round 2 }} | ? | [[lpefficiency::{{ #expr: {{{lpgain}}} / {{{studytime}}} round 2 }} ]]}}
{{!}}-
{{!}} nowrap {{!}} '''[[LP]] / Mental Weight'''
{{!}} colspan=2 {{!}} {{ #iferror:{{ #expr: {{{lpgain}}} / {{{mentalweight}}} round 2 }} | ? | [[lpefficiency::{{ #expr: {{{lpgain}}} / {{{mentalweight}}} round 2 }} ]]}}
{{!}}-
{{!}} nowrap {{!}} '''[[LP]] / Hour / Weight'''
{{!}} colspan=2 {{!}} {{ #iferror:{{ #expr: {{{lpgain}}} / {{{studytime}}} / {{{mentalweight}}}  round 2 }} | ? | [[lpefficiency::{{ #expr: {{{lpgain}}} / {{{studytime}}} / {{{mentalweight}}} round 2 }} ]]}}
}}
{{#if:{{#pos:{{{type}}}|food}}|
{{!}}-
{{!}}colspan="3"{{!}}
{{{!}}border="0" margin="0"
{{!}}-
{{User:Theodor/foodcell}}
{{!}}}
}}
|-
! colspan="2" style="background-color:#aaaaaa; color:#000000;" | Back to [[:Category:Objects|Objects]]
|}<noinclude><br style="clear:both;" />
{{documentation}}{{User:Theodor/SandboxTemplate|xsize=12|type=curiosity food}}</noinclude>
<includeonly>[[Category:Content|{{PAGENAME}}]] [[Category:Objects|{{PAGENAME}}]]</includeonly>