Difference between revisions of "User:Caledor92/Sandbox2"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
>Caledor92
Line 1: Line 1:
{{User:Caledor92/Sandbox1
+
<noinclude>{{doc}}[[Category:Templates]]<!--
|Obtain=[[Shop#Imperial Onslaught|Imperial Onslaught Treasure Trade]]
 
|Name=Bow Dojo
 
|Id=100506
 
|Description=A training area built to hone one's skills with a bow. Use it to boosts the stats of bow-wielding adventures.
 
|Type=Adventurer
 
|Size=3x3
 
|ReleaseDate=September 27, 2018
 
|Images=
 
{{#tag:tabber|
 
Lv1=
 
[[File:TW02_100506_IMG_01_01.png|120px]]
 
{{!}}-{{!}}
 
6=
 
[[File:TW02_100506_IMG_01_02.png|120px]]
 
{{!}}-{{!}}
 
11=
 
[[File:TW02_100506_IMG_01_03.png|120px]]
 
{{!}}-{{!}}
 
16=
 
[[File:TW02_100506_IMG_02_01.png|120px]]
 
{{!}}-{{!}}
 
21=
 
[[File:TW02_100506_IMG_02_02.png|120px]]
 
{{!}}-{{!}}
 
26=
 
[[File:TW02_100506_IMG_02_03.png|120px]]
 
{{!}}-{{!}}
 
31=
 
[[File:TW02_100506_IMG_03_01.png|120px]]
 
}}
 
  
|ShortSummary=The '''Bow Dojo''' is an adventurer [[Facilities|facility]] that boosts the stats of bow-wielding [[adventurers]].<br/>
+
// Cargo Declare
The first Bow Dojo can be obtained in the Imperial Onslaught [[Shop#Treasure Trade|Treasure Trade]] for [[File:201009001.png|19px]] [[Dyrenell Aes]] x15, and a second Dojo can be obtained for [[File:201009001.png|19px]] [[Dyrenell Aes]] x30, [[File:201009002.png|19px]] [[Dyrenell Argenteus]] x15, and [[File:202005061.png|19px]] [[Bow Tablet]] x2.
+
-->{{#cargo_declare:
|UpgradeTable={{DojoTable‎|Item1=Vermilion Insignia|Item2=Royal Vermilion Insignia}}
+
_table=Abilities
|OtherInfo=
+
|Id=Integer
|Available=2}}
+
|GenericName=String
 +
|Name=String
 +
|Details=Wikitext (size=3000)
 +
|AbilityIconName=String
 +
|AbilityGroup=Integer
 +
|PartyPowerWeight=Integer
 +
|AbilityLimitedGroupId1=Integer
 +
|AbilityLimitedGroupId2=Integer
 +
|AbilityLimitedGroupId3=Integer
 +
}}</noinclude><includeonly><!--
 +
 
 +
// Storing values to Cargo Table
 +
-->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#cargo_store:
 +
  _table=Abilities
 +
|Id={{{Id|}}}
 +
|GenericName={{{GenericName|}}}
 +
|Name={{{Name|}}}
 +
|Details={{{Details|}}}
 +
|AbilityIconName={{#replace:{{{AbilityIconName|}}}| |_}}
 +
|AbilityGroup={{{AbilityGroup|}}}
 +
|PartyPowerWeight={{{PartyPowerWeight|}}}
 +
|AbilityLimitedGroupId1={{{AbilityLimitedGroupId1|}}}
 +
|AbilityLimitedGroupId2={{{AbilityLimitedGroupId2|0}}}
 +
|AbilityLimitedGroupId3={{{AbilityLimitedGroupId3|0}}}
 +
}}
 +
| }}<!--
 +
 
 +
// Template Display Content
 +
--><div class="panel" style="margin:auto;max-width:800px">
 +
<div class="panel-heading">{{{Name|{{PAGENAME}}}}}</div>
 +
<div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center">
 +
<div style="width:350px;text-align:center">{{#ifexist: File:{{{AbilityIconName|}}}.png | [[File:{{{AbilityIconName|}}}.png|60px]] | [[File:Unknown.png|160px|link=File:{{{AbilityIconName|}}}.png]] }}</div>
 +
<div class="skill-levels skill-details" style="flex-grow:1;text-align:center">
 +
<p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p>
 +
<div style="flex-grow:1;text-align:center">
 +
<div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Details|No details yet.}}}</div>
 +
</div>
 +
 
 +
{{TermDescription|Might Value|{{{PartyPowerWeight|}}} }}
 +
{{TermDescription|Generic Name|[[{{{GenericName|}}}]] }}
 +
{{TermDescription|Wyrmprint Ability Cap|{{#cargo_query:tables=AbilityLimitedGroup|fields=AbilityLimitedText|where=Id="{{{AbilityLimitedGroupId1|}}}"|default=N/A}}}}
 +
</div>
 +
</div>
 +
<div style="padding:1em;">
 +
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Adventurers With This Ability</p>
 +
{{#cargo_query:tables=Adventurers|fields=CONCAT('[[File:',Id,' 0',VariationId,' r0',Rarity,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=Abilities11= "{{{Id|}}}" OR Abilities12= "{{{Id|}}}" OR Abilities13= "{{{Id|}}}" OR Abilities14= "{{{Id|}}}" OR Abilities21= "{{{Id|}}}" OR Abilities22= "{{{Id|}}}" OR Abilities23= "{{{Id|}}}" OR Abilities24= "{{{Id|}}}" OR Abilities31= "{{{Id|}}}" OR Abilities32= "{{{Id|}}}" OR Abilities33= "{{{Id|}}}" OR Abilities34= "{{{Id|}}}"|format=ul|group by=_pageName|default=
 +
:''There are no adventurers with this ability.''|order by= ElementalTypeId ASC, WeaponTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
 +
 
 +
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Wyrmprints With This Ability</p>
 +
{{#cargo_query:tables=Wyrmprints|fields=CONCAT('[[File:',BaseId,' 0',VariationId,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=Abilities11= "{{{Id|}}}" OR Abilities12= "{{{Id|}}}" OR Abilities13= "{{{Id|}}}" OR Abilities21= "{{{Id|}}}" OR Abilities22= "{{{Id|}}}" OR Abilities23= "{{{Id|}}}" OR Abilities31= "{{{Id|}}}" OR Abilities32= "{{{Id|}}}" OR Abilities33= "{{{Id|}}}"|format=ul|group by=_pageName|default=
 +
:''There are no wyrmprints with this ability.''|order by= Rarity DESC, ReleaseDate DESC, BaseId DESC}}
 +
 
 +
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dragons With This Ability</p>
 +
{{#cargo_query:tables=Dragons|fields=CONCAT('[[File:',BaseId,' 0',VariationId,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=Abilities11= "{{{Id|}}}" OR Abilities12= "{{{Id|}}}" OR Abilities21= "{{{Id|}}}" OR Abilities22= "{{{Id|}}}"|format=ul|group by=_pageName|default=
 +
:''There are no dragons with this ability.''|order by= ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
 +
 
 +
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Weapons With This Ability</p>
 +
{{#cargo_query:tables=Weapons|fields=CONCAT('[[File:',BaseId,' 01 ',FormId,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=Abilities11= "{{{Id|}}}" OR Abilities21= "{{{Id|}}}"|format=ul|group by=_pageName|default=
 +
:''There are no weapons with this ability.''|order by= ElementalTypeId ASC, TypeId ASC, Rarity DESC, Id DESC, WeaponName ASC}}
 +
 
 +
[[Category:Abilities]][[Category:{{{GenericName|}}} Ability]]</includeonly>

Revision as of 18:33, 20 October 2019

Error: #cargo_declare must be called from a template page.