Template:Artifact: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (add category)
(Add example, don't show template)
Line 1: Line 1:
{| cellpadding=3 cellspacing=0 style="background: #{{artifact 2}}; border:1px solid; border-color:rgba(0,0,0,0); float:{{{float|right}}};"
<includeonly>{| cellpadding=3 cellspacing=0 style="background: #{{artifact 2}}; border:1px solid; border-color:rgba(0,0,0,0); float:{{{float|right}}};"
! colspan=3 style="background:#{{artifact 1}}; heigth: 25px;" | {{{<span style="">name|<span style="">{{PAGENAME}}}}}
! colspan=3 style="background:#{{artifact 1}}; heigth: 25px;" | {{{<span style="">name|<span style="">{{PAGENAME}}}}}
|-
|-
Line 19: Line 19:
|}
|}
</div>
</div>
'''{{{name|{{PAGENAME}}}}}''' is a [[:Category:{{{class}}} artifacts|{{{class}}} class]] artifact, that is equipped in {{{slot}}} slot.<noinclude>
'''{{{name|{{PAGENAME}}}}}''' is a [[:Category:{{{class}}} artifacts|{{{class}}} class]] artifact, that is equipped in {{{slot}}} slot.</includeonly><noinclude>
 
== How to use ==
== How to use ==
This template is designed to use only in artifact pages (e.g [[Charm of Mana]]). Copy the code below at the beginning of the artifact article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "A" is not the same as "a".  
This template is designed to use only in artifact pages (e.g [[Charm of Mana]]). Copy the code below at the beginning of the artifact article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "A" is not the same as "a".  
Line 32: Line 31:
}}</pre>
}}</pre>
|}
|}
==Example==
{{Artifact
| name  = Angel Wings
| class  = relic
| slot  = shoulders
| cost  = 20000
| event  = Not really wanting to know where the Angel is who belongs to these wings, you take them and quickly depart.
| effect = Worn about the shoulders, these wings allow you to fly.
}}


== See also ==
== See also ==

Revision as of 17:41, 12 December 2023

How to use

This template is designed to use only in artifact pages (e.g Charm of Mana). Copy the code below at the beginning of the artifact article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "A" is not the same as "a".

{{Artifact
 | class  = 
 | slot   = 
 | cost   = 
 | effect = 
}}

Example

colspan=3 style="background:#Template:Artifact 1; heigth: 25px;" | Artifact
Angel Wings Class: relic
Slot: shoulders
Cost: 20000 Gold
Effect: Worn about the shoulders, these wings allow you to fly.
Not really wanting to know where the Angel is who belongs to these wings, you take them and quickly depart.

Angel Wings is a relic class artifact, that is equipped in shoulders slot.

See also