Template:Furniture: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
(initial version of Furniture template)
(Language tag for NameJP)
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<templatestyles src="UniqueWeapon/furniture.css" />
{{#cargo_declare:
<includeonly><table class="wikitable furnituretable">
_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" />
<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 17: Line 37:
</tr>
</tr>
<tr>
<tr>
<th>Series</td>
<th>Collection</td>
<td colspan="3">{{{Series|}}}</td>
<td colspan="3">{{{Collection|}}}</td>
</tr>
</tr>
<tr>
<tr>
<th>Character interaction</td>
<th>Event reward</td>
<td colspan="3">{{#if: {{{CharacterInteraction|}}} | [[{{{CharacterInteraction|}}}]] }}</td>
<td colspan="3">
{{#dpl:
| category = Events
| linksto = {{PAGENAME}}
| mode = none
| ordermethod = firstedit
|
}}</td>
</tr>
</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: {{{Series|}}} | [[Category:{{{Series|}}}]]}} }}
</table>{{#ifeq:{{NAMESPACE}}||[[Category:Furniture]] {{#if: {{{Collection|}}} | [[Category:{{{Collection|}}}]]}} {{#ifeq:{{{Subcategory|}}}|trophy|[[Category:Raid Trophies]]}} }}</includeonly>
{{#ifexist: Image:{{{Icon|{{PAGENAMEE}}.png}}} | {{#seo: |image = {{{Icon|{{PAGENAMEE}}.png}}} |image_alt = {{{NameEN|}}} }} | }}
{{#seo:
|title={{{NameEN|}}}
|title_mode=append
|keywords=Cafe,furniture,item,crafting,{{{NameEN|}}},{{{Series|}}}
|description={{{NameEN|}}} is a {{{Rank|}}}-star {{{Subcategory|}}} {{{Category|}}} that can be placed in the Cafe. {{#if: {{{Series|}}} | It is a part of {{{Series|}}} series.}}
}}</includeonly>

Latest revision as of 05:05, 29 April 2024

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