Calculator:Template/Farming/Herb prices/2/doc
Jump to navigation
Jump to search
This documentation is transcluded from Calculator:Template/Farming/Herb prices/2/doc/doc.
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
|
−5
| 11
|
−0.45
|
−3
| 13
|
−0.23
|
−7
| 16
|
−0.44
|
−4
| 22
|
−0.18
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:
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.