Template:Furnishing: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
(Created page with "<noinclude>{{doc}}Category:Templates<!-- ### Cargo Declare -->{{#cargo_declare:_table=Furnishing |name=String |icon=String |placedImg=String |absentImg=String |descripti...")
 
imported>Harmonea
(+var)
 
(23 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|icon=String
|icon=String
|placedImg=String
|placedImg=String
|absentImg=String
|description=Wikitext
|description=Wikitext
|craftCost=Wikitext
|craftCost=Wikitext
Line 13: Line 12:
|usedByCharacter=Wikitext
|usedByCharacter=Wikitext
|interactions=Wikitext
|interactions=Wikitext
|furnishingSet=String
}}</noinclude><includeonly><!--
}}</noinclude><includeonly><!--


Line 21: Line 21:
|icon={{{icon|{{{name|}}} icon.png}}}
|icon={{{icon|{{{name|}}} icon.png}}}
|placedImg={{{placedImg|{{{name|}}} furnishing placed.png}}}
|placedImg={{{placedImg|{{{name|}}} furnishing placed.png}}}
|absentImg={{{absentImg|{{{name|}}} furnishing absent.png}}}
|description={{{description|}}}
|description={{{description|}}}
|craftCost={{{craftCost|}}}
|craftCost={{{craftCost|}}}
Line 27: Line 26:
|usedByCharacter={{{usedByCharacter|}}}
|usedByCharacter={{{usedByCharacter|}}}
|interactions={{{interactions|}}}
|interactions={{{interactions|}}}
|furnishingSet={{#var:setname|{{#titleparts:{{{furnishingSet|{{PAGENAME}}}}}}}}}
}}<!--
}}<!--
### Vardefine
-->{{#vardefine:furnishing|{{{name|}}}}}<!--


### Template Display
### Template Display


-->===[[File:{{{icon|{{{name|}}} icon.png}}}|60px|link=]] {{{name|}}}===
-->===[[File:{{{icon|{{{name|}}} icon.png}}}|60px|link=]] {{{name|}}}===
{|
<div style="display:flex; flex-direction:row; align-items:flex-start; align-content:flex-start">
|rowspan="5" style="text-align:center"|[[File:{{{placedImg|{{{name|}}} furnishing placed.png}}}|150px]]<br />Placed<br /><br />[[File:{{{absentImg|{{{name|}}} furnishing absent.png}}}|150px]]<br />Absent
<div style="flex:0 0 160px; padding:15px 10px 0px 0px;">[[File:{{{placedImg|{{{name|}}} furnishing placed.png}}}|150px]]</div>
|''{{{description|}}}''
<div style="flex:0 1 auto;"><p>''{{{description|}}}''</p><!--
|-
-->{{#if: {{{craftCost|}}}|<p>'''Crafting cost:''' {{{craftCost|}}}</p>}}<!--
|'''Crafting cost:''' {{{craftCost|}}}
-->{{#if: {{{blueprint|}}}|<p>'''Blueprint Required:''' {{{blueprint|}}}</p>}}<!--
|-
-->{{#if: {{{usedByCharacter|}}}|<p>'''Used by:''' {{{usedByCharacter|}}}</p>}}<!--
|'''Blueprint Required:''' {{{blueprint|}}}{{#if: {{{usedByCharacter|}}}|
-->{{#if: {{{interactions|}}}|<p>'''Interactions:'''
{{!}}-
{{!}}'''Used by:''' {{{usedByCharacter|}}}}}{{#if: {{{interactions|}}}|
{{!}}-
{{!}}'''Interactions:'''


{{{interactions|}}}}}
{{{interactions|}}}</p>}}
|}
{{#if: {{{notes|}}}|<p>'''Notes:''' {{{notes|}}}</p>}}</div></div>

Latest revision as of 03:54, 10 July 2022

Template-info.png Documentation

Description[edit source]

Used to add furnishings to any Furniture set page (example: Wooden Style Lounge) and stores the information to Cargo.

The usedByCharacter and interactions fields are optional and only for use with furnishings used by the MLs. The furnishingSet field should match exactly to a member of the Template:Furnishing set Cargo table.

Usage[edit source]

{{Furnishing
|name=
|description=
|craftCost=
|blueprint=
|furnishingSet=
|usedByCharacter=
|interactions=
}}
This template defines the table "Furnishing". View table.