Template:RaceInfo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Use in character infoboxes. | Use in character infoboxes. Shows race name as a clickable colored link with hover description. | ||
'''Syntax:''' | '''Syntax:''' | ||
| Line 12: | Line 12: | ||
This will: | This will: | ||
1. Display the race name as a clickable | 1. Display the race name as a colored clickable wikilink | ||
2. Show a hover tooltip | 2. Show race information in a hover tooltip | ||
3. Add the character to | 3. Add the character to appropriate race categories | ||
4. | 4. Use built-in browser tooltips (no JavaScript required) | ||
== Example Output == | == Example Output == | ||
| Line 25: | Line 25: | ||
== See Also == | == See Also == | ||
* [[Template:RaceInfobox]] - For displaying full race information on race pages | * [[Template:RaceInfobox]] - For displaying full race information on race pages | ||
* [[Module:RaceData]] - The underlying module | |||
[[Category:Race Templates]] | [[Category:Race Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 10:13, 22 January 2026
Usage
Use in character infoboxes. Shows race name as a clickable colored link with hover description.
Syntax:
{{RaceInfo|Race Name}}
Example:
{{RaceInfo|Mortal}}
This will: 1. Display the race name as a colored clickable wikilink 2. Show race information in a hover tooltip 3. Add the character to appropriate race categories 4. Use built-in browser tooltips (no JavaScript required)
Example Output
For "Mortal":
- Shows: Mortal (with hover tooltip)
- Adds: and
- Links to: Mortal (Race)
See Also
- Template:RaceInfobox - For displaying full race information on race pages
- Module:RaceData - The underlying module