Template:RaceInfo: Difference between revisions

From MB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
'''Example:'''
'''Example:'''
<pre>{{RaceInfo|Mortal}}</pre>
<pre>{{RaceInfo|Mortal}}</pre>
This will:
1. Display the race name as a clickable link
2. Show a hover tooltip with race information
3. Add the character to the appropriate race categories
4. Link to the full race page when clicked
== Example Output ==
For "Mortal":
* Shows: <span style="color: #4CAF50; font-weight: bold;">Mortal</span> (with hover tooltip)
* Adds: [[Category:Standard Characters]] and [[Category:Mortal Characters]]
* Links to: [[Mortal (Race)]]
== See Also ==
* [[Template:RaceInfobox]] - For displaying full race information on race pages


[[Category:Race Templates]]
[[Category:Race Templates]]
</noinclude>
</noinclude>

Revision as of 09:30, 21 January 2026


Usage

Use in character infoboxes. Hover over the race name to see information.

Syntax:

{{RaceInfo|Race Name}}

Example:

{{RaceInfo|Mortal}}

This will: 1. Display the race name as a clickable link 2. Show a hover tooltip with race information 3. Add the character to the appropriate race categories 4. Link to the full race page when clicked

Example Output

For "Mortal":

  • Shows: Mortal (with hover tooltip)
  • Adds: and
  • Links to: Mortal (Race)

See Also