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

From KHUX Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:
{{!}}rowspan="{{{ir|}}}" valign="top" style="padding-top:5px"{{!}}[[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|}}}" valign="top" style="padding-top:{{#if:{{{3|}}}{{{5|}}}{{{7|}}}{{{9|}}}{{{11|}}}|13px|3px}}"{{!}}{{{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}}}}}}

Latest revision as of 06:40, 2 May 2021

Friend Medal Multiplier credit to Reddit user Myxas_

Usage[edit]

(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.)