Template:ATR: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (code fix)
(another attempt to make 'shield' links work)
(48 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|{{An|{{{1}}}}}||{{{2}}}||{{{3}}}||align=right|{{{4}}} {{gold}}||{{{5}}}||{{An|{{{6|{{{7}}}}}}}}</includeonly><noinclude>
| style="border-top: 1px solid silver;"|{{-}}{{An|image={{{image|{{{1}}}}}}|link={{{link|{{{1}}}}}}|source={{{source|}}}|{{{1}}}}}||style="border-top: 1px solid silver; text-align:center;"|{{{slotlink|[[{{{2}}}]]}}}||style="border-top: 1px solid silver; text-align:center;"|[[{{{3}}}]]||style="border-top: 1px solid silver; text-align:right;"|{{{4}}}{{-}}{{G}}{{-}}{{-}}
'''An''' is short of '''A'''rtifact '''R'''ow.
| style="border-top: 1px solid silver; font-size: 90%;" |{{{5}}}{{{effect_source|}}}||style="border-top: 1px solid silver;"|{{{7|Part of [[{{{6}}}]]}}}{{{combo_source|}}}</includeonly>
<noinclude>'''ATR''' is an acronym of '''A'''rtifact '''T'''able' ''R'''ow. It is used together with [[:Template:Artifact table]].


==Use==
==Use==
Line 7: Line 8:


=====Variables=====
=====Variables=====
1=name, 2=slot, 3=class, 4=cost, 5=effect, 6=Combo Artifact name, 7=Ussed if Combo left empty.
# name
 
# slot
# class
# cost
# effect
# Combo Artifact name
# Combo slots / Used if Combo left empty
* image
* link
* source
* combo_source
* slotlink
=====Code=====
=====Code=====
<pre>{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'|'use if empty Combo'}}</pre>
<pre>{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'|'use if empty Combo'}}</pre>
Line 24: Line 35:
|}
|}


[[Category:Text templates|Table Artifact row]]</noinclude>
{{Artifact table|}}
{{Ar|Horn of the Abyss|image=Horn of the Abyss (artifact)|link=Horn of the Abyss (artifact)|source={{-}}{{withhota}}|combo_source={{-}}{{withhota}}|Misc|Relic|50000|Raises [[Fangarm]]s from slain stacks of living creatures||Extra Large Hands/Nothing Else}}
|}
 
[[Category: Table templates|Artifact row]]</noinclude>

Revision as of 01:59, 19 July 2018

'ATR is an acronym of Artifact Table' Row. It is used together with Template:Artifact table.

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
  7. Combo slots / Used if Combo left empty
  • image
  • link
  • source
  • combo_source
  • slotlink
Code
{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'|'use if empty Combo'}}

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
'
Artifact Slot Class Cost Effect Combination
 Horn of the Abyss (artifact)Horn of the Abyss Horn of the Abyss Misc Relic 50000 Gold   Raises Fangarms from slain stacks of living creatures Extra Large Hands/Nothing Else Horn of the Abyss