Difference between revisions of "Template:Placeable-Variant"

From sureai
Jump to: navigation, search
(Remove fixed height, add usage notes)
m (Remove h3's margin; Remove TOC)
Line 1: Line 1:
 
<div style = "flex: 1 0 400px; display: flex; flex-flow: column nowrap; margin: 0 5px 5px 0; ">
 
<div style = "flex: 1 0 400px; display: flex; flex-flow: column nowrap; margin: 0 5px 5px 0; ">
<h3 style = "order: 0; background-color: RGB(73, 73, 59); border-radius: 5px 5px 0 0; padding: 10px; font-weight: bold; color: white; font-size: 1.5em; text-align: center; ">{{{name|Variant}}}</h3>
+
<h3 style = "order: 0; background-color: RGB(73, 73, 59); border-radius: 5px 5px 0 0; padding: 10px; margin: 0; font-weight: bold; color: white; font-size: 1.5em; text-align: center; ">{{{name|Variant}}}</h3>
 
<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]]
Line 7: Line 7:
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
 +
__NOTOC__
 
== 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]].

Revision as of 15:36, 26 June 2017

Variant

SureaiLogo2016.png

Blueprint: Unknown
Placeable: Unknown


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}}

Ceramic Pot (Flat)

EN-Placeable-Vase 1.png

Blueprint: 0013C45C
Placeable: 00140FE5

Ceramic Pot (High)

EN-Placeable-Vase 2.png

Blueprint: 0013C45E
Placeable: 00140FE4