Template:KB: Difference between revisions
→Usage: Added instructions for adding rows, credit to PlayerZeke. [Template designer who didn't include Usage syntax instructions here & un-intuitively decided to place row settings at Level 35, deserves to be launched out of a circus cannon/off a medieval catapult, sardonically speaking.] |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|-{{#if:{{{i|}}}|<nowiki/> | <includeonly>|-{{#if:{{{i|}}}|<nowiki/> | ||
{{!}}rowspan="{{{ir|}}}"{{!}}[[File:{{PAGENAME}} ({{{i|}}}) KHX.png|100px|link=]]}} | {{!}}rowspan="{{{ir|}}}" valign="top" style="padding-top:5px"{{!}}[[File:{{PAGENAME}} ({{{i|}}}) KHX.png|100px|link=]]}} | ||
|'''+{{{1|}}}'''{{#if:{{{sa|}}}|<nowiki/> | |'''+{{{1|}}}'''{{#if:{{{sa|}}}|<nowiki/> | ||
{{!}}rowspan="{{{sar|}}}"{{!}}{{{sa|}}}}} | {{!}}rowspan="{{{sar|}}}" valign="top" style="padding-top:{{#if:{{{3|}}}{{{5|}}}{{{7|}}}{{{9|}}}{{{11|}}}|13px|3px}}"{{!}}'''{{{sa|}}}'''}} | ||
|{{#ifeq:{{#sub:{{{2|}}}|-1}}|+|'''x{{#sub:{{{2|}}}|0|4}}'''|x{{#sub:{{{2|}}}|0|4}}}}{{#if:{{{3|}}}|<br>{{#ifeq:{{#sub:{{{3|}}}|-1}}|+|'''x{{#sub:{{{3|}}}|0|4}}'''|x{{#sub:{{{3|}}}|0|4}}}}}} | |{{#ifeq:{{#sub:{{{2|}}}|-1}}|+|'''x{{#sub:{{{2|}}}|0|4}}'''|x{{#sub:{{{2|}}}|0|4}}}}{{#if:{{{3|}}}|<br>{{#ifeq:{{#sub:{{{3|}}}|-1}}|+|'''x{{#sub:{{{3|}}}|0|4}}'''|x{{#sub:{{{3|}}}|0|4}}}}}} | ||
|{{#ifeq:{{#sub:{{{4|}}}|-1}}|+|'''x{{#sub:{{{4|}}}|0|4}}'''|x{{#sub:{{{4|}}}|0|4}}}}{{#if:{{{5|}}}|<br>{{#ifeq:{{#sub:{{{5|}}}|-1}}|+|'''x{{#sub:{{{5|}}}|0|4}}'''|x{{#sub:{{{5|}}}|0|4}}}}}} | |{{#ifeq:{{#sub:{{{4|}}}|-1}}|+|'''x{{#sub:{{{4|}}}|0|4}}'''|x{{#sub:{{{4|}}}|0|4}}}}{{#if:{{{5|}}}|<br>{{#ifeq:{{#sub:{{{5|}}}|-1}}|+|'''x{{#sub:{{{5|}}}|0|4}}'''|x{{#sub:{{{5|}}}|0|4}}}}}} | ||
Line 9: | Line 9: | ||
|{{#if:{{{10|}}}|{{#ifeq:{{#sub:{{{10|}}}|-1}}|+|'''x{{#sub:{{{10|}}}|0|4}}'''|x{{#sub:{{{10|}}}|0|4}}}}{{#if:{{{11|}}}|<br>{{#ifeq:{{#sub:{{{11|}}}|-1}}|+|'''x{{#sub:{{{11|}}}|0|4}}'''|x{{#sub:{{{11|}}}|0|4}}}}}}|Locked}} | |{{#if:{{{10|}}}|{{#ifeq:{{#sub:{{{10|}}}|-1}}|+|'''x{{#sub:{{{10|}}}|0|4}}'''|x{{#sub:{{{10|}}}|0|4}}}}{{#if:{{{11|}}}|<br>{{#ifeq:{{#sub:{{{11|}}}|-1}}|+|'''x{{#sub:{{{11|}}}|0|4}}'''|x{{#sub:{{{11|}}}|0|4}}}}}}|Locked}} | ||
|x{{#expr:{{#expr:1 + {{#expr:0.12 * {{#expr:{{#expr:{{#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}} + {{#if:{{{5|}}}|{{{5|}}}|{{{4|}}}}} + {{#if:{{{7|}}}|{{{7|}}}|{{{6|}}}}} + {{#if:{{{9|}}}|{{{9|}}}|{{{8|0}}}}} + {{#if:{{{11|}}}|{{{11|}}}|{{{10|0}}}}} - {{#if:{{{10|}}}|5|{{#if:{{{8|}}}|4|3}}}}}}}}}} round 3}}}}{{#if:{{{r1|}}}|<nowiki/> | |x{{#expr:{{#expr:1 + {{#expr:0.12 * {{#expr:{{#expr:{{#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}} + {{#if:{{{5|}}}|{{{5|}}}|{{{4|}}}}} + {{#if:{{{7|}}}|{{{7|}}}|{{{6|}}}}} + {{#if:{{{9|}}}|{{{9|}}}|{{{8|0}}}}} + {{#if:{{{11|}}}|{{{11|}}}|{{{10|0}}}}} - {{#if:{{{10|}}}|5|{{#if:{{{8|}}}|4|3}}}}}}}}}} round 3}}}}{{#if:{{{r1|}}}|<nowiki/> | ||
{{!}}width=" | {{!}}width="60px"{{!}}[[File:{{{r1|}}} KHX.png|25x25px|link={{{r1|}}}]] x{{{r1q|1}}} | ||
{{!}}width=" | {{!}}width="60px"{{!}}{{#if:{{{r2|}}}|<nowiki/>[[File:{{{r2|}}} KHX.png|25x25px|link={{{r2|}}}]] x{{{r2q|1}}}}} | ||
{{!}}width=" | {{!}}width="60px"{{!}}{{#if:{{{r3|}}}|<nowiki/>[[File:{{{r3|}}} KHX.png|25x25px|link={{{r3|}}}]] x{{{r3q|1}}}}} | ||
{{!}}width=" | {{!}}width="60px"{{!}}{{#if:{{{r4|}}}|<nowiki/>[[File:{{{r4|}}} KHX.png|25x25px|link={{{r4|}}}]] x{{{r4q|1}}}}}|<nowiki/> | ||
{{!}}colspan="4"{{!}}—}} | {{!}}colspan="4"{{!}}—}} | ||
{{!}}{{{p|—}}}</includeonly><noinclude> | {{!}}{{{p|—}}}</includeonly><noinclude> |