Template:An: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(an/an2 swap)
Line 1: Line 1:
<includeonly>[[Image:Artifact_{{{image|{{{1|}}}}}}.gif‎|{{{link|{{{1|}}}}}}|link={{{link|{{{1|}}}}}}]]{{-}}[[{{{link|{{{1|}}}}}}|{{{1|}}}]]{{{source|}}}</includeonly><noinclude>
<includeonly>[[Image:{{{image|{{{1|}}}}}}_am-artif.gif‎|{{{link|{{{1|}}}}}}|link={{{link|{{{1|}}}}}}]]{{-}}[[{{{link|{{{1|}}}}}}|{{{1|}}}]]{{{source|}}}</includeonly><noinclude>
'''An''' is an acronym of '''A'''rtifact '''N'''ame.
'''An''' is an acronym of '''A'''rtifact '''N'''ame.


Line 7: Line 7:
=====Variables=====
=====Variables=====
# name
# name
: image=
: image
: link=
: link
: source= (you have to add the <nowiki>{{-}}</nowiki> inside this variable if you want it)
: source (you have to add the <nowiki>{{-}}</nowiki> inside this variable if you want it)


=====Code=====
=====Code=====
Line 15: Line 15:


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


{{An|Spyglass}}
{{An|Armor of the Damned}}


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


{{An|Armageddon's Blade|link=Armageddon's Blade (artifact)|source={{-}}{{withab}}}}
{{An|Horn of the Abyss|link=Horn of the Abyss (artifact)|source={{-}}{{withhota}}}}
== See also ==
 
=== See also ===
* [[:Template:Ar]]
* [[:Template:An2]]
* [[:Template:An2]]
* [[:Template:Ar]]
* [[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 15:01, 25 May 2021

An is an acronym of Artifact Name.

Use

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

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 Damned Armor of the Damned

Example 2

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

gives

Horn of the Abyss (artifact) Horn of the Abyss Horn of the Abyss

See also