Template:LgCharLink: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><onlyinclude>{{CharLink|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=40}}</onlyinclude></includeonly><noinclude>{{documentation|content= {{LgCharLink|Shadowheart}} {{LgCharLink|Lae'zel|Bae'zel}} As Template:CharLink but sets the default size to 40 instead of 25. Category:Templates == Template data == <templatedata> { "params": { "1": { "description": "Name of the character", "required": true, "label": "name", "type": "wiki-page-name...")
 
(New demo template)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{CharLink|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=40}}</onlyinclude></includeonly><noinclude>{{documentation|content=
<includeonly><onlyinclude>{{CharLink|{{{1}}}|{{{2|{{{1}}}}}}|icon={{{icon|}}}|w=40}}</onlyinclude></includeonly><noinclude>
 
{{LgCharLink|Shadowheart}}
 
{{LgCharLink|Lae'zel|Bae'zel}}
 
As [[Template:CharLink]] but sets the default size to 40 instead of 25.
As [[Template:CharLink]] but sets the default size to 40 instead of 25.


[[Category:Templates]]
== Examples ==
{{Template demo
| <nowiki>{{LgCharLink|Lae'zel|Bae'zel}}</nowiki>
| <nowiki>{{LgCharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}</nowiki>
}}


== Template data ==
== Template data ==
Line 38: Line 37:
}
}
</templatedata>
</templatedata>
}}</noinclude>
[[Category:Templates]]
[[Category:Icon templates]]
</noinclude>

Latest revision as of 05:43, 20 July 2024

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

Examples

Markup Renders as
{{LgCharLink|Lae'zel|Bae'zel}}
Lae'zel Bae'zel
{{LgCharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}
Auntie 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