Template:Furniture: Difference between revisions

Language tag for NameJP
No edit summary
(Language tag for NameJP)
 
(25 intermediate revisions by the same user not shown)
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" />
<includeonly><table class="wikitable furnituretable">{{#seo:
|title={{{NameEN|}}}
|title_mode=append
|keywords=Cafe,furniture,item,crafting,{{{NameEN|}}},{{{SeriesCollection|}}}
|description={{{NameEN|}}} is a {{{RankRarity|}}}-star {{{Subcategory|}}} {{{Category|}}} that can be placed in the Cafe. {{#if: {{{SeriesCollection|}}} | It is a part of {{{SeriesCollection|}}} seriescollection.}}
|image = {{{Icon|{{PAGENAMEE}}.png}}}
}}{{#cargo_store:_table=furniture}}<table class="wikitable furnituretable">
<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" lang="ja">{{{NameJP|}}}</span> }}
<div class="furniture-description"><tabber>English={{{DescriptionEN|}}}
|-|
English={{{DescriptionEN|}}}
Japanese={{{DescriptionJP|}}}</tabber></div>
|-|
Japanese={{{DescriptionJP|}}}
</tabber></div>
</td>
</tr>
Line 17 ⟶ 37:
</tr>
<tr>
<th>SeriesCollection</td>
<td colspan="3">{{{SeriesCollection|}}}</td>
</tr>
<tr>
<th>CharacterEvent interactionreward</td>
<td colspan="3">{{#if: {{{CharacterInteraction|}}} | [[{{{CharacterInteraction|}}}]] }}</td>
{{#seodpl:
| category = Events
| linksto = {{PAGENAME}}
| mode = none
| ordermethod = firstedit
|
}}</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>
 
</table>{{#ifeq:{{NAMESPACE}}||[[Category:Furniture]] {{#if: {{{SeriesCollection|}}} | [[Category:{{{SeriesCollection|}}}]]}} {{#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>