Difference between revisions of "Template:PP regen"

From PSU Cyril Wiki
Jump to: navigation, search
(Added grade parameter so we can't have mistaken weapon appearances for types.)
m
Line 10: Line 10:
 
|#default= --}}
 
|#default= --}}
 
|#default= --}} || style="background:#f2f2f2; width:25px" | '''RA''' || style="width:25px" | {{#switch: {{{Category|}}}
 
|#default= --}} || style="background:#f2f2f2; width:25px" | '''RA''' || style="width:25px" | {{#switch: {{{Category|}}}
|Spear|Saber|Dagger|Claw|Rifle|Shotgun|Grenade|Twin handgun|Handgun|Machinegun|RCSM= {{#if: {{{RA|}}}|{{{RA}}}|?}}
+
|Saber|Claw|Rifle|Shotgun|Grenade|Twin handgun|Handgun|Machinegun|RCSM= {{#switch: {{{Grade|}}}
 +
|C|B= {{#if: {{{RA|}}}|{{{RA}}}|?}}
 +
|#default= --}}
 +
|Spear|Dagger= {{#switch: {{{Grade|}}}
 +
|C= {{#if: {{{RA|}}}|{{{RA}}}|?}}
 +
|#default= --}}
 
|#default= --}} || style="background:#f2f2f2; width:25px" | '''FO''' || style="width:25px" | {{#switch: {{{Category|}}}
 
|#default= --}} || style="background:#f2f2f2; width:25px" | '''FO''' || style="width:25px" | {{#switch: {{{Category|}}}
|Spear|Twin dagger|Saber|Dagger|Longbow|Handgun|Machinegun|RCSM|Rod|Wand|TCSM= {{#if: {{{FO|}}}|{{{FO}}}|?}}
+
|Twin dagger|Saber|Dagger|Longbow|Handgun|RCSM|Rod|Wand|TCSM= {{#switch: {{{Grade|}}}
 +
|C|B= {{#if: {{{FO|}}}|{{{FO}}}|?}}
 +
|#default= --}}
 +
|Spear|Machinegun= {{#switch: {{{Grade|}}}
 +
|C= {{#if: {{{FO|}}}|{{{FO}}}|?}}
 +
|#default= --}}
 
|#default= --}} || style="background:#f2f2f2; width:25px" | '''FI''' || style="width:25px" | {{#switch: {{{Category|}}}
 
|#default= --}} || style="background:#f2f2f2; width:25px" | '''FI''' || style="width:25px" | {{#switch: {{{Category|}}}
|Sword|Knuckles|Spear|Double saber|Twin saber|Twin dagger|Twin claw|Saber|Dagger|Claw|Slicer|Twin handgun|Handgun|Crossbow|Machinegun|RCSM= {{#if: {{{FI|}}}|{{{FI}}}|?}}
+
|Sword|Knuckles|Spear|Twin claw|Claw|Slicer|Crossbow|RCSM= {{#switch: {{{Grade|}}}
 +
|C|B|A= {{#if: {{{FI|}}}|{{{FI}}}|?}}
 +
|#default= --}}
 +
|Double saber|Twin saber|Twin dagger|Saber|Dagger|Twin handgun|Handgun|Machinegun= {{#switch: {{{Grade|}}}
 +
|S|S2= {{#if: {{{FI|}}}|{{{FI}}}|?}}
 +
|#default= --}}
 
|#default= --}}
 
|#default= --}}
 
|-  
 
|-  
Line 22: Line 37:
 
|-  
 
|-  
 
| style="background:#f2f2f2" | '''FM''' || {{#switch: {{{Category|}}}
 
| style="background:#f2f2f2" | '''FM''' || {{#switch: {{{Category|}}}
|Sword|Spear|Double saber|Axe= {{#if: {{{FM|}}}|{{{FM}}}|?}}
+
|Sword|Spear|Double saber|Axe= {{#switch: {{{Grade|}}}
 +
{{#if: {{{FM|}}}|{{{FM}}}|?}}
 +
|#default= --}}
 
|#default= --}} || style="background:#f2f2f2" | '''GM''' || {{#switch: {{{Category|}}}
 
|#default= --}} || style="background:#f2f2f2" | '''GM''' || {{#switch: {{{Category|}}}
|Rifle|Shotgun|Laser cannon|Twin handgun= {{#if: {{{GM|}}}|{{{GM}}}|?}}
+
|Rifle|Shotgun|Laser cannon|Twin handgun= {{#switch: {{{Grade|}}}
 +
|S|S2= {{#if: {{{GM|}}}|{{{GM}}}|?}}
 +
|#default= --}}
 
|#default= --}} || style="background:#f2f2f2" | '''MF''' || {{#switch: {{{Category|}}}
 
|#default= --}} || style="background:#f2f2f2" | '''MF''' || {{#switch: {{{Category|}}}
|Rod|Wand|TCSM= {{#if: {{{MF|}}}|{{{MF}}}|?}}
+
|Rod|Wand|TCSM= {{#switch: {{{Grade|}}}
 +
|S|S2= {{#if: {{{MF|}}}|{{{MF}}}|?}}
 +
|#default= --}}
 
|#default= --}} || style="background:#f2f2f2" | '''AM''' || --
 
|#default= --}} || style="background:#f2f2f2" | '''AM''' || --
 
|}
 
|}

Revision as of 15:50, 15 February 2011

PP regeneration rates
HU -- RA -- FO -- FI --
GT -- WT -- FF -- FG --
FT -- PT -- AF -- AT --
FM -- GM -- MF -- AM --

Blank template

{{PP regen
|Category= 
|Grade= 
|HU= 
|RA= 
|FO= 
|FI= 
|GT= 
|WT= 
|FF= 
|FG= 
|FT= 
|PT= 
|AF= 
|AT= 
|FM= 
|GM= 
|MF= 
|AM= }}

Template parameters

  • Category: Enter the name of the weapon category here.
  • Grade: Identify the weapon's grade here using C, B, A, S or S2.
  • Type abbreviation: Enter the PP regeneration rate for each respective type here.

Test

PP regeneration rates
HU RA FO FI
GT WT FF FG
FT PT AF AT
FM -- GM -- MF -- AM --