Template:Artifact: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
m (Formatting)
(74 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| cellpadding=3 cellspacing=0 style="background-color: #D2B48C; border: 1px solid; float:{{{float|right}}};"
<includeonly>{| cellpadding=3 cellspacing=0 style="background: #{{artifact 3}}; border:1px solid; border-color:rgba(0,0,0,0); float:{{{float|right}}}; margin-left: 5px; margin-right: 5px;"
| colspan=4 bgcolor=9B7350 align=center | '''{{PAGENAME}}'''
! colspan=3 style="background:#{{artifact 1}}; heigth: 25px;" | {{{<span style="">name|<span style="">{{PAGENAME}}}}}
|- style="height: 25px;"
|-
| rowspan=3 valign=middle align=middle | [[Image:Artifact {{{name|{{PAGENAME}}}}}.gif|44px]]
| rowspan=3 valign=middle align=middle | [[File:Artifact {{{name|{{PAGENAME}}}}}{{{ext|.gif}}}|{{{name|{{PAGENAME}}}}}]]
| valign=middle style="width: 40px;" | '''Class:'''
! align=left style="width: 40px;" | [[Artifact#Class|<span style="">Class:</span>]]
| {{{class|}}}
| {{{class|}}}
|-
|-
| '''Slot:'''
! align=left | [[Artifact#Slots|<span style="">Slot:</span>]]
| {{{slot|}}}
| {{{slot|}}}
|-
|-
| '''Cost:'''
! align=left | [[Artifact#Cost|<span style="">Cost:</span>]]
| {{{cost|}}} {{Gold}}
| {{{cost|}}} {{G}}
|- style="font-size:90%"
|- style="font-size:90%"
| colspan=3 style="width: 125px;" | '''Effect:''' {{{effect|}}}
| colspan=3 style="width: 125px;" | '''Effect:''' {{{effect|}}}
|-
|}
| {{{combo}}}
<div style="display:flex; padding-right:1em; background-color: papayawhip;">
|}'''{{PAGENAME}}''' is a {{{class}}} class artifact, that is equipped in {{{slot}}} slot.<noinclude>
{| style="left; border:1px solid; border-color:rgba(0,0,0,0); color:darkolivegreen; padding-left:10px; font-size:90%; width:fit-content;"
 
| style="align:center; width: 60px; image-rendering:pixelated;"|[[File:{{{name|{{PAGENAME}}}}}_artifact{{{ext|.gif}}}]] || ''{{{event|}}}  
|}
</div>
'''{{{name|{{PAGENAME}}}}}''' is a [[:Category:{{{class}}} artifacts|{{{class}}} class]] artifact equipped in the {{{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 29: Line 32:
|}
|}


[[Category:Help templates|Artifact]]</noinclude>
==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 ==
* [[:Template:Combination artifact]]
* [[:Template:Treasure artifacts]]
[[Category: Artifact templates]]</noinclude>

Revision as of 22:10, 3 May 2024

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 equipped in the shoulders slot.

See also