Template:UniqueWeapon: Difference between revisions

Language tag for NameJP
No edit summary
(Language tag for NameJP)
 
(7 intermediate revisions by the same user not shown)
Line 1:
<templatestyles src="UniqueWeapon/weapon.css" />
<includeonly><table class="wikitable weapontable" {{#ifexpr: {{{StatBonusAtk|}}} > 0 and {{{StatBonusAtk100|}}} > 0 | data-attack-val1="{{{StatBonusAtk|}}}" data-attack-val100="{{{StatBonusAtk100|}}}" }} {{#ifexpr: {{{StatBonusHP|}}} > 0 and {{{StatBonusHP100|}}} > 0 | data-hp-val1="{{{StatBonusHP|}}}" data-hp-val100="{{{StatBonusHP100|}}}" }} {{#ifexpr: {{{StatBonusHealing|}}} > 0 and {{{StatBonusHealing100|}}} > 0 | data-healing-val1="{{{StatBonusHealing|}}}" data-healing-val100="{{{StatBonusHealing100|}}}" }} >
<includeonly><table class="wikitable weapontable">
<!--caption>Unique weapon</caption-->
<tr class="weapontable-summary">
<td colspan="7">[[File:Weapon_Icon_{{{CharacterIDCharacterId|}}}.png]]
{{#if: {{{NameEN|}}} | <span class="weapon-name-main">{{{NameEN|}}}</span> }}{{#if: {{{NameJP|}}} | <span class="weapon-name-sub" lang="ja">{{{NameJP|}}}</span> }}
<div class="weapon-description"><tabber>
English={{{DescriptionEN|}}}
Line 13:
</tr>
<tr>
<th colspan="7">Limit breaksRank</th>
</tr>
<tr>
<td class="rarity">{{RarityWeaponRarity|2}}</td>
<td colspan="6">{{{Rarity2Rank2|}}}</td>
</tr>
<tr>
<td class="rarity">{{RarityWeaponRarity|3}}</td>
<td colspan="6">{{{Rarity3Rank3|}}}</td>
</tr>
<!--
<tr>
<td>{{Rarity|4}}</td>
<td colspan="6">TBD</td>
</tr>
<tr>
<td>{{Rarity|5}}</td>
<td colspan="6">TBD</td>
</tr>
-->
<tr>
<th colspan="7">Stats</th>
</tr>
<tr>
<th>{{{StatBonusAtk100}}}</th>
<th>Level 1</th>
<th title="Maximum level at rank 1">Level 30</th>
<th title="Maximum level at rank 2">Level 40</th>
<th title="Maximum level at rank 3">Level 50</th>
<th class="tbd" title="Currently not attainable in the game">Level 60</th>
<th class="tbd" title="Currently not attainable in the game">Level 70</th>
Line 47 ⟶ 37:
{{#ifexpr: {{{StatBonusAtk|}}} > 0 and {{{StatBonusAtk100|}}} > 0 | {{UniqueWeaponDataRow|Attack| val1={{{StatBonusAtk|}}} | val100={{{StatBonusAtk100|}}} }} }}
{{#ifexpr: {{{StatBonusHP|}}} > 0 and {{{StatBonusHP100|}}} > 0 | {{UniqueWeaponDataRow|HP| val1={{{StatBonusHP|}}} | val100={{{StatBonusHP100|}}} }} }}
{{#ifexpr: {{{StatBonusHealing|}}} > 0 and {{{StatBonusHealing100|}}} > 0 | {{UniqueWeaponDataRow|Healing| val1={{{StatBonusHealing|}}} | val100={{{StatBonusHealing100|}}} }} }}
 
</table></includeonly>
<noinclude>
Line 54 ⟶ 43:
{
"params": {
"CharacterIDCharacterId": {
"type": "number",
"suggested": true
Line 74 ⟶ 63:
"suggested": true
},
"Rarity2Rank2": {
"description": "Effect at 2-star rarity",
"example": "Passive Skill changes to \"President's Dignity +\"",
"type": "string"
},
"Rarity3Rank3": {
"description": "Effect at 3-star rarity",
"example": "{{Icon|Urban|size=20}} Urban area affinity {{Affinity|SS}} SS",
"type": "string"
},
"Rarity4Rank4": {
"type": "string"
},
"Rarity5Rank5": {
"type": "string"
},
"StatBonusAtk": {
"description": "Attack stat bonus provided.at Comma-separated values for weapon levelslevel 1, 30, 40, 50, 60, 70",
"example": "162",589,737,884,1032,1179"
"type": "number"
},
"StatBonusAtk100": {
"description": "Attack stat bonus at level 100",
"example": "1621",
"type": "number"
},
"StatBonusHP": {
"description": "HP bonus provided. Comma-separatedat values for weapon levelslevel 1", 30, 40, 50, 60, 70"
"type": "number"
},
"StatBonusHP100": {
"description": "HP bonus provided at level 100",
"type": "number"
},
"StatBonusHealing": {
"description": "Healing stat bonus provided. Comma-separatedat values for weapon levelslevel 1", 30, 40, 50, 60, 70"
"type": "number"
},
"StatBonusHealing100": {
"description": "Healing stat bonus provided at level 100",
"type": "number"
}
},