No edit summary |
No edit summary |
||
Line 98: | Line 98: | ||
|- | |- | ||
|line-1 | |line-1 | ||
|rowspan="4"|The [first / second / third / fourth] line of the description (before any tooltip text). | |rowspan="4"|The [first / second / third / fourth] line of the description (before any link / tooltip text). | ||
|''+2 Speed'' | |''+2 Speed'' | ||
|- | |- | ||
Line 110: | Line 110: | ||
| | | | ||
|- | |- | ||
| | |line-1-link | ||
|rowspan="4"|If there is no tooltip, do not use this parameter.<br> | |rowspan="4"|If there is no link / tooltip, do not use this parameter.<br>The linked text (can show tooltip display with mouse hover on computers). | ||
| | |||
|- | |||
|line-2-link | |||
|''Quick Reflexes'' | |||
|- | |||
|line-3-link | |||
| | |||
|- | |||
|line-4-link | |||
| | |||
|- | |||
|line-1-link-page | |||
|rowspan="4"|If there is no link / tooltip, do not use this parameter.<br>The link for the page that has the full data.<br>If the page title matches ''EXACTLY'' with the [line-#-link] text, you can leave this out and it will automatically link to that page. (The example is blank because the page name is also Quick Reflexes.) | |||
| | | | ||
|- | |- | ||
| | |line-2-link-page | ||
| | | | ||
|- | |- | ||
| | |line-3-link-page | ||
| | | | ||
|- | |- | ||
| | |line-4-link-page | ||
| | | | ||
|- | |- | ||
|tooltip-1 | |tooltip-1-type | ||
|rowspan="4"|If there is no tooltip, do not use this parameter.<br> | |rowspan="4"|If there is no tooltip, do not use this parameter.<br>Use "tooltip", "tooltip-short", or "tooltip-long" to determine how far above the text the tooltip image should begin. | ||
| | | | ||
|- | |- | ||
|tooltip-2 | |tooltip-2-type | ||
|'' | |''tooltip-short'' | ||
|- | |- | ||
|tooltip-3 | |tooltip-3-type | ||
| | | | ||
|- | |- | ||
|tooltip-4 | |tooltip-4-type | ||
| | | | ||
|- | |- | ||
Line 150: | Line 163: | ||
|- | |- | ||
|line-1-end | |line-1-end | ||
|rowspan="4"|If there is no tooltip, do not use this parameter.<br>Text that appears after a tooltip (if any). | |rowspan="4"|If there is no link / tooltip, do not use this parameter.<br>Text that appears after a link / tooltip (if any). | ||
| | | | ||
|- | |- | ||
Line 177: | Line 190: | ||
</div> | </div> | ||
<div class="item-block-splitter">[[Image:SF CoE Item Block Splitter.png|320px|link=]]</div> | <div class="item-block-splitter">[[Image:SF CoE Item Block Splitter.png|320px|link=]]</div> | ||
{{#if: {{{line-1|}}} | <div class="item-text">{{{line-1|}}} {{#if: {{{ | {{#if: {{{line-1|}}} | <div class="item-text">{{{line-1|}}} {{#if: {{{line-1-link|}}} | <div class="tooltip-wrapper">[[{{{line-1-link-page| {{{line-1-link|}}} }}}|{{{line-1-link|}}}]]<div class="{{{tooltip-1-type|tooltip}}}"><span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-1-img|SF CoE Elemental Spacer.png}}}]]</span></div></div> | }} {{{line-1-end|}}}</div> | }} {{#if: {{{line-2|}}} | <div class="item-text">{{{line-2|}}} {{#if: {{{line-2-link|}}} | <div class="tooltip-wrapper">[[{{{line-2-link-page| {{{line-2-link|}}} }}}|{{{tooltip-2|}}}]]<div class="{{{tooltip-2-type|tooltip}}}"><span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-2-img|SF CoE Elemental Spacer.png}}}]]</span></div></div> | }} {{{line-2-end|}}}</div> | }} {{#if: {{{line-3|}}} | <div class="item-text">{{{line-3|}}} {{#if: {{{line-3-link|}}} | <div class="tooltip-wrapper">[[{{{line-3-link-page| {{{line-3-link|}}} }}}|{{{line-3-link|}}}]]<div class="{{{tooltip-3-type|tooltip}}}"><span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-3-img|SF CoE Elemental Spacer.png}}}]]</span></div></div> | }} {{{line-3-end|}}}</div> | }} {{#if: {{{line-4|}}} | <div class="item-text">{{{line-4|}}} {{#if: {{{line-4-link|}}} | <div class="tooltip-wrapper">[[{{{line-4-link-page| {{{line-4-link|}}} }}}|{{{line-4-link|}}}]]<div class="{{{tooltip-4-type|tooltip}}}"><span style="margin: 5px; display: block;height: auto; max-width: 250px;" border="0">[[Image:{{{tooltip-4-img|SF CoE Elemental Spacer.png}}}]]</span></div></div> | }} {{{line-4-end|}}}</div> | }} | ||
</div> | </div> |
Revision as of 17:46, 6 October 2023
CoE Item
Inserts a 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
}}
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.