Template:Furnishing: Difference between revisions
From Tears of Themis Wiki
imported>Harmonea mNo edit summary |
imported>Harmonea (+var) |
||
(14 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 | ||
-->===[[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="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><!-- | |||
| | -->{{#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: {{{interactions|}}}|<p>'''Interactions:''' | ||
{{{interactions|}}}</p>}} | |||
{{#if: {{{notes|}}}|<p>'''Notes:''' {{{notes|}}}</p>}}</div></div> | |||
{{{ | |||
Latest revision as of 03:54, 10 July 2022
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= }}
The above documentation is transcluded from Template:Furnishing/doc. (edit | history)