Template:GNTEXCharLink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{#vardefine:name|{{#switch: {{{1}}} | {{#vardefine:name|{{#switch: {{{1}}} | ||
| dei = Deidara | | dei = Deidara | ||
| gai = Guy | | gai = Might Guy | ||
| gar = Gaara | | gar = Gaara | ||
| hrk = Hiruko | | hrk = Hiruko | ||
| Line 8: | Line 8: | ||
| kks = Kakashi | | kks = Kakashi | ||
| ksm = Kisame | | ksm = Kisame | ||
| lee = Lee | | lee = Rock Lee | ||
| nej = Neji | | nej = Neji | ||
| nrt = Naruto | | nrt = Naruto | ||
| Line 15: | Line 15: | ||
| ten = Tenten | | ten = Tenten | ||
}} | }} | ||
}}[[Image: | }}[[Image:icon_gntex_{{{1}}}.png |{{{2}}}px|link={{#var:name}} (GNTEX)]] {{#if: {{{3|}}} | ||
| {{#ifeq: {{{3}}} | . | [[{{#var:name}} (GNTEX)|{{#var:name}}]] | [[{{#var:name}} (GNTEX)|{{{3}}}]]}} | | {{#ifeq: {{{3}}} | . | [[{{#var:name}} (GNTEX)|{{#var:name}}]] | [[{{#var:name}} (GNTEX)|{{{3}}}]]}} | ||
| | | | ||
| Line 64: | Line 64: | ||
|- | |- | ||
| gai | | gai | ||
| Guy | | Might Guy | ||
|- | |- | ||
| gar | | gar | ||
| Line 85: | Line 85: | ||
|- | |- | ||
| lee | | lee | ||
| Lee | | Rock Lee | ||
|- | |- | ||
| nej | | nej | ||
Latest revision as of 05:13, 2 January 2022
[[Image:icon_gntex_{{{1}}}.png |{{{2}}}px|link= (GNTEX)]]
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
{{GNTEXCharLink|nrt|48}}
will display:
This text
{{GNTEXCharLink|nrt|24|.}}
will display:
This text
{{GNTEXCharLink|nrt|24|Believe it!}}
will display:
List of character codes:
| Reference | Character |
|---|---|
| dei | Deidara |
| gai | Might Guy |
| gar | Gaara |
| hrk | Hiruko |
| ita | Itachi |
| knk | Kankuro |
| kks | Kakashi |
| ksm | Kisame |
| lee | Rock Lee |
| nej | Neji |
| nrt | Naruto |
| skr | Sakura |
| tmr | Temari |
| ten | Tenten |