Template:PerkTable: Difference between revisions

From Destinypedia, the Destiny wiki

(updated instructions)
No edit summary
Line 1: Line 1:
{| style="text-align:center;"
<includeonly>{| class="wikitable" style="text-align:center"
! style="border-width: 0; width:200px; background:#F2F3F4; border: 1px solid; color:black;" | Barrel
! Barrel
! style="border-width: 0; width:200px; background:#F2F3F4; border: 1px solid; color:black;" | Magazine
! Magazine
! style="border-width: 0; width:200px; background:#F2F3F4; border: 1px solid; color:black;" | Perk 1
! Perk 1
! style="border-width: 0; width:200px; background:#F2F3F4; border: 1px solid; color:black;" | Perk 2
! Perk 2
! style="border-width: 0; width:200px; background:#F2F3F4; border: 1px solid; color:black;" | Origin
! Origin
|-
{{#forargs:barrel|key|value|<nowiki/>
|{{{barrel1|}}}||{{{mag1|}}}||{{{1stperk1|}}}||{{{2ndperk1|}}}||{{{origin1|}}}
{{!}}-
|-
{{!}} {{#var:value}} {{!}}{{!}} {{{mag{{#var:key}}|}}} {{!}}{{!}} {{{1stperk{{#var:key}}|}}} {{!}}{{!}} {{{2ndperk{{#var:key}}|}}} {{!}}{{!}} {{{origin{{#var:key}}|}}}
|{{{barrel2|}}}||{{{mag2|}}}||{{{1stperk2|}}}||{{{2ndperk2|}}}||{{{origin2|}}}
}}
|-
|}</includeonly><noinclude>
|{{{barrel3|}}}||{{{mag3|}}}||{{{1stperk3|}}}||{{{2ndperk3|}}}||{{{origin3|}}}
==Usage instructions==
|-
Paste the following code into the perks section of a weapon page. If including light.gg links, use the format: <code><nowiki>[[lightgg:<id>|<perk name>]]</nowiki></code>
|{{{barrel4|}}}||{{{mag4|}}}||{{{1stperk4|}}}||{{{2ndperk4|}}}
 
|-
<pre>
|{{{barrel5|}}}||{{{mag5|}}}||{{{1stperk5|}}}||{{{2ndperk5|}}}
{{PerkTable
|-
|{{{barrel6|}}}||{{{mag6|}}}||{{{1stperk6|}}}||{{{2ndperk6|}}}
|-
|{{{barrel7|}}}||{{{mag7|}}}||{{{1stperk7|}}}||{{{2ndperk7|}}}
|-
|{{{barrel8|}}}||{{{mag8|}}}||{{{1stperk8|}}}||{{{2ndperk8|}}}
|-
|{{{barrel9|}}}||{{{mag9|}}}||{{{1stperk9|}}}||{{{2ndperk9|}}}
|-
|{{{barrel10|}}}||{{{mag10|}}}||{{{1stperk10|}}}||{{{2ndperk10|}}}
|}<noinclude>
{{Clear}}
==Usage Instructions==
Paste the following code into the perks section of a weapon page, filling all fields (any blank ones that aren't at the end of a row can be filled with a zero-width space instead):<br>
<span><i>If including light.gg links enter in the format: [<link> <perk name>]</i></span>
<pre>{{PerkTable
|barrel1=
|barrel1=
|mag1=
|mag1=
Line 74: Line 58:
|1stperk10=
|1stperk10=
|2ndperk10=
|2ndperk10=
}}</pre>
}}
</pre>


[[Category:Content_templates]]</noinclude>
[[Category:Content templates]]</noinclude>

Revision as of 10:48, August 22, 2022

Usage instructions

Paste the following code into the perks section of a weapon page. If including light.gg links, use the format: [[lightgg:<id>|<perk name>]]

{{PerkTable
|barrel1=
|mag1=
|1stperk1=
|2ndperk1=
|origin1=
|barrel2=
|mag2=
|1stperk2=
|2ndperk2=
|origin2=
|barrel3=
|mag3=
|1stperk3=
|2ndperk3=
|origin3=
|barrel4=
|mag4=
|1stperk4=
|2ndperk4=
|barrel5=
|mag5=
|1stperk5=
|2ndperk5=
|barrel6=
|mag6=
|1stperk6=
|2ndperk6=
|barrel7=
|mag7=
|1stperk7=
|2ndperk7=
|barrel8=
|mag8=
|1stperk8=
|2ndperk8=
|barrel9=
|mag9=
|1stperk9=
|2ndperk9=
|barrel10=
|mag10=
|1stperk10=
|2ndperk10=
}}