Template:PerkTable: Difference between revisions
From Destinypedia, the Destiny wiki
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
! {{{title-grip|Grip}}} | ! {{{title-grip|Grip}}} | ||
! {{{title-origin|Origin}}} | ! {{{title-origin|Origin}}} | ||
{{# | {{#vardefine:i|1}}{{#while:|{{{barrel{{#var:i}}|}}}{{{mag{{#var:i}}|}}}{{{string{{#var:i}}|}}}{{{arrow{{#var:i}}|}}}{{{haft{{#var:i}}|}}}{{{blade{{#var:i}}|}}}{{{guard{{#var:i}}|}}}{{{1stperk{{#var:i}}|}}}{{{2ndperk{{#var:i}}|}}}{{{stock{{#var:i}}|}}}{{{grip{{#var:i}}|}}}{{{origin{{#var:i}}|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} {{#var: | {{!}} {{{barrel{{#var:i}}|}}} {{!}}{{!}} {{{mag{{#var:i}}|}}} {{!}}{{!}} {{{string{{#var:i}}|}}} {{!}}{{!}} {{{arrow{{#var:i}}|}}} {{!}}{{!}} {{{haft{{#var:i}}|}}} {{!}}{{!}} {{{blade{{#var:i}}|}}} {{!}}{{!}} {{{guard{{#var:i}}|}}} {{!}}{{!}} {{{1stperk{{#var:i}}|}}} {{!}}{{!}} {{{2ndperk{{#var:i}}|}}} {{!}}{{!}} {{{stock{{#var:i}}|}}} {{!}}{{!}} {{{grip{{#var:i}}|}}} {{!}}{{!}} {{{origin{{#var:i}}|}}} | ||
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | |||
}} | }} | ||
|}<templatestyles src="PerkTable.css"/></includeonly><noinclude> | |}<templatestyles src="PerkTable.css"/></includeonly><noinclude> | ||
==Usage instructions== | ==Usage instructions== | ||
Use the syntax below for any amount of numbered groups. Any unused parameters can be completely removed | Use the syntax below for any amount of numbered groups. Any unused parameters can be completely removed. If including light.gg links, use the format: <code><nowiki>[[lightgg:<id>|<perk name>]]</nowiki></code> | ||
<pre> | <pre> |
Revision as of 17:57, January 17, 2024
Usage instructions
Use the syntax below for any amount of numbered groups. Any unused parameters can be completely removed. If including light.gg links, use the format: [[lightgg:<id>|<perk name>]]
{{PerkTable |barrel1= |mag1= |string1= |arrow1= |haft1= |blade1= |guard1= |1stperk1= |2ndperk1= |stock1= |grip1= |origin1= |barrel2= |mag2= |string2= |arrow2= |haft2= |blade2= |guard2= |1stperk2= |2ndperk2= |stock2= |grip2= |origin2= }}
Any of the column titles can be changed by setting the title-<var>
parameter (e.g. title-barrel
).