Template:CON1CharLink: Difference between revisions

From Naruto: Wiki of Ninja
Jump to navigation Jump to search
(Created page with "{{#vardefine:name|{{#switch: {{{1}}} | hak = Haku | iru = Iruka | kk2 = Sharingan Kakashi | kks = Kakashi | lee = Lee | na2 = Nine-Tailed Naruto | nar = Naruto | sak = Sakura...")
 
No edit summary
Line 12: Line 12:
}}
}}
}}[[Image:icon_hud_con_{{{1}}}.png |{{{2}}}px|link={{#var:name}} (CON)]] {{#if: {{{3|}}}
}}[[Image:icon_hud_con_{{{1}}}.png |{{{2}}}px|link={{#var:name}} (CON)]] {{#if: {{{3|}}}
   | {{#ifeq: {{{3}}} | . | [[{{#var:name}} (CON2)|{{#var:name}}]] | [[{{#var:name}} (CON)|{{{3}}}]]}}
   | {{#ifeq: {{{3}}} | . | [[{{#var:name}} (CON)|{{#var:name}}]] | [[{{#var:name}} (CON)|{{{3}}}]]}}
   |  
   |  
}}<noinclude>
}}<noinclude>

Revision as of 07:40, 15 November 2021

[[Image:icon_hud_con_{{{1}}}.png |{{{2}}}px|link= (CON)]]

By popular demand, this is a template for a slightly more robust character link in an article (now updated for more various uses).

Put in the three-letter image reference name, the icon size, and the text to appear next to the icon (if left blank, nothing will display, and if a period is placed, the character's name will appear).

This text

{{CON1CharLink|nar|48}}

will display:


This text

{{CON1CharLink|nar|24|.}}

will display:

Naruto


This text

{{CON1CharLink|nar|24|Believe it!}}

will display:

Believe it!


List of character codes:

Reference Character
hak Haku
iru Iruka
kks Kakashi
kk2 Sharingan Kakashi
lee Lee
na2 Nine-Tailed Naruto
nar Naruto
sak Sakura
ssk Sasuke
zab Zabuza