Template:Artifact: Difference between revisions

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


'''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:31, 5 March 2014

Artifact
Artifact Class: classes
Slot: slots
Base cost: Gold
Effect: effects

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

or

Change names with appropriate values:

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

Not sure how to make empty name param for default {{PAGENAME}}. Probably it's the old wikimedia version, bcoz #if parameter does not work.