The Wiki for Tale 6 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:EssenceTestTable"

From ATITD6
Jump to navigationJump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is currently a sandbox for learning mediawiki templates. Once I have that figured out, it will become a way to easily generate a table for listing results of Essence value testing.</noinclude>
+
<noinclude>This template is a way to easily generate a table for listing results of [[Essence]] value testing. It uses the following parameters:
{| border=1 style="background-color:silver"
+
* name - The name of the material under testing
 +
* temp - The ideal temperature for extracting the essence
 +
* ar, as, bi, etc. - Final values of the 8 properties
 +
The template takes a single unnamed parameter: the body of the table. For this, use a series of [[Template:EssenceTestRow]] templates.
 +
 
 +
The final code for a table will look something like this:
 +
<pre><nowiki>{{EssenceTestTable|name=Foobar Palm|temp=71|ar=0|as=-3|bi=-2|sa=-1|so=0|sp=0|sw=3|to=0|
 +
  {{EssenceTestRow|Butterleaf Tree|Folded Birch|Hawthorn|Locust Palm|ar=W|as=P|bi=P|sa=P|so=L|sp=W|sw=L|to=W}}
 +
  {{EssenceTestRow|Bloodbark|Kaeshra|Razor Palm|Red Maple|as=P|bi=P|sa=L|so=W|sw=L}}
 +
  {{EssenceTestRow|Cinnar|Pratyeka Tree|Ranyahn|Stout Palm|bi=W}}
 +
}}</nowiki></pre>
 +
 
 +
If you prefer, you can instead put the results at the end:
 +
<pre><nowiki>{{EssenceTestTable|name=Foobar Palm|temp=71|
 +
  {{EssenceTestRow|Butterleaf Tree|Folded Birch|Hawthorn|Locust Palm|ar=W|as=P|bi=P|sa=P|so=L|sp=W|sw=L|to=W}}
 +
  {{EssenceTestRow|Bloodbark|Kaeshra|Razor Palm|Red Maple|as=P|bi=P|sa=L|so=W|sw=L}}
 +
  {{EssenceTestRow|Cinnar|Pratyeka Tree|Ranyahn|Stout Palm|bi=W}}
 +
|ar=0|as=-3|bi=-2|sa=-1|so=0|sp=0|sw=3|to=0}}</nowiki></pre>
 +
 
 +
Either way, the end product will look like this:
 +
</noinclude>
 +
{| border=0 style="background-color:silver"
 
|- style="color:white; background-color:sienna"
 
|- style="color:white; background-color:sienna"
| colspan=4 style="font-size:larger" | '''''{{{name|Unnamed}}}''''' || colspan=8 align=right | Temperature={{{temp|?}}}
+
| colspan=4 style="font-size:larger" | '''''{{{name|<includeonly>Unnamed</includeonly><noinclude>Foobar Palm</noinclude>}}}''''' || colspan=8 align=right | Temperature={{{temp|<includeonly>?</includeonly><noinclude>71</noinclude>}}}
 
|- style="background-color:darkgray"
 
|- style="background-color:darkgray"
! width=120 | Standard 1 !! width=120 | Standard 2 !! width=120 | Standard 3 !! width=120 | Standard 4 !! width=20 | Ar !! width=20 | As !! width=20 | Bi !! width=20 | Sa !! width=20 | So !! width=20 | Sp !! width=20 | Sw !! width=20 | To
+
! width=130 | Standard 1 !! width=130 | Standard 2 !! width=130 | Standard 3 !! width=130 | Standard 4 !! width=20 | Ar !! width=20 | As !! width=20 | Bi !! width=20 | Sa !! width=20 | So !! width=20 | Sp !! width=20 | Sw !! width=20 | To
{{{1|
+
{{{1|<includeonly>{{EssenceTestRow}}</includeonly><noinclude>
{{!}}- style="background-color:gainsboro"
+
  {{EssenceTestRow|Butterleaf Tree|Folded Birch|Hawthorn|Locust Palm|ar=W|as=P|bi=P|sa=P|so=L|sp=W|sw=L|to=W}}
{{!}} EssenceA {{!}}{{!}} EssenceB {{!}}{{!}} EssenceC {{!}}{{!}} EssenceD {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}
+
  {{EssenceTestRow|Bloodbark|Kaeshra|Razor Palm|Red Maple|as=P|bi=P|sa=L|so=W|sw=L}}
}}}
+
  {{EssenceTestRow|Cinnar|Pratyeka Tree|Ranyahn|Stout Palm|bi=W}}
 +
</noinclude>}}}
 
|- style="background-color:darkgray"
 
|- style="background-color:darkgray"
! colspan="4" | Results !! {{{ar|?}}} !! {{{as|?}}} !! {{{bi|?}}} !! {{{sa|?}}} !! {{{so|?}}} !! {{{sp|?}}} !! {{{sw|?}}} !! {{{to|?}}}
+
! colspan="4" | Results !! {{{ar|<includeonly>?</includeonly><noinclude>0</noinclude>}}} !! {{{as|<includeonly>?</includeonly><noinclude>-3</noinclude>}}} !! {{{bi|<includeonly>?</includeonly><noinclude>-2</noinclude>}}} !! {{{sa|<includeonly>?</includeonly><noinclude>-1</noinclude>}}} !! {{{so|<includeonly>?</includeonly><noinclude>0</noinclude>}}} !! {{{sp|<includeonly>?</includeonly><noinclude>0</noinclude>}}} !! {{{sw|<includeonly>?</includeonly><noinclude>3</noinclude>}}} !! {{{to|<includeonly>?</includeonly><noinclude>0</noinclude>}}}
 
|}
 
|}
 +
