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 "User:Amisibastet/temp/2"

From A Tale in the Desert
Jump to navigationJump to search
m (ok that should fix it)
m (tryin it backwards)
Line 1: Line 1:
<noinclude>LOL I'll have to copy/paste instead of move - can't recreate something that you move/rename
+
<noinclude>
 
 
Anyway! I want to work on a passthrough template since I'm having a hard time making the missing tech template
 
 
 
 
=Usage=
 
=Usage=
 
This template will be handed a tech & a variable (level).
 
This template will be handed a tech & a variable (level).
Line 9: Line 6:
 
IE: Obelisk Construction, Pyramid Construction, etc
 
IE: Obelisk Construction, Pyramid Construction, etc
  
I warn you now, I have not fully thought this one out so... this project could go a full week instead of just a weekend. Which seems likely since the weekend is about over =/
+
 
 
</noinclude>
 
</noinclude>
<includeonly>{{#switch: {{{2}}}
+
<includeonly>{{#switch: {{{1}}}
|0={{#switch: {{{1}}} | Obelisk Construction ={{ORT|{{{1}}} }}
+
|Metallurgy={{#switch: {{{2}}}|0={{ORT|{{{1}}} }}
 
{{ORT|{{{1}}} 2}}
 
{{ORT|{{{1}}} 2}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 5}}
 
{{ORT|{{{1}}} 5}}
{{ORT|{{{1}}} 6}}
+
|1={{ORT|{{{1}}} 2}}
{{ORT|{{{1}}} 7}}
+
{{ORT|{{{1}}} 3}}
|Advanced Metallurgy={{ORT|{{{1}}} }}
+
{{ORT|{{{1}}} 4}}
 +
{{ORT|{{{1}}} 5}}
 +
|2={{ORT|{{{1}}} 3}}
 +
{{ORT|{{{1}}} 4}}
 +
{{ORT|{{{1}}} 5}}
 +
|3={{ORT|{{{1}}} 4}}
 +
{{ORT|{{{1}}} 5}}
 +
|4={{ORT|{{{1}}} 5}}
 +
|}}
 +
|Advanced Metallurgy={{#switch: {{{2}}}|0={{ORT|{{{1}}} }}
 
{{ORT|{{{1}}} 2}}
 
{{ORT|{{{1}}} 2}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 4}}
|Metallurgy={{ORT|{{{1}}} }}
+
{{ORT|{{{1}}} 5}}
{{ORT|{{{1}}} 2}}
+
|1={{ORT|{{{1}}} 2}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 4}}
|Chariot Repair={{ORT|{{{1}}} }}
+
{{ORT|{{{1}}} 5}}
 +
|2={{ORT|{{{1}}} 3}}
 +
{{ORT|{{{1}}} 4}}
 +
{{ORT|{{{1}}} 5}}
 +
|3={{ORT|{{{1}}} 4}}
 +
{{ORT|{{{1}}} 5}}
 +
|4={{ORT|{{{1}}} 5}}
 +
|}}
 +
|Chariot Repair={{#switch: {{{2}}}|0={{ORT|{{{1}}} }}
 +
{{ORT|{{{1}}} 2}}
 +
|1={{ORT|{{{1}}} 2}}
 +
|}}
 +
|Ferry Construction={{#ifexpr: {{{2}}}>2 |{{ORT|{{{1}}} }}|}}
 +
|Pyramid Construction={{#ifexpr: {{{2}}}<7 |{{ORT|{{{1}}} - {{{3}}} }}|}}
 +
|Obelisk Construction={{#switch: {{{2}}}|0={{ORT|{{{1}}} }}
 
{{ORT|{{{1}}} 2}}
 
{{ORT|{{{1}}} 2}}
|Ferry Construction={{ORT|{{{1}}} 2}}
 
|{{ORT|{{{1}}} }} }}
 
|1={{#switch: {{{1}}}
 
|Pyramid Construction - Architecture={{ORT|{{{1}}} }}
 
|Pyramid Construction - Art={{ORT|{{{1}}} }}
 
|Pyramid Construction - Body={{ORT|{{{1}}} }}
 
|Pyramid Construction - Harmony={{ORT|{{{1}}} }}
 
|Pyramid Construction - Leadership={{ORT|{{{1}}} }}
 
|Pyramid Construction - Thought={{ORT|{{{1}}} }}
 
|Pyramid Construction - Worship={{ORT|{{{1}}} }}
 
|Obelisk Construction={{ORT|{{{1}}} 2}}
 
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 4}}
Line 45: Line 54:
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 7}}
 
{{ORT|{{{1}}} 7}}
|Advanced Metallurgy={{ORT|{{{1}}} 2}}
+
|1={{ORT|{{{1}}} 2}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 4}}
|Metallurgy={{ORT|{{{1}}} 2}}
+
{{ORT|{{{1}}} 5}}
{{ORT|{{{1}}} 3}}
+
{{ORT|{{{1}}} 6}}
{{ORT|{{{1}}} 4}}
+
{{ORT|{{{1}}} 7}}
|Chariot Repair={{ORT|{{{1}}} 2}}
+
|2={{ORT|{{{1}}} 3}}
|Ferry Construction={{ORT|{{{1}}} 2}}
 
| }}
 
|2={{#switch: {{{1}}}
 
|Pyramid Construction - Architecture={{ORT|{{{1}}} }}
 
|Pyramid Construction - Art={{ORT|{{{1}}} }}
 
|Pyramid Construction - Body={{ORT|{{{1}}} }}
 
|Pyramid Construction - Harmony={{ORT|{{{1}}} }}
 
|Pyramid Construction - Leadership={{ORT|{{{1}}} }}
 
|Pyramid Construction - Thought={{ORT|{{{1}}} }}
 
|Pyramid Construction - Worship={{ORT|{{{1}}} }}
 
|Obelisk Construction ={{ORT|{{{1}}} 3}}
 
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 4}}
 
{{ORT|{{{1}}} 5}}
 
{{ORT|{{{1}}} 5}}
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 7}}
 
