The Wiki for Tale 4 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:BTL"
Red Bastet (talk | contribs) |
Red Bastet (talk | contribs) |
||
Line 14: | Line 14: | ||
[[Category:Template]]{{DEFAULTSORT:Tech Level}} | [[Category:Template]]{{DEFAULTSORT:Tech Level}} | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{{#switch: {{{1}}} | + | <includeonly>{{#switch: {{{1}}} |
− | |Metallurgy={{#switch: {{{2}}}|0={{BORT|{{{1}}} }} | + | |Metallurgy={{#switch: {{{2}}}/Bastet|0={{BORT|{{{1}}} }} |
{{BORT|{{{1}}} 2}} | {{BORT|{{{1}}} 2}} | ||
{{BORT|{{{1}}} 3}} | {{BORT|{{{1}}} 3}} |
Revision as of 10:44, 4 March 2010
Tech Level template
Usage
This template will be handed a tech & a variable (level).
It's going to help determine what to do with techs that have more than 1 level to them.
IE: Obelisk Construction, Pyramid Construction, etc
Currently, the template/page that calls this template, does not weed out rank 0 techs (techs that you listed but haven't actually learned). I may change that though so that it doesn't bypass this level counting process here. Right now it's skipping this page if any number gets entered for most techs.
If you're looking into this template, you may notice that it's receiving 2 variables most of the time & 3 in the case of Pyramid Construction. At some point I might expand the calling template (and possibly this one) to handle cases where someone has opted to learn some of Pyramid Construction, but not all (though I can't imagine why you'd skip some of them when it's just a visit to a Uni to learn so if that's the case for you, it's up to you to remember which uni you didn't visit).
For now though, it shows all pyramid construction if you haven't learned all 7.