Template:StoryIcon: Difference between revisions

From Elwiki
mNo edit summary
No edit summary
Line 357: Line 357:
<!-- Abyss -->|Rabbit3=Diana
<!-- Abyss -->|Rabbit3=Diana
<!-- Misc -->|Lexter=Guardian Knights|Harmony=Harmony (NPC)|Bliss=Bliss (NPC)
<!-- Misc -->|Lexter=Guardian Knights|Harmony=Harmony (NPC)|Bliss=Bliss (NPC)
}}}}{{#vardefine:trimmed|{{#regex:{{#regex:{{#var:name}}|/[.]/|}}|/\d/|}}}}[[File:Story Quest Icon - {{#var:name}}.png|{{#var:size}}|link={{#if:{{{2|{{{link|}}}}}}|{{{2|{{{link|}}}}}}|{{#if:{{#var:link}}|{{#var:link}}|{{#ifexist:{{#var:trimmed}}|{{#var:trimmed}}}}}}}}]]</includeonly>
}}}}{{#vardefine:trimmed|{{#regex:{{#regex:{{#var:name}}|/[.]/|}}|/\d/|}}}}[[File:Story Quest Icon - {{#var:name}}.png|{{#var:size}}|link={{#if:{{{2|{{{link|}}}}}}|{{{2|{{{link|}}}}}}|{{#if:{{#var:link}}|{{#var:link}}|{{#ifexist:{{#var:trimmed}}|{{#var:trimmed}}}}}}}}]]</includeonly><noinclude>{{Doc}}</noinclude>

Revision as of 00:48, 8 October 2022

Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:StoryIcon/doc.

This template is meant to be used mainly in Story or Dungeon pages. It will add an icon that links to the character it references. The link can be changed through the second parameter.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

The name of the Character/NPC as it is written in the table below.

Example
Elsword
Stringrequired
Link2 link

An alternative link, which will override the default one.

Stringoptional

Usage

  {{StoryIcon
    | (name)
    | link=
  }}

Examples

  • {{StoryIcon|Blu}} will return:
  • {{StoryIcon|Com Device|link=Asella}} and {{StoryIcon|Com Device|Asella}} will return:

List of Icons

  • Main Characters
  • Regional NPCs
  • Miscellaneous NPCs

{{

Icon
Name
(link)
Elsword
(Elsword)
Elsword2
(Elsword)
LK
(Lord Knight)
KE
(Knight Emperor)
ESElsword
(Elsword (ELSTAR))
HEElsword
(Elsword (Heart El))
Aisha
(Aisha)
EM
(Elemental Master)
AS
(Aether Sage)
Icon
Name
(link)
Rena
(Rena)
GA
(Grand Archer)
DyB
(Daybreaker)
Raven
(Raven)
Raven2
(Raven)
Raven3
(Raven)
RF
(Reckless Fist)
RH
(Rage Hearts)
Eve
(Eve)
Icon
Name
(link)
CEm
(Code: Empress)
CEs
(Code: Esencia)
Moby Remy Chung
(Chung)
IP
(Iron Paladin)
CC
(Comet Crusader)
Ara
(Ara)
SD
(Sakra Devanam)
Icon
Name
(link)
Aps
(Apsara)
Eun
(Eun)
Eun2
(Eun)
Elesis
(Elesis)
GM
(Grand Master)
ES
(Empire Sword)
Add
(Add)
LP
(Lunatic Psyker)
DB
(Doom Bringer)
Icon
Name
(link)
DB2
(Doom Bringer)
Lu
(Lu/Ciel)
NB
(Noblesse)
Ish
(Innocent)
Ciel
(Lu/Ciel)
RG
(Royal Guard)
Chv
(Innocent)
Rose
(Rose)
FY
(Freyja)
Icon
Name
(link)
Min
(Minerva)
Zero
(Zero)
Ain
(Ain)
Ain2
(Ain)
Ain3
(Ain)
EE
(Erbluhen Emotion)
Blu
(Bluhen)
Laby
(Laby)
RaS
(Radiant Soul)
Icon
Name
(link)
Nisha
(Nisha)
Nisha2
(Nisha)
Noah
(Noah)
Noah2
(Noah)
Lib
(Liberator)
Clamor
(Clamor)
Clamor2
(Clamor)
Clamor3
(Clamor)
Lithia
(Lithia)
Icon
Name
(link)
Lithia2
(Lithia)
Lithia3
(Lithia)
Lithia4
(Lithia)
Gem
(Lithia)

}}