Template:CON1CharLink: Difference between revisions
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 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
| kk2 = Sharingan Kakashi | | kk2 = Sharingan Kakashi | ||
| kks = Kakashi | | kks = Kakashi | ||
| lee = Lee | | lee = Rock Lee | ||
| na2 = Nine-Tailed Naruto | | na2 = Nine-Tailed Naruto | ||
| nar = Naruto | | nar = Naruto | ||
| 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}} ( | | {{#ifeq: {{{3}}} | . | [[{{#var:name}} (CON)|{{#var:name}}]] | [[{{#var:name}} (CON)|{{{3}}}]]}} | ||
| | | | ||
}}<noinclude> | }}<noinclude> | ||
| Line 69: | Line 69: | ||
|- | |- | ||
| lee | | lee | ||
| Lee | | Rock Lee | ||
|- | |- | ||
| na2 | | na2 | ||
Latest revision as of 05:12, 2 January 2022
[[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:
This text
{{CON1CharLink|nar|24|Believe it!}}
will display:
List of character codes:
| Reference | Character |
|---|---|
| hak | Haku |
| iru | Iruka |
| kks | Kakashi |
| kk2 | Sharingan Kakashi |
| lee | Rock Lee |
| na2 | Nine-Tailed Naruto |
| nar | Naruto |
| sak | Sakura |
| ssk | Sasuke |
| zab | Zabuza |