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:StrainVegNew"

From ATITD7
Jump to navigationJump to search
Line 3: Line 3:
 
<noinclude>{|{table} border=10 cellpadding="1" cellspacing="3" style="background-color:#00FF00"
 
<noinclude>{|{table} border=10 cellpadding="1" cellspacing="3" style="background-color:#00FF00"
 
</noinclude>|- id="{{{1|Unknown}}} {{{3|Pharoah}}}{{#if:{{{4}}}| {{{4}}}}}" style="background-color:#FFFFFF" align="center"
 
</noinclude>|- id="{{{1|Unknown}}} {{{3|Pharoah}}}{{#if:{{{4}}}| {{{4}}}}}" style="background-color:#FFFFFF" align="center"
{{!}}{{{1|Seed}}}
+
{{!}}style="background-color:#{{#switch:{{{1|Cabbage}}}|Cabbage = 00FF00|Carrot = E0AA00|Cucumber = 00CC00|Eggplant = 900090|Garlic = FFFFFF|Leek = 009000|Onion = EEEE00|Pepper = FFFF00|Watermelon = CC0000|FFFFFF}}"| {{{1|Seed}}}
 
|{{{2|Terrain}}}
 
|{{{2|Terrain}}}
 
|{{{3|Creator}}}
 
|{{{3|Creator}}}

Revision as of 01:45, 30 December 2015


Seed Terrain Creator ID Sets Water Yield Seeds ExtraSeeds ExtraStart ExtraEnd Notes

Usage:

For easier insertion of a table row in the flax crossbreeds table.

After the {{SeedVegHeader| at the start of the table, you can put {{SeedVeg|Type|Name|Genome|Researcher|Sets of|Water|Yield|Seeds|Grown on|Seed Time}} on new lines before the final }} and it will automatically insert the row in the table with the correct formatting.

For example:

{{SeedVegHeader|Cabbage|
{{SeedVeg|Cabbage|Eigam #1|Genome|Eigam|1|1|9|1|grass|4 seeds from 7am to 8am (roughly)}}
}}

Will insert the following row into that spot in the table (header not shown below for clarity):

Eigam #1 Genome Eigam 1 sets of 1 water 9 Cabbages 1 seeds grass 4 seeds from 7am to 8am (roughly)

Which will of course adapt to the rest of the table formatting specified for that table in the SeedVegHeader template.

To link directly to a vegetable seed in the table, replace spaces in the vegetable seed name with underscore _ and the # symbol with .23 as such:

[[New_Crosses#Cabbage_Eigam_.231]] to link to the seed with the name Eigam #1