Template:Medium character link: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Updated) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ | <includeonly><onlyinclude>{{Character link|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=30}}</onlyinclude></includeonly><noinclude>{{Documentation|content= | ||
{{MdCharLink | {{Shortcut|MdCharLink}} | ||
As [[Template:Character link]] but sets the default size to 30 instead of 25. | |||
== Examples == | |||
{{Template demo | |||
| <nowiki>{{MdCharLink|Shadowheart}}</nowiki> | |||
| <nowiki>{{MdCharLink|Ethel|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki> | |||
}} | |||
== See also == | |||
* {{Tlink|LgCharLink}} - sets the default size to 40 instead of 25 | |||
* {{Tlink|SmCharLink}} - sets the default size to 20 instead of 25 | |||
== Template data == | == Template data == | ||
Line 35: | Line 42: | ||
} | } | ||
</templatedata> | </templatedata> | ||
}}</noinclude> | }} | ||
[[Category:Templates]] | |||
[[Category:Link templates]] | |||
</noinclude> |
Latest revision as of 19:48, 10 February 2025
Template documentation
Shortcut
- {{MdCharLink}}
As Template:Character link but sets the default size to 30 instead of 25.
Examples
Markup | Renders as |
---|---|
{{MdCharLink|Shadowheart}} | Shadowheart |
{{MdCharLink|Ethel|Auntie Ethel|icon=Portrait Ethel Human.png}} | Auntie Ethel |
See also
- {{LgCharLink}} - sets the default size to 40 instead of 25
- {{SmCharLink}} - sets the default size to 20 instead of 25
Template data
Inserts a link for a character.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | 1 | Name of the character | Page name | required |
alias | 2 | Alias for the link text | String | optional |
icon | icon | Specify a different icon | File | optional |