Template:An: Difference between revisions
Jump to navigation
Jump to search
ShushMaster (talk | contribs) (test) |
(fixed link on ambiguous artifacts.) |
||
(23 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===== | ||
# 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| | <pre>{{An|Armor of the Damned}}</pre> | ||
gives: | gives: | ||
{{An|Armor of the Damned}} | |||
==Example 2== | |||
<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
- 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:
Example 2
{{An|Horn of the Abyss|source={{-}}{{withhota}}}}
gives
Example 3
{{An|Armageddon's Blade}}
gives