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"
(45 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <noinclude>{|{table} border="1" cellspacing="0" cellpadding="5" class="wikitable" |
− | ! {{{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}} | + | </noinclude>|- id="Flax {{{1|Old Egypt}}}" align="center" |
+ | {{!}} {{{1|Old Egypt}}} || {{{2|1}}} || {{{3|0}}} || {{{4|1}}} || {{{5|2}}} || {{{6|0}}} || {{#expr:(1000/({{{2|1}}}+{{{3|0}}}))round2}} || {{#expr:((1000/({{{2|1}}}+{{{3|0}}}))/({{{4|1}}}*5))round2}} || {{#expr:(((1000/({{{2|1}}}+{{{3|0}}}))*({{{5|2}}}+{{{6|0}}}+2))+(((1000/({{{2|1}}}+{{{3|0}}}))/({{{4|1}}}*5))*7))round2}} || {{#ifeq:{{{2|1}}}|0|'''N/A'''|{{#expr:(1000/{{{2|1}}})round2}}}} || {{#ifeq:{{{2|1}}}|0|'''N/A'''|{{#expr:((1000/{{{2|1}}})/({{{4|1}}}*5))round2}}}} || {{#ifeq:{{{2|1}}}|0|'''N/A'''|{{#expr:(((1000/{{{2|1}}})*({{{5|2}}}+{{{6|0}}}+2))+(((1000/{{{2|1}}})/({{{4|1}}}*5))*7))round2}}}} || {{{7|}}}<noinclude> | ||
+ | |- | ||
+ | |} | ||
+ | |||
== Usage: == | == Usage: == | ||
For easier insertion of a table row in the flax crossbreeds table. | 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. | + | After the <code><nowiki>{{SeedFlaxHeader|</nowiki></code> at the start of the table, you can put <code><nowiki>{{SeedFlax|Name|Flax|Rotten|Seeds|Weed|Water|Pollution}}</nowiki></code> on new lines before the final <code><nowiki>}}</nowiki></code> and it will automatically insert the row in the table with the calculations for beds per 1000 flax etc completed. Pollution resistance note is optional. |
− | For example: | + | For example: |
− | < | + | <pre><nowiki>{{SeedFlaxHeader| |
− | Will insert the following | + | {{SeedFlax|Old Egypt|1|0|1|2|0|High}} |
+ | {{SeedFlax|Nile Green|2|0|1|1|1|Low}} | ||
+ | }}</nowiki></pre> | ||
+ | Will insert the following rows into that spot in the table (header not shown below for clarity):<br> | ||
{|{table} border="1" cellspacing="0" cellpadding="5" class="wikitable" | {|{table} border="1" cellspacing="0" cellpadding="5" class="wikitable" | ||
− | |- | + | |-align="center" |
− | + | | Old Egypt || 1 || 0 || 1 || 2 || 0 || 1000 || 200 || 5400 || 1000 || 200 || 5400 || High | |
+ | |-align="center" | ||
+ | | Nile Green || 2 || 0 || 1 || 1 || 1 || 500 || 100 || 2700 || 500 || 100 || 2700 || Low | ||
|- | |- | ||
|} | |} | ||
− | Which will of course adapt to the rest of the table formatting specified for that table | + | Which will of course adapt to the rest of the table formatting specified for that table in the SeedFlaxHeader template. |
+ | |||
+ | To link directly to a flax seed in the table, replace spaces in the flax name with underscore <code><nowiki>_</nowiki></code> and the <code><nowiki>#</nowiki></code> symbol with <code><nowiki>.23</nowiki></code> as such: | ||
+ | |||
+ | <code><nowiki>[[New_Crosses#Flax_Ariella_.234]]</nowiki></code> to link to the seed with the name <code><nowiki>Ariella #4</nowiki></code> | ||
− | [[Category: Template]] {{DEFAULTSORT:PAGENAME}} | + | [[Category: Template]] {{DEFAULTSORT:{{PAGENAME}}}} |
</noinclude> | </noinclude> |
Latest revision as of 18:12, 25 January 2016
Old Egypt | 1 | 0 | 1 | 2 | 0 | 1000 | 200 | 5400 | 1000 | 200 | 5400 |
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|Pollution}}
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. Pollution resistance note is optional.
For example:
{{SeedFlaxHeader| {{SeedFlax|Old Egypt|1|0|1|2|0|High}} {{SeedFlax|Nile Green|2|0|1|1|1|Low}} }}
Will insert the following rows into that spot in the table (header not shown below for clarity):
Old Egypt | 1 | 0 | 1 | 2 | 0 | 1000 | 200 | 5400 | 1000 | 200 | 5400 | High |
Nile Green | 2 | 0 | 1 | 1 | 1 | 500 | 100 | 2700 | 500 | 100 | 2700 | Low |
Which will of course adapt to the rest of the table formatting specified for that table in the SeedFlaxHeader template.
To link directly to a flax seed in the table, replace spaces in the flax name with underscore _
and the #
symbol with .23
as such:
[[New_Crosses#Flax_Ariella_.234]]
to link to the seed with the name Ariella #4