{{ORT|{{{1}}} 7}}
|Advanced Metallurgy={{ORT|{{{1}}} 3}}
+
|3={{ORT|{{{1}}} 4}}
{{ORT|{{{1}}} 4}}
 
|Metallurgy={{ORT|{{{1}}} 3}}
 
{{ORT|{{{1}}} 4}}
 
| }}
 
|3={{#switch: {{{1}}}
 
|Pyramid Construction - Architecture={{ORT|{{{1}}} }}
 
|Pyramid Construction - Art={{ORT|{{{1}}} }}
 
|Pyramid Construction - Body={{ORT|{{{1}}} }}
 
|Pyramid Construction - Harmony={{ORT|{{{1}}} }}
 
|Pyramid Construction - Leadership={{ORT|{{{1}}} }}
 
|Pyramid Construction - Thought={{ORT|{{{1}}} }}
 
|Pyramid Construction - Worship={{ORT|{{{1}}} }}
 
|Obelisk Construction ={{ORT|{{{1}}} 4}}
 
 
{{ORT|{{{1}}} 5}}
 
{{ORT|{{{1}}} 5}}
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 7}}
 
{{ORT|{{{1}}} 7}}
|Advanced Metallurgy={{ORT|{{{1}}} 4}}
+
|4={{ORT|{{{1}}} 5}}
|Metallurgy={{ORT|{{{1}}} 4}}
 
| }}
 
|4={{#switch: {{{1}}}
 
|Pyramid Construction - Architecture={{ORT|{{{1}}} }}
 
|Pyramid Construction - Art={{ORT|{{{1}}} }}
 
|Pyramid Construction - Body={{ORT|{{{1}}} }}
 
|Pyramid Construction - Harmony={{ORT|{{{1}}} }}
 
|Pyramid Construction - Leadership={{ORT|{{{1}}} }}
 
|Pyramid Construction - Thought={{ORT|{{{1}}} }}
 
|Pyramid Construction - Worship={{ORT|{{{1}}} }}
 
|Obelisk Construction ={{ORT|{{{1}}} 5}}
 
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 6}}
 
{{ORT|{{{1}}} 7}}
 
{{ORT|{{{1}}} 7}}
| }}
+
|5={{ORT|{{{1}}} 6}}
|5={{#switch: {{{1}}}
 
|Pyramid Construction - Architecture={{ORT|{{{1}}} }}
 
|Pyramid Construction - Art={{ORT|{{{1}}} }}
 
|Pyramid Construction - Body={{ORT|{{{1}}} }}
 
|Pyramid Construction - Harmony= {{ORT|{{{1}}} }}
 
|Pyramid Construction - Leadership={{ORT|{{{1}}} }}
 
|Pyramid Construction - Thought={{ORT|{{{1}}} }}
 
|Pyramid Construction - Worship={{ORT|{{{1}}} }}
 
|Obelisk Construction ={{ORT|{{{1}}} 6}}
 
 
{{ORT|{{{1}}} 7}}
 
{{ORT|{{{1}}} 7}}
| }}
+
|6={{ORT|{{{1}}} 7}}
|6={{#switch: {{{1}}}
+
|}}
|Pyramid Construction - Architecture={{ORT|{{{1}}} }}
+
|{{#ifexpr: {{{2}}}<1 |{{ORT|{{{1}}} }}| }}
|Pyramid Construction - Art={{ORT|{{{1}}} }}
+
}}</includeonly>
|Pyramid Construction - Body={{ORT|{{{1}}} }}
 
|Pyramid Construction - Harmony={{ORT|{{{1}}} }}
 
|Pyramid Construction - Leadership={{ORT|{{{1}}} }}
 
|Pyramid Construction - Thought={{ORT|{{{1}}} }}
 
|Pyramid Construction - Worship={{ORT|{{{1}}} }}
 
|Obelisk Construction ={{ORT|{{{1}}} 7}} |default }}
 
|7=
 
|8=
 
| }}</includeonly>
 

Revision as of 05:57, 17 February 2009

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