FANDOM


Information icon-grey
This is a documentation subpage for Calculator:Template/Farming/Herb prices/2.
It contains usage information, categories, and other content that is not part of the original template page.

This page is used with Calculators/Farming herbs (the Second calculator) and Calculators/Comparing farming herb prices. To make a full table out of this template, see Template:Herb farming calc2 fulltable.


Usage

{{Herb farming calc2
 |num         = 
 |herb1       = 
 |herb2       = 
 |herb3       = 
 |herb4       = 
}}
{{Herb farming calc2
 |num         = The number of herbs harvested
 |herb1       = The name of the first herb you wish to appear on the table
 |herb2       = The name of the second herb you wish to appear on the table
 |herb3       = The name of the third herb you wish to appear on the table
 |herb4       = The name of the fourth herb you wish to appear on the table
}}


Example

{{Herb farming calc2
 |num         = 0
 |herb1       = guam
 |herb2       = marrentill
 |herb3       = tarromin
 |herb4       = harralander
}}

gives:

|- ! 0 | -24 | 11 | -2.18 | -23 | 13 | -1.77 | -27 | 16 | -1.69 | -18 | 22 | -0.82




Incorporating a table

The default table, designed to be used with the template is:

Note: It is not automatically put with the template, you will have to add it yourself!

{|class="wikitable" style="text-align:center"
! align="center" rowspan="3"|Number
!colspan="12"|Herb type
|-

!colspan="3"|Herb1
!colspan="3"|Herb2
!colspan="3"|Herb3
!colspan="3"|Herb4
|-
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
|}

which gives:

Number Herb type
Herb1 Herb2 Herb3 Herb4
Profit/loss Xp gained Profit/loss
per xp
Profit/loss Xp gained Profit/loss
per xp
Profit/loss Xp gained Profit/loss
per xp
Profit/loss Xp gained Profit/loss
per xp


Full example, with table incorporation

Code:

{|class="wikitable" style="text-align:center"
! align="center" rowspan="3"|Number
!colspan="12"|Herb type
|-

!colspan="3"|Guam
!colspan="3"|Marrentill
!colspan="3"|Tarromin
!colspan="3"|Harralander
|-
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
!Profit/loss
!Xp gained
!Profit/loss <br /> per xp
{{Herb farming calc2
 |num         = 0
 |herb1       = guam
 |herb2       = marrentill
 |herb3       = tarromin
 |herb4       = harralander
}}
|}

which gives:

Number Herb type
Guam Marrentill Tarromin Harralander
Profit/loss Xp gained Profit/loss
per xp
Profit/loss Xp gained Profit/loss
per xp
Profit/loss Xp gained Profit/loss
per xp
Profit/loss Xp gained Profit/loss
per xp
0 -24 11 -2.18 -23 13 -1.77 -27 16 -1.69 -18 22 -0.82


The template can obviously be used as many times as one wants to, creating a full-scale table comparing profits of herbs depending on the number harvested.


See also

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.