Template:ArchetypeIcon: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
(Adding Sentinel support)
(default link and alt attributes)
 
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
| Blaster = [[Image:Archetypeicon_blaster.png|{{{2|32px}}}]]
| Blaster = [[Image:Archetypeicon_blaster.png|{{{2|32px}}}|link={{{link|Blaster}}}|alt={{{alt|Blaster}}}]]
| Controller = [[Image:Archetypeicon_controller.png|{{{2|32px}}}]]
| Controller = [[Image:Archetypeicon_controller.png|{{{2|32px}}}|link={{{link|Controller}}}|alt={{{alt|Controller}}}]]
| Defender = [[Image:Archetypeicon_defender.png|{{{2|32px}}}]]
| Defender = [[Image:Archetypeicon_defender.png|{{{2|32px}}}|link={{{link|Defender}}}|alt={{{alt|Defender}}}]]
| Scrapper = [[Image:Archetypeicon_scrapper.png|{{{2|32px}}}]]
| Scrapper = [[Image:Archetypeicon_scrapper.png|{{{2|32px}}}|link={{{link|Scrapper}}}|alt={{{alt|Scrapper}}}]]
| Tanker = [[Image:Archetypeicon_tanker.png|{{{2|32px}}}]]
| Tanker = [[Image:Archetypeicon_tanker.png|{{{2|32px}}}|link={{{link|Tanker}}}|alt={{{alt|Tanker}}}]]
| Peacebringer = [[Image:Archetypeicon_peacebringer.png|{{{2|32px}}}]]
| Peacebringer = [[Image:Archetypeicon_peacebringer.png|{{{2|32px}}}|link={{{link|Peacebringer}}}|alt={{{alt|Peacebringer}}}]]
| Warshade = [[Image:Archetypeicon_warshade.png|{{{2|32px}}}]]
| Warshade = [[Image:Archetypeicon_warshade.png|{{{2|32px}}}|link={{{link|Warshade}}}|alt={{{alt|Warshade}}}]]
| Brute = [[Image:V_archetypeicon_brute.png|{{{2|32px}}}]]
| Brute = [[Image:V_archetypeicon_brute.png|{{{2|32px}}}|link={{{link|Brute}}}|alt={{{alt|Brute}}}]]
| Stalker = [[Image:V_archetypeicon_stalker.png|{{{2|32px}}}]]
| Stalker = [[Image:V_archetypeicon_stalker.png|{{{2|32px}}}|link={{{link|Stalker}}}|alt={{{alt|Stalker}}}]]
| Mastermind = [[Image:V_archetypeicon_mastermind.png|{{{2|32px}}}]]
| Mastermind = [[Image:V_archetypeicon_mastermind.png|{{{2|32px}}}|link={{{link|Mastermind}}}|alt={{{alt|Mastermind}}}]]
| Dominator = [[Image:V_archetypeicon_dominator.png|{{{2|32px}}}]]
| Dominator = [[Image:V_archetypeicon_dominator.png|{{{2|32px}}}|link={{{link|Dominator}}}|alt={{{alt|Dominator}}}]]
| Corruptor = [[Image:V_archetypeicon_corruptor.png|{{{2|32px}}}]]
| Corruptor = [[Image:V_archetypeicon_corruptor.png|{{{2|32px}}}|link={{{link|Corruptor}}}|alt={{{alt|Corruptor}}}]]
| Arachnos Widow = [[Image:V_archetypeicon_arachnos_widow.png|{{{2|32px}}}]]
| Arachnos Widow = [[Image:V_archetypeicon_arachnos_widow.png|{{{2|32px}}}|link={{{link|Arachnos Widow}}}|alt={{{alt|Arachnos Widow}}}]]
| Arachnos Soldier = [[Image:V_archetypeicon_arachnos_soldier.png|{{{2|32px}}}]]
| Arachnos Soldier = [[Image:V_archetypeicon_arachnos_soldier.png|{{{2|32px}}}|link={{{link|Arachnos Soldier}}}|alt={{{alt|Arachnos Soldier}}}]]
| Sentinel = [[Image:Archetypeicon sentinel.png|{{{2|32px}}}]]
| Sentinel = [[Image:Archetypeicon sentinel.png|{{{2|32px}}}|link={{{link|Sentinel}}}|alt={{{alt|Sentinel}}}]]
| [[Image:icon_clue_generic.png|{{{2|32px}}}]]
| [[Image:icon_clue_generic.png|{{{2|32px}}}|link={{{link|}}}|alt={{{alt|unknown archetype}}}]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 07:11, 9 January 2024

[edit] [purge] Documentation

Usage

{{ArchetypeIcon|<Archetype>|<Size (optional)>|link=<Link (optional)>|alt=<Alt text (optional)>}}

Default link is the archetype's page. Default alt text is the archetype's name.

Results Input
unknown archetype {{ArchetypeIcon|Balster}} (misspelled/incorrect archetype)
Blaster {{ArchetypeIcon|Blaster|ndsss}} (incorrect size is ignored)
Results Input
Blaster {{ArchetypeIcon|Blaster|20px}}
Controller {{ArchetypeIcon|Controller|50px}}
Defender {{ArchetypeIcon|Defender}}
Scrapper {{ArchetypeIcon|Scrapper}}
Tanker {{ArchetypeIcon|Tanker}}
Peacebringer {{ArchetypeIcon|Peacebringer}}
Warshade {{ArchetypeIcon|Warshade}}
Results Input
Brute {{ArchetypeIcon|Brute|20px}}
Stalker {{ArchetypeIcon|Stalker|50px}}
Mastermind {{ArchetypeIcon|Mastermind}}
Dominator {{ArchetypeIcon|Dominator}}
Corruptor {{ArchetypeIcon|Corruptor}}
Arachnos Soldier {{ArchetypeIcon|Arachnos Soldier}}
Arachnos Widow {{ArchetypeIcon|Arachnos Widow}}

See also

{{AlignmentIcon}}