Template:Ar: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(add comboonly=)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
| style="border-top: 1px solid #{{Orange 2}};"| {{-}}{{An2|image={{{image|{{{1}}}}}}|link={{{link|{{{1}}}}}}|source={{{source|}}}|{{{1}}}}}
| style="border-top: 1px solid #{{Orange 2}};"| {{-}}{{An2|image={{{image|{{{1}}}}}}|link={{{link|{{{1}}}}}}|source={{{source|}}}|{{{1}}}}}
| style="border-top: 1px solid #{{Orange 2}};"| {{{{{2}}} map icon}}
| style="border-top: 1px solid #{{Orange 2}};"| {{{{{2}}} map icon}}
| style="border-top: 1px solid #{{Orange 2}}; text-align:center;"| {{{slotlink|[[{{{3}}}]]}}}||style="border-top: 1px solid #{{Orange 2}}; text-align:center;"|[[{{{4}}}]]
| style="border-top: 1px solid #{{Orange 2}}; text-align:center;"| [[Artifact#Slots|{{{3}}}]]
| style="border-top: 1px solid #{{Orange 2}}; text-align:right;"| {{{5}}}{{-}}{{G}}{{-}}{{-}}
| style="border-top: 1px solid #{{Orange 2}}; text-align:center;"|[[{{{4}}}]]
| style="border-top: 1px solid #{{Orange 2}}; text-align:center;"| {{{5}}}{{-}}{{G}}{{-}}{{-}}
| style="border-top: 1px solid #{{Orange 2}}; font-size: 90%;" | {{{6}}}{{{effect_source|}}}
| style="border-top: 1px solid #{{Orange 2}}; font-size: 90%;" | {{{6}}}{{{effect_source|}}}
| style="border-top: 1px solid #{{Orange 2}};"| {{{8|<span class='{{{comboonly}}}'>Part of [[{{{7}}}]]}}}{{{combo_source|}}}</span></includeonly>
| style="border-top: 1px solid #{{Orange 2}};"| {{{8|<span class='{{{comboonly}}}'>Part of [[{{{7}}}]]}}}{{{combo_source|}}}</span></includeonly>
<noinclude>
<noinclude>


'''ATR''' is an acronym of '''A'''rtifact '''T'''able '''R'''ow. It is used together with [[:Template:Artifact table]].
'''AR''' is an acronym of '''A'''rtifact Table '''R'''ow. It is used together with [[:Template:At]].


==Use==
==Use==
Line 27: Line 28:
* slotlink
* slotlink
=====Code=====
=====Code=====
<pre>{{Ar2|'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>


==Example==
==Example==
<pre>{{At2}}
<pre>{{At}}
{{Ar2|Cape of Silence          | hota| Cape | Major | 7500 | Prevents casting lvl 1-2 spells|||source={{-wh}}|only=hota}}
{{Ar|Cape of Silence          | hota| Cape | Major | 7500 | Prevents casting lvl 1-2 spells|||source={{-wh}}|only=hota}}
{{Ar2|Diplomat's Cloak        | roe | Combo| Relic |15000 | • -30% [[surrender]] cost<p>• Allows [[retreat]] and [[surrender]] when battling neutral monsters or defending a town<p>• 3x diplomatic [[army strength]]||'''Cape'''/Necklace/Ring|source={{-wh}}|only=hota}}
{{Ar|Diplomat's Cloak        | roe | Combo| Relic |15000 | • -30% [[surrender]] cost<p>• Allows [[retreat]] and [[surrender]] when battling neutral monsters or defending a town<p>• 3x diplomatic [[army strength]]||'''Cape'''/Necklace/Ring|source={{-wh}}|only=hota}}
|}</pre>
|}</pre>


gives
gives


{{At2}}
{{At}}
{{Ar2|Dragon Wing Tabard      | roe | Cape | Minor | 4000 | +2 {{Ps|Power}}, +2 {{Ps|Knowledge}}|Power of the Dragon Father}}
{{Ar|Dragon Wing Tabard      | roe | Cape | Minor | 4000 | +2 {{Ps|Power}}, +2 {{Ps|Knowledge}}|Power of the Dragon Father}}
{{Ar2|Surcoat of Counterpoise  | roe | Cape | Major | 4000 | [[Resistance|Magic Resistance]] +10%|Pendant of Reflection|combo_source={{-wh}}|comboonly=onlyhota}}
{{Ar|Surcoat of Counterpoise  | roe | Cape | Major | 4000 | [[Resistance|Magic Resistance]] +10%|Pendant of Reflection|combo_source={{-wh}}|comboonly=onlyhota}}
{{Ar2|Cape of Silence          | hota| Cape | Major | 7500 | Prevents casting lvl 1-2 spells|||only=hota}}
{{Ar|Cape of Silence          | hota| Cape | Major | 7500 | Prevents casting lvl 1-2 spells|||only=hota}}
{{Ar2|Diplomat's Cloak        | hota| Combo| Relic |15000 | • -30% [[surrender]] cost<p>• Allows [[retreat]] and [[surrender]] when battling neutral monsters or defending a town<p>• 3x diplomatic [[army strength]]||'''Cape'''/Necklace/Ring|only=hota}}
{{Ar|Diplomat's Cloak        | hota| Combo| Relic |15000 | • -30% [[surrender]] cost<p>• Allows [[retreat]] and [[surrender]] when battling neutral monsters or defending a town<p>• 3x diplomatic [[army strength]]||'''Cape'''/Necklace/Ring|only=hota}}
|}
|}


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

Latest revision as of 01:25, 9 October 2024


AR is an acronym of Artifact Table Row. It is used together with Template:At.

Use[edit | hide | hide all]

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

Example[edit | hide]

{{At}}
{{Ar|Cape of Silence          | hota| Cape | Major | 7500 | Prevents casting lvl 1-2 spells|||source={{-wh}}|only=hota}}
{{Ar|Diplomat's Cloak         | roe | Combo| Relic |15000 | • -30% [[surrender]] cost<p>• Allows [[retreat]] and [[surrender]] when battling neutral monsters or defending a town<p>• 3x diplomatic [[army strength]]||'''Cape'''/Necklace/Ring|source={{-wh}}|only=hota}}
|}

gives

Artifact Expansion Source Slot Class Cost Effect Combination
 Dragon Wing Tabard Dragon Wing Tabard 1 - Restoration of Erathia Cape Minor 4000  Gold   +2  Power skill, +2  Knowledge skill Part of Power of the Dragon Father
 Surcoat of Counterpoise Surcoat of Counterpoise 1 - Restoration of Erathia Cape Major 4000  Gold   Magic Resistance +10% Part of Pendant of Reflection Horn of the Abyss
 Cape of Silence Cape of Silence 4 - Horn of the Abyss Cape Major 7500  Gold   Prevents casting lvl 1-2 spells
 Diplomat's Cloak Diplomat's Cloak 4 - Horn of the Abyss Combo Relic 15000  Gold   • -30% surrender cost

• Allows retreat and surrender when battling neutral monsters or defending a town

• 3x diplomatic army strength

Cape/Necklace/Ring