A Wiki in the Desert
Log in

Template:SeedFlax

From A Wiki in the Desert
Revision as of 22:43, 24 June 2018 by Pascalito (talk | contribs) (Created page with "<noinclude>{|{table} border="1" cellspacing="0" cellpadding="5" class="wikitable" </noinclude>|- id="Flax {{{1|Old Egypt}}}" align="center" {{!}} {{{1|Old Egypt}}} || {{{2|1}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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