Template:ATR: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (not sure how to fix it yet (added - to fill emty space, that link code had something to in it))
m (Price align right)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|{{An|{{{1}}}}}||{{{2}}}||{{{3}}}||{{{4}}} {{gold}}||{{{5}}}||{{An|{{{6|-}}}}}</includeonly><noinclude>
|{{An|{{{1}}}}}||{{{2}}}||{{{3}}}||align=right|{{{4}}} {{gold}}||{{{5}}}||{{An|{{{6|-}}}}}</includeonly><noinclude>
'''An''' is short of '''A'''rtifact '''R'''ow.
'''An''' is short of '''A'''rtifact '''R'''ow.


Line 21: Line 21:
!width=180px|Artifact!!width=60px|[[Artifact|Slot]]!!width=60px|[[List_of_artifacts_sorted_by_class|Class]]!!width=60px|Price!!width=180px|Effect!!width=180px|Combination
!width=180px|Artifact!!width=60px|[[Artifact|Slot]]!!width=60px|[[List_of_artifacts_sorted_by_class|Class]]!!width=60px|Price!!width=180px|Effect!!width=180px|Combination
|-
|-
|[[Image:Artifact_Spyglass.gif‎|Spyglass]][[Spyglass]]||Misc.||Treasure||5000 {{gold}}||[[Scouting Range]] +1||
|[[Image:Artifact_Spyglass.gif‎|Spyglass]][[Spyglass]]||Misc.||Treasure||align=right|5000 {{gold}}||[[Scouting Range]] +1||
|}
|}


[[Category:Text templates|Table Artifact row]]</noinclude>
[[Category:Text templates|Table Artifact row]]</noinclude>

Revision as of 16:59, 5 March 2014

An is short of Artifact Row.

Use

It's for lists table use only to use with template:At template, to show artifact image, name and all other info in table.

Variables

1=name, 2=slot, 3=class, 4=cost, 5=effect, 6=Combo Artifact name.

Code
{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'}}

Example

{{At|Miscellaneous}}
{{Ar|Spyglass|Misc.|Treasure|5000|[[Scouting Range]] +1}}

gives:

Miscellaneous
Artifact Slot Class Price Effect Combination
SpyglassSpyglass Misc. Treasure 5000 Gold Scouting Range +1