Template:Weapon row
From Another Eden Wiki
Description[edit]
Template to be used as table row in queries for Template:Weapon cargo table. There is set of parameters that can be used in queries by adding field ,CONCAT("sometext")=ParameterName List:
- EffectsOff - Turns OFF effects of upgrades from Obtain column.
- MaterialsOff - Turns OFF material column
- NamedImage - Icon and name in 1 column
- CharTableID - ._ID or character entry in Characters DB table
- BgColor - HTML collors
- Type - if Type field is omited, there wont be type column with icon.
Examples of paramenters Use[edit]
All parameters are
Generic case[edit]
Generic case: {{Weapon row|Name=Aceto Vita|Type=Staff|Id=211000191|Link=Aceto Vita|Level=60|Atk=190|MAtk=23|Obtain=Description|Git=100}}
Aceto Vita | 60 | 190 | 23 | Description
|
Git x100 [VH] Hard Lens x10 [VH] Engine Part x7 [VH] High Speed Sensor x3
|
EffectsOff=Set[edit]
{{Weapon row|Name=Aceto Vita|Type=Staff|Id=211000191|Link=Aceto Vita|Level=60|Atk=190|MAtk=23|Obtain=Description|Git=100 |EffectsOff=Set}}
Aceto Vita | 60 | 190 | 23 | Description | Git x100 [VH] Hard Lens x10 [VH] Engine Part x7 [VH] High Speed Sensor x3
|
MaterialsOff=Set[edit]
{{Weapon row|Name=Dark Heavenly Tears|Id=211049001|Link=Dark Heavenly Tears|Level=60|Atk=190|MAtk=23|Obtain=Description |MaterialsOff=Set}}
Dark Heavenly Tears | 60 | 190 | 23 | Description
|
NamedImage=Set[edit]
{{Weapon row|Name=Dark Heavenly Tears|Id=211049001|Link=Dark Heavenly Tears|Level=60|Atk=190|MAtk=23|Obtain=Description|MaterialsOff=True |NamedImage=Set}}
60 | 190 | 23 | Description
|
CharTableID=ID[edit]
CharTableID=_ID field of DB table Characters entry {{Weapon row|Name=Dark Heavenly Tears|Id=211049001|Link=Dark Heavenly Tears|Level=60|Atk=190|MAtk=23|Obtain=Description|MaterialsOff=True|NamedImage=True |Type=Lance |CharTableID=7}}
60 | 190 | 23 | Description
|
Dark Heavenly Tears (enemy) |
Ommit "Type=" and BgColor=Green[edit]
removes Type column with icon {{Weapon row|CharTableID=7|Name=Dark Heavenly Tears|Id=211049001|Link=Dark Heavenly Tears|Level=60|Atk=190|MAtk=23|Obtain=Description|MaterialsOff=True |BgColor=LightGreen}}
Dark Heavenly Tears | 60 | 190 | 23 | Description
|
Dark Heavenly Tears (enemy) |