Template:Artifact: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (test4 {{{3|{{P|slot={{{slot}}}}}|{{P|ac=slots}}}}})
m (giveup with empty parameters as default values)
Line 5: Line 5:
| width=80px| '''Class:'''    || [[List_of_artifacts_sorted_by_class|{{{2|{{{class|classes}}}}}}]]
| width=80px| '''Class:'''    || [[List_of_artifacts_sorted_by_class|{{{2|{{{class|classes}}}}}}]]
|-
|-
             | '''Slot:'''      || [[Artifact|{{{3|{{P|slot={{{slot}}}}}|{{P|ac=slots}}}}}]]
             | '''Slot:'''      || [[Artifact|{{{3|{{{slot|slots}}}}}}]]
|-
|-
             | '''Base cost:''' || [[Gold|{{{4|{{{cost|–}}}}}}]] {{Gold}}
             | '''Base cost:''' || [[Gold|{{{4|{{{cost|–}}}}}}]] {{Gold}}

Revision as of 22:34, 4 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
 | name   = {{PAGENAME}}
 | class  = 
 | slot   = 
 | 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.