Template:Furnishing: Difference between revisions
From Tears of Themis Wiki
imported>Harmonea mNo edit summary |
imported>Harmonea (+var) |
||
(7 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 34: | 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
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)