Template:Outfit Set: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
No edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
|rarity=String
|rarity=String
|outfitCharacter=String
|outfitCharacter=String
|exclusiveCompanion=String
|companion=String
|isDailyOutfit=Boolean
|isDailyOutfit=Boolean
|isCombatOutfit=Boolean
|isCombatOutfit=Boolean
Line 37: Line 37:
</div>
</div>
<div class="item-card-description">
<div class="item-card-description">
{{#if:{{{exclusiveCompanion|}}} | ''This outfit can only be used in combat with [[{{{exclusiveCompanion|}}}]].''<br/><br/> }}{{{description|}}}
{{#if:{{{companion|}}} | {{#ifeq:{{{outfitCharacter|}}} | MC | ''This outfit can only be used in combat with [[{{{companion|}}}]].''<br/><br/> }} }}{{{description|}}}
</div>
</div>
</div>
</div>
Line 51: Line 51:
</div>
</div>
}}
}}
</div><!--
</div>{{#ifeq:{{{displayOnly|0}}} | 1 | |<!--
-->[[{{{name|{{PAGENAME}}}}}]] is one of {{{outfitCharacter|}}}'s outfit sets in ''{{Gamename}}''.
-->{{#vardefine:frontImage|{{#invoke:String|replace|{{{name|}}}|:|}} front.png}}<!--

{{#vardefine:frontImage|{{#invoke:String|replace|{{{name|}}}|:|}} front.png}}<!--
-->{{#vardefine:backImage|{{#invoke:String|replace|{{{name|}}}|:|}} back.png}}<!--
-->{{#vardefine:backImage|{{#invoke:String|replace|{{{name|}}}|:|}} back.png}}<!--
-->{{#vardefine:leftImage|{{#invoke:String|replace|{{{name|}}}|:|}} left.png}}<!--
-->{{#vardefine:leftImage|{{#invoke:String|replace|{{{name|}}}|:|}} left.png}}<!--
Line 61: Line 63:
{{#invoke:CargoQuery|main
{{#invoke:CargoQuery|main
|q?tables=Item
|q?tables=Item
|q?fields=_pageName=name,rarity=rarity,category=category,tag1=tag1,tag2=tag2,tag3=tag3,description=description,source=source,CONCAT('0')=cargoStore
|q?fields=_pageName=name,rarity=rarity,category=category,tag1=tag1,tag2=tag2,tag3=tag3,description=description,source=source,CONCAT('1')=displayOnly
|q?where=outfitSet="{{{name|{{PAGENAME}}}}}"
|q?where=outfitSet="{{{name|{{PAGENAME}}}}}"
|q?orderBy=category ASC
|q?orderBy=category ASC
Line 82: Line 84:
|rarity={{{rarity|}}}
|rarity={{{rarity|}}}
|outfitCharacter={{{outfitCharacter|}}}
|outfitCharacter={{{outfitCharacter|}}}
|companion={{{companion|}}}
|exclusiveCompanion={{{exclusiveCompanion|}}}
|isDailyOutfit={{{isDailyOutfit|1}}}
|isDailyOutfit={{{isDailyOutfit|1}}}
|isCombatOutfit={{{isCombatOutfit|}}}
|isCombatOutfit={{{isCombatOutfit|}}}
Line 93: Line 95:
|releaseDate={{{releaseDate|}}}
|releaseDate={{{releaseDate|}}}
|specialColor={{{specialColor|}}}
|specialColor={{{specialColor|}}}
}}[[Category:Outfit Sets]]{{#if:{{{outfitCharacter|}}} | [[Category:{{{outfitCharacter|}}} Outfit Sets]] }}
}}</includeonly>
}}</includeonly>

Latest revision as of 02:19, 17 February 2024

Documentation

Description[edit source]

Template used to format the Outfit Set pages. This also stores an entry into both the Item and Outfit Set Cargo table, and you need both if you wish to query Outfit Set information.

Example[edit source]

MC Outfit[edit source]

{{Outfit Set
|name=Set: Nightwalker
|outfitCharacter=MC
|exclusiveCompanionOutfit=Rafayel: Abysswalker
|rarity=SSR
|isDailyOutfit=1
|isCombatOutfit=1
|description=Rafayel: Outfit for your Companion, Abysswalker.<br/>Keeps a low profile, suitable for night traveling.
|source=
* Shop - Crystal x490
|releaseDate=
|alternateColors=Set: Golden Night
}}

Companion Outfit[edit source]

{{Outfit Set
|name=Set: Abysswalker
|rarity=SSR
|outfitCharacter=Rafayel
|isDailyOutfit=1
|isCombatOutfit=1
|description=The outfit of Rafayel: Abysswalker. Possesses an aura of mystique and danger, suitable for infiltrations.
|source=
* Obtain both [[Rafayel: Deep Sea Promise]] and [[Rafayel: Deep Sea Riches]]
|releaseDate=
|alternateColors=Set: Radiant Night
}}

This template defines the table "OutfitSet". View table.