Template:Artifact: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
(Undo revision 11243 by Kapteeni Ruoska (talk))
Line 1: Line 1:
{| class="wikitable" align=right
{| border=1 cellpadding=3 cellspacing=0 style="background-color: #D2B48C; border: 1px solid; float:{{{float|right}}};"
! colspan=3 width=260px | {{PAGENAME}}
| colspan=4 bgcolor=9B7350 align=center | '''{{PAGENAME}}'''
|-
|-
| rowspan=4 width=80px align=center | [[Image:Artifact {{{1|{{{name|{{PAGENAME}}}}}}}}.gif|44px|{{PAGENAME}}]]
| rowspan=3 | [[Image:Artifact {{{name|{{PAGENAME}}}}}.gif|44px]]
| width=80px| '''Class:'''     || [[List_of_artifacts_sorted_by_class|{{{2|{{{class|classes}}}}}}]]
            | '''Class:''' {{{class|}}}
|-
|-
             | '''Slot:'''     || [[Artifact|{{{3|{{{slot|slots}}}}}}]]
             | '''Equipped in:''' {{{equip|}}}
|-
|-
             | '''Base cost:''' || [[Gold|{{{4|{{{cost|–}}}}}}]] {{Gold}}
             | '''Basic cost:''' {{{cost|}}} {{Gold}}
|-
|- style="font-size:90%"
            | '''Effect:'''   || [[List_of_artifacts_sorted_by_equip_slot|{{{5|{{{effect|effects}}}}}}]]
| colspan=2 | '''Effect:''' {{{effect|}}}
|}<noinclude>
|}<noinclude>


Line 15: Line 15:
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".  
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".  


{|
{| style="background: transparent;"
|<pre>{{Artifact
| <pre>{{Artifact
| name  = {{PAGENAME}}
  | class  =  
  | class  =  
  | equip   =  
  | equip =  
  | cost  =  
  | cost  =  
  | effect =  
  | effect =  
Line 24: Line 25:
|}
|}


'''or'''
Change names with appropriate values:
{|
|<pre>{{Artifact|name|class|slot|cost|effect}}</pre>
|}
Not sure how to make empty name param for default <nowiki>{{PAGENAME}}</nowiki>. Probably it's the old wikimedia version, bcoz #if parameter does not work.
[[Category:Help templates|Artifact]]</noinclude>
[[Category:Help templates|Artifact]]</noinclude>

Revision as of 08:32, 5 March 2014

Artifact
File:Artifact Artifact.gif Class:
Equipped in:
Basic cost: Gold
Effect:

How to use

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
 | name   = {{PAGENAME}}
 | class  = 
 | equip  = 
 | cost   = 
 | effect = 
}}