Template:An: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[Image: | <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 | ||
: | : source (you have to add the <nowiki>{{-}}</nowiki> inside this variable if you want it) | ||
=====Code===== | =====Code===== | ||
Line 16: | Line 17: | ||
==Example== | ==Example== | ||
<pre>{{An| | <pre>{{An|Armor of the Damned}}</pre> | ||
gives: | gives: | ||
{{An|Armor of the Damned}} | |||
==Example 2== | ==Example 2== | ||
{{An|Horn of the Abyss| | <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: | * [[: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]
- 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:
Example 2[edit | hide]
{{An|Horn of the Abyss|source={{-}}{{withhota}}}}
gives
Example 3[edit | hide]
{{An|Armageddon's Blade}}
gives