Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Template:Infobox
(view source)
Revision as of 21:51, 11 October 2016
729 bytes added
,
21:51, 11 October 2016
switch for every professions modifiers
Line 52:
Line 52:
{{#if:{{{profession|}}}|
{{#if:{{{profession|}}}|
{{!}}-
{{!}}-
−
{{!}}id="infoboxsection"{{!}}{{{profession|}}} Profession:<br/>''(+{{#expr:
(
{{{modifier|0}}}*100
)
}}% Sell Price)''
+
{{!}}id="infoboxsection"{{!}}{{{profession|}}} Profession:<br/>''(+{{#expr:
{{#switch:{{{profession|}}}
−
{{!}}id="infoboxdetail"{{!}}{{#ifeq:{{{quality|true}}}|true|{{Qualityprice|{{{name|}}}|{{#expr:ceil({{{sellprice|0}}}+({{{sellprice|0}}}*{{{modifier|0}}})) }} |{{#if:{{{iridium|}}}|iridium=true|}} }}|{{price|{{#expr:ceil({{{sellprice|0}}}+({{{sellprice|0}}}*{{{modifier|0}}})) }} }} }}
+
|Rancher=0.2
+
|Tiller=0.1
+
|Artisan=0.4
+
|Blacksmith=0.5
+
|Gemologist=0.3
+
|Forester=0.5
+
|Tapper=0.25
+
|Fisher=0.25
+
|Angler=0.5
+
|#default=
{{{modifier|0
}}
} }} *100}}% Sell Price)''
+
{{!}}id="infoboxdetail"{{!}}{{#ifeq:{{{quality|true}}}|true|{{Qualityprice|{{{name|}}}|{{#expr:ceil({{{sellprice|0}}}+({{{sellprice|0}}}*
{{#switch:{{{profession|}}}
+
|Rancher=0.2
+
|Tiller=0.1
+
|Artisan=0.4
+
|Blacksmith=0.5
+
|Gemologist=0.3
+
|Forester=0.5
+
|Tapper=0.25
+
|Fisher=0.25
+
|Angler=0.5
+
|#default=
{{{modifier|0
}}
} }})) }} |{{#if:{{{iridium|}}}|iridium=true|}} }}|{{price|{{#expr:ceil({{{sellprice|0}}}+({{{sellprice|0}}}*
{{#switch:{{{profession|}}}
+
|Rancher=0.2
+
|Tiller=0.1
+
|Artisan=0.4
+
|Blacksmith=0.5
+
|Gemologist=0.3
+
|Forester=0.5
+
|Tapper=0.25
+
|Fisher=0.25
+
|Angler=0.5
+
|#default=
{{{modifier|0
}}
} }})) }} }} }}
}}
}}
{{#if:{{{ingredients|}}}|
{{#if:{{{ingredients|}}}|
Vg-tal
2,041
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Template
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version