Template:ATR: Difference between revisions
Jump to navigation
Jump to search
ShushMaster (talk | contribs) (test) |
mNo edit summary |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
|{{-}}{{ | | style="border-top: 1px solid #{{Orange 2}};"|{{-}}{{An2|image={{{image|{{{1}}}}}}|link={{{link|{{{1}}}}}}|source={{{source|}}}|{{{1}}}}}||style="border-top: 1px solid #{{Orange 2}}; text-align:center;"|{{{slotlink|[[{{{2}}}]]}}}||style="border-top: 1px solid #{{Orange 2}}; text-align:center;"|[[{{{3}}}]]||style="border-top: 1px solid #{{Orange 2}}; text-align:right;"|{{{4}}}{{-}}{{G}}{{-}}{{-}} | ||
| style="font-size: 90%;" |{{{5}}}{{{effect_source|}}}||{{{7|Part of [[{{{6}}}]]}}}{{{combo_source|}}}</includeonly> | | style="border-top: 1px solid #{{Orange 2}}; font-size: 90%;" |{{{5}}}{{{effect_source|}}}||style="border-top: 1px solid #{{Orange 2}};"|{{{7|Part of [[{{{6}}}]]}}}{{{combo_source|}}}</includeonly> | ||
<noinclude>'''ATR''' is an acronym of '''A'''rtifact '''T'''able' ''R'''ow. It is used together with [[:Template:Artifact table]]. | <noinclude>'''ATR''' is an acronym of '''A'''rtifact '''T'''able '''R'''ow. It is used together with [[:Template:Artifact table]]. | ||
==Use== | ==Use== | ||
Line 19: | Line 19: | ||
* source | * source | ||
* combo_source | * combo_source | ||
* slotlink | |||
=====Code===== | =====Code===== | ||
<pre>{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'|'use if empty Combo'}}</pre> | <pre>{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'|'use if empty Combo'}}</pre> | ||
Line 34: | Line 34: | ||
|[[Image:Artifact_Spyglass.gif|Spyglass]][[Spyglass]]||Misc.||Treasure||align=right|5000 {{gold}}||[[Scouting Range]] +1|| | |[[Image:Artifact_Spyglass.gif|Spyglass]][[Spyglass]]||Misc.||Treasure||align=right|5000 {{gold}}||[[Scouting Range]] +1|| | ||
|} | |} | ||
and | |||
<pre>{{Artifact table|}} | |||
{{Ar|Armageddon's Blade|link=Armageddon's Blade (artifact)|source={{-}}{{withab}}|Weapon|Relic|50000| [[Attack]] +3, [[Defense]] +3<br />[[Knowledge]] +6, [[Spell Power]] +3<br />Spell [[Armageddon]] expert<br />Immune to [[Armageddon]]||}} | |||
|}</pre> | |||
gives | |||
{{Artifact table|}} | {{Artifact table|}} | ||
{{Ar| | {{Ar|Armageddon's Blade|link=Armageddon's Blade (artifact)|source={{-}}{{withab}}|Weapon|Relic|50000| [[Attack]] +3, [[Defense]] +3<br />[[Knowledge]] +6, [[Spell Power]] +3<br />Spell [[Armageddon]] expert<br />Immune to [[Armageddon]]||}} | ||
|} | |} | ||
[[Category: Table templates|Artifact row]]</noinclude> | [[Category: Table templates|Artifact row]]</noinclude> |
Latest revision as of 20:18, 7 May 2024
ATR is an acronym of Artifact Table Row. It is used together with Template:Artifact table.
Use[edit]
It's for lists table use only to use with template:At template, to show artifact image, name and all other info in table.
Variables[edit]
- name
- slot
- class
- cost
- effect
- Combo Artifact name
- Combo slots / Used if Combo left empty
- image
- link
- source
- combo_source
- slotlink
Code[edit]
{{Ar|'Artifact name'|'slot'|'class'|'cost'|'effect'|'Combo Artifact name'|'use if empty Combo'}}
Example[edit]
{{At|Miscellaneous}} {{Ar|Spyglass|Misc.|Treasure|5000|[[Scouting Range]] +1}}
gives:
Artifact | Slot | Class | Price | Effect | Combination |
---|---|---|---|---|---|
Spyglass | Misc. | Treasure | 5000 | Scouting Range +1 |
and
{{Artifact table|}} {{Ar|Armageddon's Blade|link=Armageddon's Blade (artifact)|source={{-}}{{withab}}|Weapon|Relic|50000| [[Attack]] +3, [[Defense]] +3<br />[[Knowledge]] +6, [[Spell Power]] +3<br />Spell [[Armageddon]] expert<br />Immune to [[Armageddon]]||}} |}
gives
Artifact | Slot | Class | Cost | Effect | Combination |
---|---|---|---|---|---|
Armageddon's Blade | Weapon | Relic | 50000 | Attack +3, Defense +3 Knowledge +6, Spell Power +3 Spell Armageddon expert Immune to Armageddon |