Template:MdCharLink: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Updated documentation)
(New demo template)
 
Line 3: Line 3:


== Examples ==
== Examples ==
{|class="wikitable"
{{Template demo
! Code !! Result
| <nowiki>{{MdCharLink|Shadowheart}}</nowiki>
|-
| <nowiki>{{MdCharLink|Ethel|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki>
| <code><nowiki>{{MdCharLink|Shadowheart}}</nowiki></code>
}}
| {{MdCharLink|Shadowheart}}
|-
| <code><nowiki>{{MdCharLink|Ethel|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki></code>
| {{MdCharLink|Ethel|Auntie Ethel|icon=Portrait Ethel Human.png}}
|}


== Template data ==
== Template data ==

Latest revision as of 05:44, 20 July 2024

As Template:CharLink but sets the default size to 30 instead of 25.

Examples

Markup Renders as
{{MdCharLink|Shadowheart}}
Shadowheart Shadowheart
{{MdCharLink|Ethel|Auntie Ethel|icon=Portrait Ethel Human.png}}
Ethel Auntie Ethel

Template data

Inserts a link for a character.

Template parameters

ParameterDescriptionTypeStatus
name1

Name of the character

Page namerequired
alias2

Alias for the link text

Stringoptional
iconicon

Specify a different icon

Fileoptional