Template:Furniture: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
(Language tag for NameJP)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{#cargo_declare:
_table = furniture
|Id = Integer
|Rarity = Integer
|Comfort = Integer
|Category = String
|NameJP = String
|NameEN = String
|DescriptionJP = String (size=400)
|DescriptionEN = String (size=400)
|Collection = String
|Icon = File
|CharacterInteraction = String
}}
</noinclude>
<templatestyles src="Furniture/furniture.css" />
<templatestyles src="Furniture/furniture.css" />
<includeonly><table class="wikitable furnituretable">
<includeonly>{{#seo:
|title={{{NameEN|}}}
|title_mode=append
|keywords=Cafe,furniture,item,crafting,{{{NameEN|}}},{{{Collection|}}}
|description={{{NameEN|}}} is a {{{Rarity|}}}-star {{{Subcategory|}}} {{{Category|}}} that can be placed in the Cafe. {{#if: {{{Collection|}}} | It is a part of {{{Collection|}}} collection.}}
|image = {{{Icon|{{PAGENAMEE}}.png}}}
}}{{#cargo_store:_table=furniture}}<table class="wikitable furnituretable">
<tr class="furnituretable-summary">
<tr class="furnituretable-summary">
<td colspan="4">[[File:{{{Icon|}}}|center|{{{NameEN|}}}]]{{#if: {{{NameEN|}}} | <span class="furniture-name-main">{{{NameEN|}}}</span> }}{{#if: {{{NameJP|}}} | <span class="furniture-name-sub">{{{NameJP|}}}</span> }}
<td colspan="4">[[File:{{{Icon|}}}|center|{{{NameEN|}}}]]{{#if: {{{NameEN|}}} | <span class="furniture-name-main">{{{NameEN|}}}</span> }}{{#if: {{{NameJP|}}} | <span class="furniture-name-sub" lang="ja">{{{NameJP|}}}</span> }}
<div class="furniture-description"><tabber>
<div class="furniture-description"><tabber>English={{{DescriptionEN|}}}
|-|
English={{{DescriptionEN|}}}
Japanese={{{DescriptionJP|}}}</tabber></div>
|-|
Japanese={{{DescriptionJP|}}}
</tabber></div>
</td>
</td>
</tr>
</tr>
Line 20: Line 40:
<td colspan="3">{{{Collection|}}}</td>
<td colspan="3">{{{Collection|}}}</td>
</tr>
</tr>
<tr>
{{#if: {{{CharacterInteraction|}}} | <tr><th>Character interaction</td><td colspan="3">[[File:{{{CharacterInteraction|}}}.png|frameless|48px|alt={{{CharacterInteraction|}}}|link={{{CharacterInteraction|}}}|class=interaction-portrait]] [[{{{CharacterInteraction|}}}]]</td></tr> }}
<th>Event reward</td>
<td colspan="3">
</table>{{#ifeq:{{NAMESPACE}}||[[Category:Furniture]] {{#if: {{{Collection|}}} | [[Category:{{{Collection|}}}]]}} {{#ifeq:{{{Subcategory|}}}|trophy|[[Category:Raid Trophies]]}} }}{{#ifexist: Image:{{{Icon|{{PAGENAMEE}}.png}}} | {{#seo: |image = {{{Icon|{{PAGENAMEE}}.png}}} |image_alt = {{{NameEN|}}} }} | }}{{#seo:
{{#dpl:
|title={{{NameEN|}}}
| category = Events
|title_mode=append
| linksto = {{PAGENAME}}
|keywords=Cafe,furniture,item,crafting,{{{NameEN|}}},{{{Collection|}}}
| mode = none
|description={{{NameEN|}}} is a {{{Rarity|}}}-star {{{Subcategory|}}} {{{Category|}}} that can be placed in the Cafe. {{#if: {{{Collection|}}} | It is a part of {{{Collection|}}} collection.}}
| ordermethod = firstedit
}}</includeonly>
|
}}</td>
</tr>
{{#if: {{{CharacterInteraction|}}} | <tr><th>Character interaction</td><td colspan="3" class="related-characters">{{#if: {{#explode:{{{CharacterInteraction|}}}|,|0}} | <div>[[File:{{#explode:{{{CharacterInteraction|}}}|,|0}}.png|frameless|48px|alt={{#explode:{{{CharacterInteraction|}}}|,|0}}|link={{#explode:{{{CharacterInteraction|}}}|,|0}}|class=related-portrait]]&nbsp;[[{{#explode:{{{CharacterInteraction|}}}|,|0}}]]</div> }}{{#if: {{#explode:{{{CharacterInteraction|}}}|,|1}} | <div>[[File:{{#explode:{{{CharacterInteraction|}}}|,|1}}.png|frameless|48px|alt={{#explode:{{{CharacterInteraction|}}}|,|1}}|link={{#explode:{{{CharacterInteraction|}}}|,|1}}|class=related-portrait]]&nbsp;[[{{#explode:{{{CharacterInteraction|}}}|,|1}}]]</div> }}{{#if: {{#explode:{{{CharacterInteraction|}}}|,|2}} | <div>[[File:{{#explode:{{{CharacterInteraction|}}}|,|2}}.png|frameless|48px|alt={{#explode:{{{CharacterInteraction|}}}|,|2}}|link={{#explode:{{{CharacterInteraction|}}}|,|2}}|class=related-portrait]]&nbsp;[[{{#explode:{{{CharacterInteraction|}}}|,|2}}]]</div> }}</td></tr> }}
</table>{{#ifeq:{{NAMESPACE}}||[[Category:Furniture]] {{#if: {{{Collection|}}} | [[Category:{{{Collection|}}}]]}} {{#ifeq:{{{Subcategory|}}}|trophy|[[Category:Raid Trophies]]}} }}</includeonly>

Latest revision as of 05:05, 29 April 2024

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