No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
{{CoE Styles}} | {{CoE Styles}} | ||
==CoE Item== | ==CoE Item== | ||
Inserts a item for CoE. Typical items are abilities, statuses, room expansions, artifacts, recipes, ingredients, etc. | Inserts a item for CoE. Typical items are abilities, statuses, room expansions, artifacts, recipes, ingredients, etc. | ||
Line 8: | Line 8: | ||
<div class="item-block"> | <div class="item-block"> | ||
<div> | <div> | ||
<div class="item-icon">[[Image:SF CoE Icon Battle Robe.png| | <div class="item-icon">[[Image:SF CoE Icon Battle Robe.png|75px|link=Battle Robe]]</div> | ||
<h4><div class="item-title">Battle Robe</div></h4> | <h4><div class="item-title">[[Battle Robe|Battle Robe]]</div></h4> | ||
</div> | </div> | ||
<div class="item-subtitle">Artifact, Ingredient, Light Armor</div> | <div class="item-subtitle">Artifact, Ingredient, Light Armor</div> | ||
Line 25: | Line 25: | ||
{{CoE Item </nowiki><br><nowiki> | {{CoE Item </nowiki><br><nowiki> | ||
|title = Battle Robe </nowiki><br><nowiki> | |title = Battle Robe </nowiki><br><nowiki> | ||
|linked = Battle Robe </nowiki><br><nowiki> | |||
|sub-title = Artifact, Ingredient, Light Armor </nowiki><br><nowiki> | |sub-title = Artifact, Ingredient, Light Armor </nowiki><br><nowiki> | ||
|icon = SF CoE Icon Battle Robe.png </nowiki><br><nowiki> | |icon = SF CoE Icon Battle Robe.png </nowiki><br><nowiki> | ||
Line 59: | Line 60: | ||
|title | |title | ||
|The name of the item you are making. ** Header Level 4 ** | |The name of the item you are making. ** Header Level 4 ** | ||
|''Battle Robe'' | |||
|- | |||
|linked | |||
|Leave blank if you do NOT wish to link the item. List the name of the page to link to otherwise. | |||
|''Battle Robe'' | |''Battle Robe'' | ||
|- | |- | ||
Line 181: | Line 186: | ||
<div class="item-block"> | <div class="item-block"> | ||
<div> | <div> | ||
{{#if: {{{linked|}}} | <div class="item-icon">{{#if: {{{linked|}}} | [[Image:{{{icon|Icon Spacer.png}}}|75px|link={{{linked}}}]] | [[Image:{{#setmainimage: {{{icon|Icon Spacer.png}}} }}|75px|link=]]}}</div> | ||
<h4><div class="item-title">{{{title}}}</div></h4> | <h4><div class="item-title">{{#if: {{{linked|}}} | [[{{{linked}}}|{{{title}}}]] | {{{title}}} }}</div></h4> | ||
</div> | </div> | ||
<div class="item-subtitle">{{{sub-title|}}}</div> | <div class="item-subtitle">{{{sub-title|}}}</div> |
Latest revision as of 21:20, 9 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
|linked = 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.