No edit summary |
No edit summary |
||
Line 144: | Line 144: | ||
| | | | ||
|} | |} | ||
<div class="item-text">{{{line-1|}}} <div class="{{{tooltip-1-type|tooltip}}}">{{{tooltip-1|}}} <span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-1-img|SF CoE Elemental Spacer.png}}}]]</span></div> {{{line-1-end|}}}</div> | |||
<div class="item-text">{{{line-2|}}} <div class="{{{tooltip-2-type|tooltip}}}">{{{tooltip-2|}}} <span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-2-img|SF CoE Elemental Spacer.png}}}]]</span></div> {{{line-2-end|}}}</div> | |||
<div class="item-text">{{{line-3|}}} <div class="{{{tooltip-3-type|tooltip}}}">{{{tooltip-3|}}} <span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-3-img|SF CoE Elemental Spacer.png}}}]]</span></div> {{{line-3-end|}}}</div> | |||
==Template Markup== | ==Template Markup== | ||
Line 159: | Line 165: | ||
</div> | </div> | ||
<div class="item-block-splitter">[[Image:SF CoE Item Block Splitter.png|320px]]</div> | <div class="item-block-splitter">[[Image:SF CoE Item Block Splitter.png|320px]]</div> | ||
<div class="item-text">{{{line-1|}}} <div class="{{{tooltip-1-type|tooltip}}}">{{{tooltip-1|}}} <span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-1-img|SF CoE Elemental Spacer.png}}}]]</span></div> {{{line-1-end|}}}</div> | {{#ifexpr: {{{line-1|}}} | | ||
<div class="item-text">{{{line-2|}}} <div class="{{{tooltip-2-type|tooltip}}}">{{{tooltip-2|}}} <span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-2-img|SF CoE Elemental Spacer.png}}}]]</span></div> {{{line-2-end|}}}</div> | <div class="item-text">{{{line-1|}}} | ||
<div class="item-text">{{{line-3|}}} <div class="{{{tooltip-3-type|tooltip}}}">{{{tooltip-3|}}} <span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-3-img|SF CoE Elemental Spacer.png}}}]]</span></div> {{{line-3-end|}}}</div> | <div class="{{{tooltip-1-type|tooltip}}}">{{{tooltip-1|}}} | ||
<span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0"> | |||
[[Image:{{{tooltip-1-img|SF CoE Elemental Spacer.png}}}]] | |||
</span> | |||
</div> | |||
{{{line-1-end|}}} | |||
</div> | |||
| }} | |||
{{#ifexpr: {{{line-2|}}} | | |||
<div class="item-text">{{{line-2|}}} | |||
<div class="{{{tooltip-2-type|tooltip}}}">{{{tooltip-2|}}} | |||
<span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0"> | |||
[[Image:{{{tooltip-2-img|SF CoE Elemental Spacer.png}}}]] | |||
</span> | |||
</div> | |||
{{{line-2-end|}}} | |||
</div> | |||
| }} | |||
{{#ifexpr: {{{line-3|}}} | | |||
<div class="item-text">{{{line-3|}}} | |||
<div class="{{{tooltip-3-type|tooltip}}}">{{{tooltip-3|}}} | |||
<span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0"> | |||
[[Image:{{{tooltip-3-img|SF CoE Elemental Spacer.png}}}]] | |||
</span> | |||
</div> | |||
{{{line-3-end|}}} | |||
</div> | |||
| }} | |||
</div> | </div> |
Revision as of 03:02, 26 September 2023
CoE Item
Inserts a block item for CoE. Typical items are abilities, statuses, room expansions, artifacts, recipes, ingredients, etc.
Example Preview
Example Usage
{{CoE Item
|title = Battle Robe
|sub-title = Artifact, Ingredient, Light Armor
|icon = SF CoE Icon Battle Robe.png
|value-gold = 10
|value-elemental = 2
|value-life = 1
|line-1 = +2 Speed.
|line-2 = Grants
|tooltip-2-type = tooltip-short
|tooltip-2 = Quick Reflexes
|tooltip-2-img = SF CoE Ability Quick Reflexes.png
|line-2-end = .
}}
How to Use This Template & Parameters
Parameters define the data that gets be passed to the template. That's how the template "knows" what to display for you. They can loosely be called variables.
The ONLY required parameter is title. But if that is the only parameter you list, it will be an empty box (besides the item title).
THIS TEMPLATE'S parameters do not need to be used in order, but you do need to specify the parameter name, the = sign, and then the data/text you want to use, separated by the | sign. See the Example Usage section below.
- Table Column Explanations
- Parameter is the name for what you are describing.
- Value is the text/info you want to show.
- Example is what is shown in the Example Usage and Example Preview sections.