Difference between revisions of "Template:Placeable-Variant"
From sureai
(Design changes) |
(Remove fixed height, add usage notes) |
||
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> |
<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 6: | Line 6: | ||
</div> | </div> | ||
</div> | </div> | ||
− | <noinclude>[[ | + | <noinclude> |
+ | == Usage == | ||
+ | Use this template to add a [[Enderal:Placeables|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 === | ||
+ | <pre> | ||
+ | {{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}} | ||
+ | </pre> | ||
+ | |||
+ | {{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}} | ||
+ | |||
+ | [[Category:Templates]]</noinclude> |
Revision as of 15:22, 26 June 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}}