Site Notice |
---|
Due to recent vandalism, all edits performed by IPs and new users will be reviewed before being published. This means it might take some time for your edit to show up. New accounts also have to be confirmed before being created. If you have any questions, contact one of the staff members on their talk page, or on the Discord server. |
Template:KB: Difference between revisions
Jump to navigation
Jump to search
→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 |
||
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> |
Revision as of 11:19, 17 March 2021
Friend Medal Multiplier credit to Reddit user Myxas_
Usage
(Partial syntax; credit to PlayerZeke.)
To add rows without breaking the table's alignment, find "ir" & "sar" part-way down in the table/template on the page, and adjust the values accordingly, for the latest amount of rows, starting from & including that same row, as well as the latest row.
(e.g. If "ir=150" & "sar=49", then adjust the values to "ir=151" & "sar=50", to add the latest row.)