Template:UniqueWeapon: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Language tag for NameJP)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="UniqueWeapon/weapon.css" />
<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>
<!--caption>Unique weapon</caption-->
<tr class="weapontable-summary">
<tr class="weapontable-summary">
<td colspan="7">[[File:Weapon_Icon_{{{CharacterID|}}}.png]]
<td colspan="7">[[File:Weapon_Icon_{{{CharacterId|}}}.png]]
{{#if: {{{NameEN|}}} | <span class="weapon-name-main">{{{NameEN|}}}</span> }}{{#if: {{{NameJP|}}} | <span class="weapon-name-sub">{{{NameJP|}}}</span> }}
{{#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>
<div class="weapon-description"><tabber>
English={{{DescriptionEN|}}}
English={{{DescriptionEN|}}}
Line 13: Line 13:
</tr>
</tr>
<tr>
<tr>
<th colspan="7">Limit breaks</th>
<th colspan="7">Rank</th>
</tr>
</tr>
<tr>
<tr>
<td class="rarity">{{Rarity|2}}</td>
<td class="rarity">{{WeaponRarity|2}}</td>
<td colspan="6">{{{Rarity2|}}}</td>
<td colspan="6">{{{Rank2|}}}</td>
</tr>
</tr>
<tr>
<tr>
<td class="rarity">{{Rarity|3}}</td>
<td class="rarity">{{WeaponRarity|3}}</td>
<td colspan="6">{{{Rarity3|}}}</td>
<td colspan="6">{{{Rank3|}}}</td>
</tr>
</tr>
<!--
<tr>
<td>{{Rarity|4}}</td>
<td colspan="6">TBD</td>
</tr>
<tr>
<td>{{Rarity|5}}</td>
<td colspan="6">TBD</td>
</tr>
-->
<tr>
<tr>
<th colspan="7">Stats</th>
<th colspan="7">Stats</th>
Line 39: Line 29:
<th></th>
<th></th>
<th>Level 1</th>
<th>Level 1</th>
<th>Level 30</th>
<th title="Maximum level at rank 1">Level 30</th>
<th>Level 40</th>
<th title="Maximum level at rank 2">Level 40</th>
<th>Level 50</th>
<th title="Maximum level at rank 3">Level 50</th>
<th class="tbd">Level 60</th>
<th class="tbd" title="Currently not attainable in the game">Level 60</th>
<th class="tbd">Level 70</th>
<th class="tbd" title="Currently not attainable in the game">Level 70</th>
</tr>
</tr>
{{#if: {{{StatBonusAtk|}}} | {{UniqueWeaponDataRow|Attack| {{{StatBonusAtk|}}} }} }}
{{#ifexpr: {{{StatBonusAtk|}}} > 0 and {{{StatBonusAtk100|}}} > 0 | {{UniqueWeaponDataRow|Attack| val1={{{StatBonusAtk|}}} | val100={{{StatBonusAtk100|}}} }} }}
{{#if: {{{StatBonusHP|}}} | {{UniqueWeaponDataRow|HP| {{{StatBonusHP|}}} }} }}
{{#ifexpr: {{{StatBonusHP|}}} > 0 and {{{StatBonusHP100|}}} > 0 | {{UniqueWeaponDataRow|HP| val1={{{StatBonusHP|}}} | val100={{{StatBonusHP100|}}} }} }}
{{#if: {{{StatBonusHealing|}}} | {{UniqueWeaponDataRow|Healing| {{{StatBonusHealing|}}} }} }}
{{#ifexpr: {{{StatBonusHealing|}}} > 0 and {{{StatBonusHealing100|}}} > 0 | {{UniqueWeaponDataRow|Healing| val1={{{StatBonusHealing|}}} | val100={{{StatBonusHealing100|}}} }} }}
</table></includeonly>
</table></includeonly>
<noinclude>
<templatedata>
{
"params": {
"CharacterId": {
"type": "number",
"suggested": true
},
"NameEN": {
"type": "string",
"suggested": true
},
"NameJP": {
"type": "string",
"suggested": true
},
"DescriptionEN": {
"type": "string",
"suggested": true
},
"DescriptionJP": {
"type": "string",
"suggested": true
},
"Rank2": {
"description": "Effect at 2-star rarity",
"example": "Passive Skill changes to \"President's Dignity +\"",
"type": "string"
},
"Rank3": {
"description": "Effect at 3-star rarity",
"example": "{{Icon|Urban|size=20}} Urban area affinity {{Affinity|SS}} SS",
"type": "string"
},
"Rank4": {
"type": "string"
},
"Rank5": {
"type": "string"
},
"StatBonusAtk": {
"description": "Attack stat bonus at level 1",
"example": "162",
"type": "number"
},
"StatBonusAtk100": {
"description": "Attack stat bonus at level 100",
"example": "1621",
"type": "number"
},
"StatBonusHP": {
"description": "HP bonus provided at level 1",
"type": "number"
},
"StatBonusHP100": {
"description": "HP bonus provided at level 100",
"type": "number"
},
"StatBonusHealing": {
"description": "Healing stat bonus provided at level 1",
"type": "number"
},
"StatBonusHealing100": {
"description": "Healing stat bonus provided at level 100",
"type": "number"
}
},
"description": "Displays unique weapon data",
"format": "block"
}
</templatedata>
</noinclude>

Latest revision as of 04:56, 29 April 2024


Displays unique weapon data

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
CharacterIdCharacterId

no description

Numbersuggested
NameENNameEN

no description

Stringsuggested
NameJPNameJP

no description

Stringsuggested
DescriptionENDescriptionEN

no description

Stringsuggested
DescriptionJPDescriptionJP

no description

Stringsuggested
Rank2Rank2

Effect at 2-star rarity

Example
Passive Skill changes to "President's Dignity +"
Stringoptional
Rank3Rank3

Effect at 3-star rarity

Example
{{Icon|Urban|size=20}} Urban area affinity {{Affinity|SS}} SS
Stringoptional
Rank4Rank4

no description

Stringoptional
Rank5Rank5

no description

Stringoptional
StatBonusAtkStatBonusAtk

Attack stat bonus at level 1

Example
162
Numberoptional
StatBonusAtk100StatBonusAtk100

Attack stat bonus at level 100

Example
1621
Numberoptional
StatBonusHPStatBonusHP

HP bonus provided at level 1

Numberoptional
StatBonusHP100StatBonusHP100

HP bonus provided at level 100

Numberoptional
StatBonusHealingStatBonusHealing

Healing stat bonus provided at level 1

Numberoptional
StatBonusHealing100StatBonusHealing100

Healing stat bonus provided at level 100

Numberoptional