Template:MdCharLink: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Updated) |
(Updated documentation) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{CharLink|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=30}}</onlyinclude></includeonly><noinclude> | <includeonly><onlyinclude>{{CharLink|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=30}}</onlyinclude></includeonly><noinclude> | ||
As [[Template:CharLink]] but sets the default size to 30 instead of 25. | As [[Template:CharLink]] but sets the default size to 30 instead of 25. | ||
== Examples == | |||
{|class="wikitable" | |||
! Code !! Result | |||
|- | |||
| <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 == | ||
Line 35: | Line 42: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Templates]] | |||
[[Category:Icon templates]] | |||
</noinclude> |
Revision as of 23:45, 9 July 2024
As Template:CharLink but sets the default size to 30 instead of 25.
Examples
Code | Result |
---|---|
{{MdCharLink|Shadowheart}}
|
Shadowheart |
{{MdCharLink|Ethel|Auntie Ethel|icon=Portrait Ethel Human.png}}
|
Auntie Ethel |
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 |