Template:SmCharLink: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{CharLink|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=20}}</onlyinclude></includeonly><noinclude> | <includeonly><onlyinclude>{{CharLink|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=20}}</onlyinclude></includeonly><noinclude>{{Documentation|content= | ||
As [[Template:CharLink]] but sets the default size to 20 instead of 25. | As [[Template:CharLink]] but sets the default size to 20 instead of 25. | ||
Line 7: | Line 7: | ||
| <nowiki>{{SmCharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki> | | <nowiki>{{SmCharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki> | ||
}} | }} | ||
== See also == | == See also == | ||
Line 42: | Line 41: | ||
} | } | ||
</templatedata> | </templatedata> | ||
}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category: | [[Category:Link templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:46, 19 January 2025
Template documentation
As Template:CharLink but sets the default size to 20 instead of 25.
Examples
Markup | Renders as |
---|---|
{{SmCharLink|Lae'zel|Bae'zel}} | Bae'zel |
{{SmCharLink|Auntie Ethel|icon=Portrait Ethel Human.png}} | Auntie Ethel |
See also
- {{LgCharLink}} - sets the default size to 40 instead of 25
- {{MdCharLink}} - sets the default size to 30 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 |