The Wiki for Tale 7 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Template:SeedFlax"
OldGorilla (talk | contribs) |
|||
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 SeedFlaxHeader at the start of the table, you can put <code><nowiki>{{SeedFlax|Name|Flax|Rotten|Seeds|Weed|Water}}</nowiki></code> on new lines before the final <nowiki>}}</nowiki> 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>! {{SeedFlax|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:PAGENAME}} | ||
+ | </noinclude> |
Revision as of 03:23, 12 December 2015
Usage:
For easier insertion of a table row in the flax crossbreeds table.
After the SeedFlaxHeader at the start of the table, you can put {{SeedFlax|Name|Flax|Rotten|Seeds|Weed|Water}}
on new lines before the final }} and it will automatically insert the row in the table with the calculations for beds per 1000 flax etc completed.
For example:
! {{SeedFlax|Old Egypt|1|0|1|2|0}}
Will insert the following row into that spot in the table:
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.