|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
− | <includeonly>{{{1}}} || {{{2}}} || {{{3}}} || {{{4}}} || {{{5}}} || {{{6}}} || {{#expr:(1000/({{{2}}}+{{{3}}}))round2}} || {{#expr:((1000/({{{2}}}+{{{3}}}))/({{{4}}}*5))round2}} || {{#expr:(((1000/({{{2}}}+{{{3}}}))*({{{5}}}+{{{6}}}+2))+(((1000/({{{2}}}+{{{3}}}))/({{{4}}}*5))*7))round2}} || {{#expr:(1000/{{{2}}})round2}} || {{#expr:((1000/{{{2}}})/({{{4}}}*5))round2}} || {{#expr:(((1000/{{{2}}})*({{{5}}}+{{{6}}}+2))+(((1000/{{{2}}})/({{{4}}}*5))*7))round2}}</includeonly><noinclude>
| |
− | == Usage: ==
| |
| | | |
− | For easier insertion of a table row in the flax crossbreeds table.
| |
− |
| |
− | After the ! at the start of a line representing a row in the table, you can put <code><nowiki>{{FlaxRow|Name|Flax|Rotten|Seeds|Weed|Water}}</nowiki></code> and it will automatically insert the row in the table with the calculations for beds per 1000 flax etc completed.
| |
− |
| |
− | For example:<br>
| |
− | <code><nowiki>! {{FlaxRow|Old Egypt|1|0|1|2|0}}</nowiki></code><br>
| |
− | Will insert the following row into that spot in the table:<br>
| |
− | {|{table} border="1" cellspacing="0" cellpadding="5" class="wikitable"
| |
− | |-
| |
− | ! Old Egypt || 1 || 0 || 1 || 2 || 0 || 1000 || 200 || 5400 || 1000 || 200 || 5400
| |
− | |-
| |
− | |}
| |
− | Which will of course adapt to the rest of the table formatting specified for that table on that page.
| |
− |
| |
− | [[Category: Template]] {{DEFAULTSORT:FlaxRow}}
| |
− | </noinclude>
| |