Difference between revisions of "Template:Placeable-Variant"
From sureai
m (Remove h3's margin; Remove TOC) |
m (Make FormIDs monospace only when they're nonempty) |
||
Line 3: | Line 3: | ||
<div style = "order: 1; flex: 1; border-radius: 0 0 5px 5px; border: 1px solid gray; border-top-width: 0; display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; padding: 5px; "> | <div style = "order: 1; flex: 1; border-radius: 0 0 5px 5px; border: 1px solid gray; border-top-width: 0; display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; padding: 5px; "> | ||
[[File:{{{image|SureaiLogo2016.png}}}|200x200px]] | [[File:{{{image|SureaiLogo2016.png}}}|200x200px]] | ||
− | <p style = "margin-left: 1.5em; >'''Blueprint:''' <span style = "font-family: monospace; ">{{{blueprint-formid|Unknown}}}</span> <br />'''Placeable:''' <span style = "font-family: monospace; ">{{{item-formid|Unknown}}}</span></p> | + | <p style = "margin-left: 1.5em; >'''Blueprint:''' <span style = "{{#if: {{{blueprint-formid|}}}|font-family: monospace;|}}">{{{blueprint-formid|Unknown}}}</span> <br />'''Placeable:''' <span style = "{{#if: {{{item-formid|}}}|font-family: monospace;|}}">{{{item-formid|Unknown}}}</span></p> |
</div> | </div> | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
− | |||
== Usage == | == Usage == | ||
Use this template to add a [[Enderal:Placeables|Placeable]] Variant inside a container started with [[:Template:Placeable-Variants Container-Start]]. | Use this template to add a [[Enderal:Placeables|Placeable]] Variant inside a container started with [[:Template:Placeable-Variants Container-Start]]. |
Latest revision as of 15:36, 7 July 2017
Contents
Variant
Usage
Use this template to add a Placeable Variant inside a container started with Template:Placeable-Variants Container-Start.
Parameters
All paremeters are optional.
- Text Parameters: name, image, blueprint-formid, item-formid.
Examples
{{Placeable-Variants Container-Start}} {{Placeable-Variant |name = Ceramic Pot (Flat) |image = EN-Placeable-Vase 1.png |blueprint-formid = 0013C45C |item-formid = 00140FE5 }} {{Placeable-Variant |name = Ceramic Pot (High) |image = EN-Placeable-Vase 2.png |blueprint-formid = 0013C45E |item-formid = 00140FE4 }} {{Placeable-Variants Container-Start}}