Template:An: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Image:Artifact_{{{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=====
1=name
# name
: image
: link
: source (you have to add the <nowiki>{{-}}</nowiki> inside this variable if you want it)


=====Code=====
=====Code=====
Line 12: 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|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:An2]]
* [[Template_talk:An2/An-An2_comparison|An/An2_comparison]]


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

Latest revision as of 01:15, 9 October 2024

An is an acronym of Artifact Name.

Use[edit | hide | hide all]

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[edit | hide]
  1. name
image
link
source (you have to add the {{-}} inside this variable if you want it)
Code[edit | hide]
{{An|'Artifact name'}}

Example[edit | hide]

{{An|Armor of the Damned}}

gives:

Armor of the DamnedArmor of the Damned

Example 2[edit | hide]

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

gives

Horn of the AbyssHorn of the Abyss Horn of the Abyss

Example 3[edit | hide]

{{An|Armageddon's Blade}}

gives

Armageddon's BladeArmageddon's Blade

See also[edit | hide]