Template:ATR: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|{{-}}{{An|image={{{image|{{{1}}}}}}|link={{{link|{{{1}}}}}}|source={{{source|}}}|{{{1}}}}}||style="text-align:center;"|[[{{{2}}}]]||style="text-align:center;"|[[{{{3}}}]]||style="text-align:right;"|{{{4}}}{{-}}{{G}}{{-}}{{-}}
|{{-}}{{An|image={{{image|{{{1}}}}}}|link={{{link|{{{1}}}}}}|source={{{source|}}}|{{{1}}}}}||style="text-align:center;"|[[{{{slotlink}}}|{{{2}}}]]||style="text-align:center;"|[[{{{3}}}]]||style="text-align:right;"|{{{4}}}{{-}}{{G}}{{-}}{{-}}
| style="font-size: 90%;" |{{{5}}}{{{effect_source|}}}||{{{7|Part of [[{{{6}}}]]}}}{{{combo_source|}}}</includeonly>
| style="font-size: 90%;" |{{{5}}}{{{effect_source|}}}||{{{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 19: Line 19:
* source
* source
* combo_source
* combo_source
* slotlink


=====Code=====
=====Code=====

Revision as of 15:48, 18 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 [[{{{slotlink}}}|Misc]] Relic 50000 Gold   Raises Fangarms from slain stacks of living creatures Extra Large Hands/Nothing Else Horn of the Abyss