Template:Furnishing: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
No edit summary
imported>Harmonea
(+var)
 
(6 intermediate revisions by the same user not shown)
Line 26: Line 26:
|usedByCharacter={{{usedByCharacter|}}}
|usedByCharacter={{{usedByCharacter|}}}
|interactions={{{interactions|}}}
|interactions={{{interactions|}}}
|furnishingSet={{#titleparts:{{{furnishingSet|{{PAGENAME}}}}}}}
|furnishingSet={{#var:setname|{{#titleparts:{{{furnishingSet|{{PAGENAME}}}}}}}}}
}}<!--
}}<!--


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


{{{interactions|}}}</p>}}</div></div>
{{{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.