-
-
Notifications
You must be signed in to change notification settings - Fork 41
LFG Player Info
Zhou Fang edited this page Sep 11, 2022
·
4 revisions
LFGPlayerInfo
is a utility for generating player information with custom template.
The idea of template is from the trend of front-end engineering in recent years.
{{classIcon:18}} {{specIcon:14,18}} {{classColorStart}}{{className}} ({{specName}}){{classColorEnd}}{{amountStart}} x {{amount}}{{amountEnd}}
-
{{className}}
- Localized Class Name
-
{{specName}}
- Localized Specialization Name
-
{{amount}}
- The amount of players who has the specialization
-
{{classIcon:SIZE}}
- Height and width are same.
- Sample:
{{specIcon:14}}
-
{{classIcon:HEIGHT,WIDTH}}
- It should be used if you want to get an icon with aspect ratio.
- Sample:
{{specIcon:14,18}}
-
{{specIcon:SIZE}}
- Height and width are same.
- Sample:
{{specIcon:14}}
-
{{specIcon:HEIGHT,WIDTH}}
- It should be used if you want to get an icon with aspect ratio.
- Sample:
{{specIcon:14,18}}
-
{{classColorStart}} ... {{classColorEnd}}
- The text between start and end will be colored with the class color.
- Sample:
{{classColorStart}} some text here {{classColorEnd}}
-
{{amountStart}} ... {{amountEnd}}
- The part between start and end will only be rendered if the amount is larger than 1.
- Sample:
{{amountStart}} x {{amount}}{{amountEnd}}