Template:Outfit Set: Difference between revisions

From Love and Deepspace Wiki
Content added Content deleted
No edit summary
mNo edit summary
 
(22 intermediate revisions by the same user not shown)
Line 7: Line 7:
|rarity=String
|rarity=String
|outfitCharacter=String
|outfitCharacter=String
|companion=String
|isDailyOutfit=Boolean
|isDailyOutfit=Boolean
|isCombatOutfit=Boolean
|isCombatOutfit=Boolean
|description=Wikitext (size=500)
|description=Wikitext (size=500)
|source=Wikitext
|source=Wikitext
|part1=String
|part2=String
|part3=String
|frontImage=String
|frontImage=String
|backImage=String
|backImage=String
Line 19: Line 17:
|rightImage=String
|rightImage=String
|releaseDate=DateTime
|releaseDate=DateTime
|specialColor=String
}}</noinclude><includeonly><templatestyles src="Template:Outfit Set/styles.css" /><!--
}}</noinclude><includeonly><!--


### Template Display
### Template Display


--><div class="outfit-card">
--><div class="item-card">
<div class="outfit-card-main">
<div class="item-card-main">
<div class="outfit-card-header">
<div class="item-card-header">
<div class="outfit-card-header-img">
<div class="item-card-header-img">
{{Item icon|rarity={{{rarity|}}}|name={{{name|}}}}}
{{Icon|rarity={{{rarity|}}}|name={{{name|}}}}}
</div>
</div>
<div class="outfit-card-header-text">
<div class="item-card-header-text">
'''[[{{{name|}}}]]'''<!--
'''[[{{{name|}}}]]'''<!--
--><div class="outfit-card-header-tags"><!--
--><div class="item-card-header-tags"><!--
-->{{#if:{{{isDailyOutfit|}}} | {{Tag|Daily}} }}<!--
-->{{#if:{{{isDailyOutfit|}}} | {{Tag|Daily}} }}<!--
-->{{#if:{{{isCombatOutfit|}}} | {{Tag|Combat}} }}
-->{{#if:{{{isCombatOutfit|}}} | {{Tag|Combat}} }}
Line 37: Line 36:
</div>
</div>
</div>
</div>
<div class="outfit-card-description">
<div class="item-card-description">
{{#if:{{{companion|}}} | {{#ifeq:{{{outfitCharacter|}}} | MC | ''This outfit can only be used in combat with [[{{{companion|}}}]].''<br/><br/> }} }}{{{description|}}}
{{{description|}}}
</div>
</div>
</div>
</div>
<div class="outfit-card-source">
<div class="item-card-source">
'''Sources'''
'''Sources'''


{{{source|}}}
{{{source|}}}
</div>{{#if:{{{alternateColors|}}} | <nowiki/>
<div class="item-alternate-colors">
'''Alternate Color'''

* [[{{{alternateColors|}}}]]
</div>
</div>
}}
</div><!--
</div>{{#ifeq:{{{displayOnly|0}}} | 1 | |<!--
-->{{#vardefine:frontImage|{{#invoke:String|replace|{{{name|}}}|:|}} front.png}}<!--
-->[[{{{name|{{PAGENAME}}}}}]] is one of {{{outfitCharacter|}}}'s outfit sets in ''{{Gamename}}''.

{{#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 56: 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=name="{{{part1|}}}" OR name="{{{part2|}}}" OR name="{{{part3|}}}"
|q?where=outfitSet="{{{name|{{PAGENAME}}}}}"
|q?orderBy=category ASC
|q?orderBy=category ASC
|template=Item
|template=Item
Line 77: Line 84:
|rarity={{{rarity|}}}
|rarity={{{rarity|}}}
|outfitCharacter={{{outfitCharacter|}}}
|outfitCharacter={{{outfitCharacter|}}}
|companion={{{companion|}}}
|isDailyOutfit={{{isDailyOutfit|1}}}
|isDailyOutfit={{{isDailyOutfit|1}}}
|isCombatOutfit={{{isCombatOutfit|}}}
|isCombatOutfit={{{isCombatOutfit|}}}
|description={{{description|}}}
|description={{{description|}}}
|source={{{source|}}}
|source={{{source|}}}
|part1={{{part1|}}}
|part2={{{part2|}}}
|part3={{{part3|}}}
|frontImage={{#var:frontImage}}
|frontImage={{#var:frontImage}}
|backImage={{#var:backImage}}
|backImage={{#var:backImage}}
Line 89: Line 94:
|rightImage={{#var:rightImage}}
|rightImage={{#var:rightImage}}
|releaseDate={{{releaseDate|}}}
|releaseDate={{{releaseDate|}}}
|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.