Template:Rev1CharLink: Difference between revisions

From Naruto: Wiki of Ninja
Jump to navigation Jump to search
(Created page with "{{#vardefine:name|{{#switch: {{{1}}} | gai = Guy | gar = Gaara | hin = Hinata | ino = Ino | ita = Itachi | jry = Jiraiya | kks = Kakashi | knk = Kankuro | ksm = Kisame | lee =...")
 
No edit summary
Line 21: Line 21:
| tnd = Tsunade
| tnd = Tsunade
}}
}}
}}[[Image:icon_r1_{{{1}}}.png |{{{2}}}px|link={{#var:name}} (Rev2)]] {{#if: {{{3|}}}
}}[[Image:icon_r1_{{{1}}}.png |{{{2}}}px|link={{#var:name}} (Rev1)]] {{#if: {{{3|}}}
   | {{#ifeq: {{{3}}} | . | [[{{#var:name}} (Rev2)|{{#var:name}}]] | [[{{#var:name}} (Rev2)|{{{3}}}]]}}
   | {{#ifeq: {{{3}}} | . | [[{{#var:name}} (Rev1)|{{#var:name}}]] | [[{{#var:name}} (Rev1)|{{{3}}}]]}}
   |  
   |  
}}<noinclude>
}}<noinclude>

Revision as of 07:30, 15 November 2021

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

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

{{RevCharLink|nrt|48}}

will display:


This text

{{RevCharLink|nrt|24|.}}

will display:

Naruto


This text

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

will display:

Believe it!


List of character codes:

Reference Character
gai Guy
gar Gaara
hin Hinata
ino Ino
ita Itachi
jry Jiraiya
kks Kakashi
knk Kankuro
ksm Kisame
lee Lee
nej Neji
nrt Naruto
oro Orochimaru
sin Shino
skm Shikamaru
skr Sakura
ssk Sasuke
tmr Temari
ten Tenten
tnd Tsunade