Template:An: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(fixed link on ambiguous artifacts.)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Image:Artifact_{{{image|{{{1|}}}}}}.gif‎|{{{1|}}}|link={{{1|}}}]]{{{space|}}}[[{{{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 9: Line 11:
: image
: image
: link
: link
: space (between image and letters)
: source (you have to add the <nowiki>{{-}}</nowiki> inside this variable if you want it)
: source


=====Code=====
=====Code=====
Line 16: Line 17:


==Example==
==Example==
<pre>{{An|Spyglass}}</pre>
<pre>{{An|Armor of the Damned}}</pre>
gives:
gives:


[[Image:Artifact_Spyglass.gif‎|Spyglass]][[Spyglass]]
{{An|Armor of the Damned}}


==Example 2==
==Example 2==
{{An|Horn of the Abyss|image=Horn of the Abyss (artifact)|link=Horn of the Abyss (artifact)|space={{-}}|source={{-}}{{withhota}}}}
<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
 
{{An|Armageddon's Blade}}


=== See also ===
=== See also ===
* [[:Template:Ar]]
* [[:Template:Ar]]
* [[:Template:An2]]
* [[Template_talk:An2/An-An2_comparison|An/An2_comparison]]


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

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