Template:CharLink: Difference between revisions
Jump to navigation
Jump to search
(Removed errant trailing whitespace) |
No edit summary Tag: Reverted |
||
Line 10: | Line 10: | ||
|- | |- | ||
| <code><nowiki>{{CharLink|Lae'zel|Bae'zel}}</nowiki></code> | | <code><nowiki>{{CharLink|Lae'zel|Bae'zel}}</nowiki></code> | ||
| {{CharLink|Lae'zel|Bae'zel}} | | {{CharLink|Lae'zel|Bae'zel}}. | ||
|- | |- | ||
| <code><nowiki>{{CharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki></code> | | <code><nowiki>{{CharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki></code> | ||
| {{CharLink|Auntie Ethel|icon=Portrait Ethel Human.png}} | | {{CharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}. | ||
|- | |- | ||
| <code><nowiki>{{CharLink|Volo|w=40}}</nowiki></code> | | <code><nowiki>{{CharLink|Volo|w=40}}</nowiki></code> | ||
| {{CharLink|Volo|w=40}} | | {{CharLink|Volo|w=40}}. | ||
|- | |- | ||
| <code><nowiki>{{CharLink|Unknown Character}}</nowiki></code> | | <code><nowiki>{{CharLink|Unknown Character}}</nowiki></code> | ||
| {{CharLink|Unknown Character}} | | {{CharLink|Unknown Character}}. | ||
|} | |} | ||
Revision as of 17:28, 19 July 2024
See also: Template:MdCharLink and Template:LgCharLink
This template creates a link to a character with an accompanying portrait icon. It expects an icon at File:Portrait {Name}.png, but this icon file can be overridden with the icon field.
This template has an associated maintenance category at Category:Pages with missing charlink portraits.
Examples
Code | Result |
---|---|
{{CharLink|Lae'zel|Bae'zel}}
|
Bae'zel. |
{{CharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}
|
Auntie Ethel. |
{{CharLink|Volo|w=40}}
|
Volo. |
{{CharLink|Unknown Character}}
|
Unknown Character. |
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 |
width | w | Width (and height) of icon
| Number | optional |