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
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:name|{{#switch: {{{1}}}
{{#vardefine:name|{{#switch: {{{1}}}
| gai = Guy
| gai = Might Guy
| gar = Gaara
| gar = Gaara
| hin = Hinata
| hin = Hinata
Line 9: Line 9:
| knk = Kankuro
| knk = Kankuro
| ksm = Kisame
| ksm = Kisame
| lee = Lee
| lee = Rock Lee
| nej = Neji
| nej = Neji
| nrt = Naruto
| nrt = Naruto
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>
Line 32: Line 32:
This text
This text


<pre>{{RevCharLink|nrt|48}}</pre>
<pre>{{Rev1CharLink|nrt|48}}</pre>


will display:
will display:


:{{RevCharLink|nrt|48}}
:{{Rev1CharLink|nrt|48}}




Line 42: Line 42:
This text
This text


<pre>{{RevCharLink|nrt|24|.}}</pre>
<pre>{{Rev1CharLink|nrt|24|.}}</pre>


will display:
will display:


:{{RevCharLink|nrt|24|.}}
:{{Rev1CharLink|nrt|24|.}}




Line 52: Line 52:
This text
This text


<pre>{{RevCharLink|nrt|24|Believe it!}}</pre>
<pre>{{Rev1CharLink|nrt|24|Believe it!}}</pre>


will display:
will display:


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




Line 67: Line 67:
|-
|-
| gai
| gai
| Guy
| Might Guy
|-
|-
| gar
| gar
Line 94: Line 94:
|-
|-
| lee
| lee
| Lee
| Rock Lee
|-
|-
| nej
| nej

Latest revision as of 05:14, 2 January 2022

[[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

{{Rev1CharLink|nrt|48}}

will display:


This text

{{Rev1CharLink|nrt|24|.}}

will display:

Naruto


This text

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

will display:

Believe it!


List of character codes:

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