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"

From ATITD7
Jump to navigationJump to search
Line 1: Line 1:
<includeonly>|- id="Flax{{#replace:{{#replace:{{{1}}}| |}}|#|}}"
+
<includeonly>|- id="Flax{{#replace:{{#replace:{{{1}}}| |}}|<nowiki>#</nowiki>|}}"
 
! {{{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>
 
! {{{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: ==
 
== Usage: ==

Revision as of 03:53, 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.