Template:GNTEXCharLink: Difference between revisions

From Naruto: Wiki of Ninja
Jump to navigation Jump to search
(Created page with "{{#vardefine:name|{{#switch: {{{1}}} | dei = Deidara | gai = Guy | gar = Gaara | hrk = Hiruko | ita = Itachi | knk = Kankuro | kks = Kakashi | ksm = Kisame | lee = Lee | nej =...")
 
No edit summary
Line 15: Line 15:
| ten = Tenten
| ten = Tenten
}}
}}
}}[[Image:icon_gntex_{{{1}}}.png |{{{2}}}px|link={{#var:name}} (GNTEX)]] {{#if: {{{3|}}}
}}[[Image:icon_vs_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}}}]]}}
   |  
   |  

Revision as of 02:09, 7 November 2021

[[Image:icon_vs_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:

Naruto


This text

{{GNTEXCharLink|nrt|24|Believe it!}}

will display:

Believe it!


List of character codes:

Reference Character
dei Deidara
gai Guy
gar Gaara
hrk Hiruko
ita Itachi
knk Kankuro
kks Kakashi
ksm Kisame
lee Lee
nej Neji
nrt Naruto
skr Sakura
tmr Temari
ten Tenten