Template:ATR: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|{{An|{{{1}}}}}||{{{2}}}||{{{3}}}||{{-}}{{{4}}} {{G}}|| style="font-size: 90%;" |{{{5}}}||{{{7|Part of [[{{{6}}}]]}}}</includeonly>
| style="border-top: 1px solid silver;"|{{-}}{{An2|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}}{{-}}{{-}}
| 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]].
<noinclude>'''ATR''' is an acronym of '''A'''rtifact '''T'''able' ''R'''ow. It is used together with [[:Template:Artifact table]].


Line 7: Line 8:


=====Variables=====
=====Variables=====
1=name, 2=slot, 3=class, 4=cost, 5=effect, 6=Combo Artifact name, 7=Used 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 22: Line 33:
|-
|-
|[[Image:Artifact_Spyglass.gif‎|Spyglass]][[Spyglass]]||Misc.||Treasure||align=right|5000 {{gold}}||[[Scouting Range]] +1||
|[[Image:Artifact_Spyglass.gif‎|Spyglass]][[Spyglass]]||Misc.||Treasure||align=right|5000 {{gold}}||[[Scouting Range]] +1||
|}
and
<pre>{{Artifact table|}}
{{Ar|Armageddon's Blade|link=Armageddon's Blade (artifact)|source={{-}}{{withab}}|Weapon|Relic|50000| [[Attack]] +3, [[Defense]] +3<br />[[Knowledge]] +6, [[Spell Power]] +3<br />Spell [[Armageddon]] expert<br />Immune to [[Armageddon]]||}}
|}</pre>
gives
{{Artifact table|}}
{{Ar|Armageddon's Blade|link=Armageddon's Blade (artifact)|source={{-}}{{withab}}|Weapon|Relic|50000| [[Attack]] +3, [[Defense]] +3<br />[[Knowledge]] +6, [[Spell Power]] +3<br />Spell [[Armageddon]] expert<br />Immune to [[Armageddon]]||}}
|}
|}


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

Latest revision as of 15:02, 25 May 2021

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

Use[edit]

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[edit]
  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[edit]
{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'|'use if empty Combo'}}

Example[edit]

{{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

and

{{Artifact table|}}
{{Ar|Armageddon's Blade|link=Armageddon's Blade (artifact)|source={{-}}{{withab}}|Weapon|Relic|50000| [[Attack]] +3, [[Defense]] +3<br />[[Knowledge]] +6, [[Spell Power]] +3<br />Spell [[Armageddon]] expert<br />Immune to [[Armageddon]]||}}
|}

gives

'
Artifact Slot Class Cost Effect Combination
 Armageddon's Blade (artifact) Armageddon's Blade Armageddon's Blade Weapon Relic 50000 Gold   Attack +3, Defense +3
Knowledge +6, Spell Power +3
Spell Armageddon expert
Immune to Armageddon