<noinclude>[[Category:Template|{{PAGENAME}}]]</noinclude>

Latest revision as of 05:17, 9 December 2010

This template is a way to easily generate a table for listing results of Essence value testing. It uses the following parameters:

  • name - The name of the material under testing
  • temp - The ideal temperature for extracting the essence
  • ar, as, bi, etc. - Final values of the 8 properties

The template takes a single unnamed parameter: the body of the table. For this, use a series of Template:EssenceTestRow templates.

The final code for a table will look something like this:

{{EssenceTestTable|name=Foobar Palm|temp=71|ar=0|as=-3|bi=-2|sa=-1|so=0|sp=0|sw=3|to=0|
  {{EssenceTestRow|Butterleaf Tree|Folded Birch|Hawthorn|Locust Palm|ar=W|as=P|bi=P|sa=P|so=L|sp=W|sw=L|to=W}}
  {{EssenceTestRow|Bloodbark|Kaeshra|Razor Palm|Red Maple|as=P|bi=P|sa=L|so=W|sw=L}}
  {{EssenceTestRow|Cinnar|Pratyeka Tree|Ranyahn|Stout Palm|bi=W}}
}}

If you prefer, you can instead put the results at the end:

{{EssenceTestTable|name=Foobar Palm|temp=71|
  {{EssenceTestRow|Butterleaf Tree|Folded Birch|Hawthorn|Locust Palm|ar=W|as=P|bi=P|sa=P|so=L|sp=W|sw=L|to=W}}
  {{EssenceTestRow|Bloodbark|Kaeshra|Razor Palm|Red Maple|as=P|bi=P|sa=L|so=W|sw=L}}
  {{EssenceTestRow|Cinnar|Pratyeka Tree|Ranyahn|Stout Palm|bi=W}}
|ar=0|as=-3|bi=-2|sa=-1|so=0|sp=0|sw=3|to=0}}

Either way, the end product will look like this:

Foobar Palm Temperature=71
Standard 1 Standard 2 Standard 3 Standard 4 Ar As Bi Sa So Sp Sw To
Butterleaf Tree Folded Birch Hawthorn Locust Palm
Bloodbark Kaeshra Razor Palm Red Maple
Cinnar Pratyeka Tree Ranyahn Stout Palm
Results 0 -3 -2 -1 0 0 3 0