Template:Furnishing: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
mNo edit summary
imported>Harmonea
(+var)
 
(10 intermediate revisions by 2 users not shown)
Line 26: Line 26:
|usedByCharacter={{{usedByCharacter|}}}
|usedByCharacter={{{usedByCharacter|}}}
|interactions={{{interactions|}}}
|interactions={{{interactions|}}}
|furnishingSet={{#titleparts:{{{furnishingSet|{{PAGENAME}}}}}}}
|furnishingSet={{#var:setname|{{#titleparts:{{{furnishingSet|{{PAGENAME}}}}}}}}}
}}<!--
}}<!--
### Vardefine
-->{{#vardefine:furnishing|{{{name|}}}}}<!--


### Template Display
### Template Display
Line 33: Line 37:
-->===[[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">
<div style="display:flex; flex-direction:row; align-items:flex-start; align-content:flex-start">
<div style="flex:0 0 150px; margin-right=1em">[[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:''' {{{interactions|}}}</p>}}</div></div>
<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>}}
{{#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.