Template:An: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(fixed link on ambiguous artifacts.)
Line 1: Line 1:
<includeonly>[[Image:{{{image|{{{1|}}}}}}_am-artif.gif‎|{{{link|{{{1|}}}}}}|link={{{link|{{{1|}}}}}}]]{{{noname|[[{{{link|{{{1|}}}}}}|{{{1|}}}]]}}}{{{source|}}}</includeonly><noinclude>
<includeonly>[[Image:{{{image|{{{1|}}}}}}_am-artif.gif‎|{{{1|}}}|link={{{link|{{#switch:{{{1|}}}| Horn of the Abyss|Armageddon's Blade= {{{1|}}} (artifact)|{{{1|}}}}}}}}]]{{{noname|[[{{{link|{{#switch:{{{1|}}}| Horn of the Abyss|Armageddon's Blade= {{{1|}}} (artifact)|{{{1|}}}}}}}}|{{{1|}}}]]}}}{{{source|}}}</includeonly><noinclude>
'''An''' is an acronym of '''A'''rtifact '''N'''ame.
'''An''' is an acronym of '''A'''rtifact '''N'''ame.


==Use==
==Use==
It's for [[List_of_artifacts_sorted_by_class|lists]], to show artifact image and name with a link to it
It's for [[List_of_artifacts_sorted_by_class|lists]], to show artifact image and name with a link to it.
 
NOTE: Artifacts with ambiguous names (e.g. Armageddon's Blade and Horn of the Abyss) are automatically linked to the correct page.


=====Variables=====
=====Variables=====
Line 21: Line 23:


==Example 2==
==Example 2==
<pre>{{An|Horn of the Abyss|link=Horn of the Abyss (artifact)|source={{-}}{{withhota}}}}</pre>
<pre>{{An|Horn of the Abyss|source={{-}}{{withhota}}}}</pre>
gives
 
{{An|Horn of the Abyss|source={{-}}{{withhota}}}}
 
==Example 3==
<pre>{{An|Armageddon's Blade}}</pre>
gives
gives


{{An|Horn of the Abyss|link=Horn of the Abyss (artifact)|source={{-}}{{withhota}}}}
{{An|Armageddon's Blade}}


=== See also ===
=== See also ===

Revision as of 19:43, 30 September 2024

An is an acronym of Artifact Name.

Use

It's for lists, to show artifact image and name with a link to it.

NOTE: Artifacts with ambiguous names (e.g. Armageddon's Blade and Horn of the Abyss) are automatically linked to the correct page.

Variables
  1. name
image
link
source (you have to add the {{-}} inside this variable if you want it)
Code
{{An|'Artifact name'}}

Example

{{An|Armor of the Damned}}

gives:

Armor of the DamnedArmor of the Damned

Example 2

{{An|Horn of the Abyss|source={{-}}{{withhota}}}}

gives

Horn of the AbyssHorn of the Abyss Horn of the Abyss

Example 3

{{An|Armageddon's Blade}}

gives

Armageddon's BladeArmageddon's Blade

See also