Wikia

Narutopedia

Changes: Template:Infobox/Naruto/Character

View source

Back to page

(that seems to have worked for a change)
 
(75 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Content only|{{SetPicture|{{{image name|}}}}}{{#set:Name={{PAGENAME}}}}}}<includeonly>{{{top|}}}</includeonly><!--
+
{{#switch:{{NAMESPACE}}
  +
|Infobox
  +
| ={{#set:Name={{PAGENAME}}}}<includeonly>{{{top|}}}</includeonly><!--
   
 
-->{{iBox/Start
 
-->{{iBox/Start
|{{#ifeq:{{{unnamed character|}}}|Yes|''{{#explode:{{PAGENAME}}|(}}''|{{#explode:{{PAGENAME}}|(}}}}
+
|{{#ifeq:{{{unnamed character|}}}|Yes|''{{#explode:{{PAGENAME}}|(}}''|{{#explode:{{PAGENAME}}|(}}}} [{{SERVER}}/wiki/{{#special:Browse}}/{{PAGENAMEE}} {{SERVER}}/extensions/SemanticMediaWiki/skins/images/browse_icon.png]
 
|editlink=Infobox
 
|editlink=Infobox
 
|ref={{Content only|{{{ref|}}}}}
 
|ref={{Content only|{{{ref|}}}}}
Line 8: Line 8:
 
|type=character
 
|type=character
 
}}<!--
 
}}<!--
+
-->{{SetPicture|{{{image name|}}}}}<!--
 
-->{{Infobox/Tabber
 
-->{{Infobox/Tabber
 
|{{{image name|}}}
 
|{{{image name|}}}
Line 14: Line 14:
   
 
-->{{iBox/Header
 
-->{{iBox/Header
|{{#if:{{#ifeq:{{lc:{{#explode:{{#replace:{{PAGENAME}}|&#39;|'}}|(}}}}|{{lc:{{{english}}}}}||{{{english|}}}}}{{{kanji|}}}{{{romaji|}}}|<span class="title">{{translation|<b>{{#ifeq:{{lc:{{#explode:{{#replace:{{PAGENAME}}|&#39;|'}}|(}}}}|{{lc:{{{english}}}}}||{{{english|}}}}}</b>|{{{kanji|}}}|{{{romaji|}}}}}</span>}}{{#if:{{{other<includeonly>|</includeonly>}}}|<nowiki/>
+
|{{#if:{{#ifeq:{{lc:{{#explode:{{PAGENAME}}|(}}}}|{{lc:{{{english}}}}}||{{{english|}}}}}{{{kanji|}}}{{{romaji|}}}|<span class="title">{{translation|<b>{{#ifeq:{{lc:{{#explode:{{PAGENAME}}|(}}}}|{{lc:{{{english}}}}}||{{{english|}}}}}</b>|{{{kanji|}}}|{{{romaji|}}}}}</span>}}{{#if:{{{other<includeonly>|</includeonly>}}}|<nowiki/>
 
<span class="title other">{{#arraymap:{{{other}}}|,|!|<nowiki />
 
<span class="title other">{{#arraymap:{{{other}}}|,|!|<nowiki />
 
*!| }}</span>}}
 
*!| }}</span>}}
 
|class=lightheader
 
|class=lightheader
|condition={{#ifeq:{{lc:{{#explode:{{#replace:{{PAGENAME}}|&#39;|'}}|(}}}}|{{lc:{{{english}}}}}||{{{english|}}}}}
+
|condition={{#ifeq:{{lc:{{#explode:{{PAGENAME}}|(}}}}|{{lc:{{{english}}}}}||{{{english|}}}}}
 
{{{kanji|}}}
 
{{{kanji|}}}
 
{{{romaji|}}}
 
{{{romaji|}}}
Line 32: Line 32:
 
|ova debut ={{{ova debut|}}}
 
|ova debut ={{{ova debut|}}}
 
|game debut ={{{game debut|}}}
 
|game debut ={{{game debut|}}}
|media ={{{media|}}}
+
|media ={{{media|}}}{{#ifeq:{{{movie debut|}}}|The Last: Naruto the Movie|[[Appears in::Manga| ]][[Appears in::Anime| ]][[Appears in::Anime| ]][[Appears in::Movie| ]]|}}
 
}}<!--
 
}}<!--
   
Line 41: Line 41:
 
}}<!--
 
}}<!--
   
-->{{#arraymap:english, japanese|,|!|{{iBox/Row
+
-->{{iBox/Row
|{{ucfirst:!}}
+
|Japanese
|{{#arraymap:{{{! voice}}}
+
|{{SemanticInputParser/Array
|,|$|<!--
+
|value={{{japanese voice|}}}
-->{{#ifexpr:{{#expr:{{#arraymap:{{{! voice}}}|,|$!|1|+}}}}>1|<nowiki/>
+
|SemanticPropertyName=Voice Actors
<!-- -->*}}<!--
+
|SearchByProperty=true
-->[[wikipedia:{{#explode:$|~}}|{{#explode:{{#explode:$|~}}|(}}]]<!--
+
|linkOptions=Wikipedia
--><nowiki> </nowiki>{{#if:{{#explode:$|~}}|<!--
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
-->{{#ifexpr:{{#ask:[[Concept:Characters]][[Voice Actors::{{#explode:$|~}}]]|format=count}}>1|[[File:Icon - Search.png|link=Special:SearchByProperty/Voice Actors/{{#replace:{{#explode:$|~}}| |-20}}]]}}
+
|RegexAppendTemplate=ExtraInfo
}}<!--
+
}}
-->{{#if:{{#explode:$|~|1}}|<nowiki> </nowiki><sup>({{#explode:$|~|1}})</sup>}}<!--
+
|condition={{{japanese voice|}}}
-->{{#if:{{#explode:$|~|2}}|<nowiki> </nowiki>({{#explode:$|~|2}})}}<!--
+
}}<!--
-->{{Content only|{{#set:Voice Actors={{#explode:$|~}}}}}}<!--
+
-->|}}
+
-->{{iBox/Row
|condition={{{! voice|}}}
+
|English
}}|}}<!--
+
|{{SemanticInputParser/Array
  +
|value={{{english voice|}}}
  +
|SemanticPropertyName=Voice Actors
  +
|SearchByProperty=true
  +
|linkOptions=Wikipedia
  +
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
  +
|RegexAppendTemplate=ExtraInfo
  +
}}
  +
|condition={{{english voice|}}}
  +
}}<!--
   
   
Line 64: Line 64:
 
{{{age-part1|}}}
 
{{{age-part1|}}}
 
{{{age-part2|}}}
 
{{{age-part2|}}}
  +
{{{age-part3|}}}
 
{{{height-part1|}}}
 
{{{height-part1|}}}
 
{{{height-part2|}}}
 
{{{height-part2|}}}
  +
{{{height-part3|}}}
 
{{{weight-part1|}}}
 
{{{weight-part1|}}}
 
{{{weight-part2|}}}
 
{{{weight-part2|}}}
  +
{{{weight-part3|}}}
 
{{{blood type|}}}
 
{{{blood type|}}}
 
{{{classification|}}}
 
{{{classification|}}}
Line 81: Line 84:
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Birthdate
 
|Birthdate
|{{#switch:{{lc:{{#explode:{{{birthdate|}}}| }}}}|march|april|may|june|july|august|september|october|november|december|january|february={{#ifexpr:{{#expr:{{#explode:{{{birthdate|}}}| |1}}}} < 32|{{#ifexpr:{{#expr:{{#explode:{{{birthdate|}}}| |1}}}} > 0|[[Image:Astrological Sign {{Astrological Sign|{{{birthdate}}}}}.svg|link=|18x18px]]}}}}}} [[Birthdate::{{{birthdate|}}}]]
+
|{{SemanticInputParser
|condition={{{birthdate<includeonly>|</includeonly>}}}
+
|value={{{birthdate|}}}
}}<!--
+
|RegexLineCondition=(?i)(january{{!}}february{{!}}march{{!}}april{{!}}may{{!}}june{{!}}july{{!}}august{{!}}september{{!}}october{{!}}november{{!}}december)(?-i)\s+([3][0,1]{{!}}[0,1,2]\d{{!}}\d)
  +
|SemanticPropertyName=Birthdate
  +
|SearchByProperty=true
  +
|PrependText=Astrological Sign
  +
|PrependTemplate=Infobox_icon
  +
|linkOptions=none
  +
}}
  +
|condition={{{birthdate|}}}
  +
}}<!--
   
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Gender
 
|Gender
|{{#switch:{{{gender}}}|Male|Female=[[File:Gender {{{gender}}}.svg|18x18px|link=]] [[Gender::{{{gender}}}]]}}
+
|{{SemanticInputParser
|condition={{{gender<includeonly>|</includeonly>}}}
+
|value={{{gender|}}}
}}<!--
+
|SemanticPropertyName=Gender
  +
|PrependText=Gender
  +
|PrependTemplate=Infobox_icon
  +
|linkOptions=none
  +
}}
  +
|condition={{{gender|}}}
  +
}}<!--
   
 
-->{{iBox/Row
 
-->{{iBox/Row
Line 99: Line 102:
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Age
 
|Age
|{{#if:{{{age-part1|}}}
+
|{{SemanticInputParser/Array
{{{age-part2|}}}|
+
|value={{#if:{{{age-part1|}}}|Part I: {{{age-part1}}}}}
{{TimeSplit
+
{{#if:{{{age-part2|}}}|Part II: {{{age-part2}}}}}
|p1={{{age-part1|}}}
+
{{#if:{{{age-part3|}}}|Epilogue: {{{age-part3}}}}}
|p2={{{age-part2|}}}
+
|SemanticPropertyName=Age
|property=Age
+
|LineDelim=\n
}}<!--
+
|SameLineDelim=-
-->}}<!--
+
|RegexLineCondition=(\d+)
-->{{#if:{{{deceased state|}}}|<!--
+
|RegexPrepend=(Epilogue{{!}}Part I{1,2}):\s
-->{{Content only|{{#set:Status={{{deceased state}}}}}}}<!--
+
|RegexAppend=s?~[^~\r\n]*(~[^~\r\n]*)?
-->{{#ifeq:{{{deceased state}}}|Alive||<nowiki> </nowiki>{{#if:{{{age-part1|}}}{{{age-part2|}}}|({{{deceased state}}})|{{{deceased state}}}}}<!-- -->}}<!--
+
|RegexAppendTemplate=ExtraInfo
-->}}
+
|linkOptions=none
|condition={{{age-part1|}}}
+
}}
{{{age-part2|}}}
+
|condition={{{age-part1|}}}{{{age-part2|}}}{{{age-part3|}}}
{{#ifeq:{{{deceased state}}}|Alive||{{{deceased state|}}}}}<noinclude>.</noinclude>
+
}}<!--
}}<!--
 
   
-->{{#arraymap:height,weight|,|!|{{iBox/Row
+
-->{{#if:{{{deceased state|}}}|{{#set:Status={{{deceased state}}}}}}}<!--
|{{ucfirst:!}}
 
|{{TimeSplit|p1={{{!-part1|}}}|p2={{{!-part2|}}}|property={{ucfirst:!}}}}
 
|condition={{{!-part1|}}}{{{!-part2|}}}<noinclude>.</noinclude>
 
}}| }}<!--
 
   
  +
-->{{iBox/Row
  +
|Status
  +
|{{{deceased state|}}}
  +
|condition={{#ifeq:{{{deceased state}}}|Alive||{{{deceased state|}}}}}
  +
}}<!--
  +
  +
-->{{iBox/Row
  +
|Height
  +
|{{SemanticInputParser/Array
  +
|value={{#if:{{{height-part1|}}}|Part I: {{{height-part1}}}}}
  +
{{#if:{{{height-part2|}}}|Part II: {{{height-part2}}}}}
  +
{{#if:{{{height-part3|}}}|Epilogue: {{{height-part3}}}}}
  +
|SemanticPropertyName=Height
  +
|SemanticPropertyUnit=cm
  +
|LineDelim=\n
  +
|SameLineDelim=-
  +
|RegexPrepend=(Epilogue{{!}}Part I{1,2}):\s
  +
|linkOptions=Semantic Unit
  +
}}
  +
|condition={{{height-part1|}}}{{{height-part2|}}}{{{height-part3|}}}
  +
}}<!--
  +
  +
-->{{iBox/Row
  +
|Weight
  +
|{{SemanticInputParser/Array
  +
|value={{#if:{{{weight-part1|}}}|Part I: {{{weight-part1}}}}}
  +
{{#if:{{{weight-part2|}}}|Part II: {{{weight-part2}}}}}
  +
{{#if:{{{weight-part3|}}}|Epilogue: {{{weight-part3}}}}}
  +
|SemanticPropertyName=Weight
  +
|SemanticPropertyUnit=kg
  +
|LineDelim=\n
  +
|SameLineDelim=-
  +
|RegexPrepend=(Epilogue{{!}}Part I{1,2}):\s
  +
|linkOptions=Semantic Unit
  +
}}
  +
|condition={{{weight-part1|}}}{{{weight-part2|}}}{{{weight-part3|}}}
  +
}}<!--
   
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Blood type
 
|Blood type
|{{Content only|{{#set:Blood type={{{blood type|}}}}}}}{{{blood type|}}}
+
|{{SemanticInputParser
|condition={{{blood type<includeonly>|</includeonly>}}}
+
|value={{{blood type|}}}
  +
|SemanticPropertyName=Blood type
  +
|linkOptions=none
  +
|RegexAppend=~[^~\r\n]*
  +
|RegexAppendTemplate=ExtraInfo
  +
}}
  +
|condition={{{blood type|}}}
 
}}<!--
 
}}<!--
   
Line 127: Line 167:
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Kekkei Genkai
 
|Kekkei Genkai
|{{#arraymap:{{{Kekkei Genkai}}}
+
|{{SemanticInputParser/Array
|,|!|<!--
+
|value={{{Kekkei Genkai}}}
-->{{#ifexpr:{{#expr:{{#arraymap:{{{Kekkei Genkai}}}|,|_fakeDelim_|1|+}}}}>1|<nowiki/>
+
|linkOptions=Template:Infobox/Naruto/Character/Kekkei_Genkai
<!-- -->*}}{{#switch:{{#explode:!|~}}
+
|SemanticPropertyName=Kekkei Genkai
|Mangekyō Sharingan=[[Image:Mangekyō Sharingan {{#ifexist:File:Mangekyō Sharingan {{#explode:{{PAGENAME}}| }}.svg|{{#explode:{{PAGENAME}}| }}|Itachi}}.svg|18px|link=Mangekyō Sharingan#{{BASEPAGENAME}}]]
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
|Eternal Mangekyō Sharingan=[[Image:Mangekyō Sharingan {{#ifexist:File:Mangekyō Sharingan {{#explode:{{PAGENAME}}| }} (Eternal).svg|{{#explode:{{PAGENAME}}| }}|Madara}} (Eternal).svg|18px|link=Mangekyō Sharingan#{{BASEPAGENAME}}]]
+
|RegexAppendTemplate=ExtraInfo
|{{Infobox icon|{{#explode:!|~}}|Icon Type=Kekkei Genkai}}
+
}}
}}<!--
 
--><nowiki> </nowiki>[[Kekkei Genkai::{{#explode:!|~}}]]<!--
 
-->{{#if:{{#explode:!|~|1}}|<nowiki> </nowiki>({{#explode:!|~|1}})}}
 
|}}
 
 
|condition={{{Kekkei Genkai|}}}
 
|condition={{{Kekkei Genkai|}}}
 
}}<!--
 
}}<!--
Line 140: Line 180:
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Kekkei Tōta
 
|Kekkei Tōta
|{{#arraymap:{{{Kekkei Tota}}}
+
|{{SemanticInputParser/Array
|,|!|<!--
+
|value={{{Kekkei Tota|}}}
-->{{#ifexpr:{{#expr:{{#arraymap:{{{Kekkei Tota}}}|,|_fakeDelim_|1|+}}}}>1|<nowiki/>
+
|PrependText=Kekkei Genkai
<!-- -->*}}{{#switch:{{#explode:!|~}}
+
|PrependTemplate=Infobox_icon
|{{Infobox icon|{{#explode:!|~}}|Icon Type=Kekkei Genkai}}
+
|SemanticPropertyName=Kekkei Genkai
}}<!--
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
--><nowiki> </nowiki>[[Kekkei Genkai::{{#explode:!|~}}]]<!--
+
|RegexAppendTemplate=ExtraInfo
-->{{#if:{{#explode:!|~|1}}|<nowiki> </nowiki>({{#explode:!|~|1}})}}
+
}}
|}}
+
|condition={{{Kekkei Tota|}}}
|condition={{{Kekkei Tota|}}}
+
}}<!--
}}<!--
 
   
  +
-->{{iBox/Row
  +
|Kekkei Mōra
  +
|{{SemanticInputParser/Array
  +
|value={{{Kekkei Mora|}}}
  +
|PrependText=Kekkei Genkai
  +
|PrependTemplate=Infobox_icon
  +
|SemanticPropertyName=Kekkei Genkai
  +
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
  +
|RegexAppendTemplate=ExtraInfo
  +
}}
  +
|condition={{{Kekkei Mora|}}}
  +
}}<!--
   
 
-->{{iBox/Row
 
-->{{iBox/Row
|Jinchūriki
+
|Classification
|{{#arraymap:{{{classification}}}
+
|{{SemanticInputParser/Array
|,|!|<!--
+
|value={{#arraymap:{{{classification|}}}|,|!|{{#explode:!|~}}|,}}
-->{{#ifeq:{{lc:{{#explode:!|~}}}}|tailed beast|<!--
+
|SemanticPropertyName=Classification
-->{{#arraymap:{{#sub:!|12}}
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
|~|$|<!--
+
|RegexAppendTemplate=ExtraInfo
-->{{#ifexpr:{{#expr:{{#arraymap:{{#sub:!|12}}|~|_fakeDelim_|1|+}}}}>1|<nowiki/>
+
}}
<!-- -->*}}<!--
+
|condition={{{classification|}}}
-->[[$|{{#explode:$|(}}]]<!--
+
}}<!--
-->{{#ifexist:$'s Jinchūriki Forms|<nowiki> </nowiki>([[$'s Jinchūriki Forms|Forms]])}}<!--
 
-->{{#arraymap:{{MediaCleaner|{{#show:$|?Appears in}}}}
 
|,|_aM_|<!--
 
-->{{#switch:_aM_||{{MediaCleaner|{{{media}}}}}=
 
|<nowiki> </nowiki><sup>(_aM_ only)</sup>
 
}}<!--
 
-->|}}<!--
 
-->|}}<!--
 
-->}}<!--
 
-->|}}
 
|condition={{#arraymap:{{{classification}}}|,|!|{{#ifeq:{{lc:{{#explode:!|~}}}}|tailed beast|true|}}|}}
 
}}<!--
 
 
   
 
-->{{iBox/Row
 
-->{{iBox/Row
Line 172: Line 224:
 
-->}}<!--
 
-->}}<!--
 
-->|}}<!--
 
-->|}}<!--
-->{{#ifexist:{{PAGENAME}}'s Jinchūriki Forms|<nowiki> </nowiki>([[{{PAGENAME}}'s Jinchūriki Forms|Forms]])}}
+
--><nowiki> </nowiki>([[Jinchūriki Forms|Forms]])
 
|condition={{#arraymap:{{{classification}}}|,|!|{{#switch:{{#explode:!|~}}|Pseudo-Jinchūriki|Jinchūriki=true}}|}}
 
|condition={{#arraymap:{{{classification}}}|,|!|{{#switch:{{#explode:!|~}}|Pseudo-Jinchūriki|Jinchūriki=true}}|}}
 
}}<!--
 
}}<!--
   
  +
-->{{iBox/Row
  +
|Jinchūriki
  +
|{{SemanticInputParser/Array
  +
|value={{#arraymap:{{{classification}}}|,|!|<!--
  +
-->{{#ifeq:{{lc:{{#explode:!|~}}}}|tailed beast|{{#arraymap:{{#sub:!|12}}|~|$|$}}}}<!--
  +
-->}}
  +
|AppendTemplate=Infobox/Naruto/Character/Jinchūriki
  +
|AppendText={{{media|}}}
  +
}}
  +
|condition={{#arraymap:{{{classification}}}|,|!|{{#ifeq:{{lc:{{#explode:!|~}}}}|tailed beast|true|}}|}}
  +
}}<!--
   
-->{{#arraymap:classification, occupations, affiliations, teams, partners, clan|,|!|{{iBox/Row
+
-->{{iBox/Row
|{{ucfirst:{{#switch:!|classification|clan=!|{{#sub:!|0|-1}}}}}}
+
|Occupation
|{{#arraymap:{{{!}}}
+
|{{SemanticInputParser/Array
|,|!$!|<!--
+
|value={{{occupations|}}}
-->{{#ifexpr:{{#expr:{{#arraymap:{{{!}}}|,|$|1|+}}}}>1|<nowiki/>
+
|linkOptions=none
*}}<!--
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
-->{{#switch:!
+
|RegexAppendTemplate=ExtraInfo
|affiliations={{Content only|{{#set:Loyalty={{#explode:!$!|~}}}}}}<!--
+
}}
-->{{Infobox icon|{{#explode:!$!|~}}|Icon Type=Ninja loyalty}}
+
|condition={{{occupations|}}}
|teams={{Content only|{{#set:Team={{#explode:!$!|~}}}}}}<!--
+
}}<!--
-->{{Infobox icon|{{#explode:!$!|~}}|Icon Type=Team}}
+
|clan={{Content only|{{#set:Clan={{#explode:!$!|~}}}}}}<!--
+
-->{{iBox/Row
-->{{Infobox icon|{{#explode:!$!|~}}|Icon Type=Ninja clan}}
+
|Affiliation
|classification={{Content only|{{#set:Classification={{#explode:!$!|~}}}}}}
+
|{{SemanticInputParser/Array
}}<!--
+
|value={{{affiliations|}}}
-->{{#ifeq:!|occupations|<!--
+
|SemanticPropertyName=Loyalty
--><nowiki> </nowiki>{{#explode:!$!|~}}<!--
+
|PrependText=Ninja loyalty
-->|<!--
+
|PrependTemplate=Infobox_icon
-->{{#ifexist:{{#explode:!$!|~}}|<!--
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
-->{{#ifeq:{{isUnnamed|{{#explode:!$!|~}}}}|Yes|<!--
+
|RegexAppendTemplate=ExtraInfo
--><nowiki> </nowiki>''[[{{#explode:!$!|~}}]]''<!--
+
}}
-->|<nowiki> </nowiki>[[{{#explode:!$!|~}}]]<!--
+
|condition={{{affiliations|}}}
-->}}<!--
+
}}<!--
-->|<!--
+
--><nowiki> </nowiki>{{#explode:!$!|~}}<!--
+
-->{{iBox/Row
-->}}<!--
+
|Team
-->}}<!--
+
|{{SemanticInputParser/Array
-->{{#ifeq:!|classification||<!--
+
|value={{{teams|}}}
-->{{#if:{{#explode:!$!|~|1}}|<nowiki> </nowiki>({{#explode:!$!|~|1}})}}<!--
+
|SemanticPropertyName=Team
-->{{#if:{{#explode:!$!|~|2}}|<nowiki> </nowiki><sup>({{#explode:!$!|~|2}})</sup>}}<!--
+
|PrependText=Team
-->}}<!--
+
|PrependTemplate=Infobox_icon
-->| }}
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
|condition={{{!|}}}
+
|RegexAppendTemplate=ExtraInfo
}}| }}<!--
+
}}
  +
|condition={{{teams|}}}
  +
}}<!--
  +
  +
-->{{iBox/Row
  +
|Partner
  +
|{{SemanticInputParser/Array
  +
|value={{{partners|}}}
  +
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
  +
|RegexAppendTemplate=ExtraInfo
  +
}}
  +
|condition={{{partners|}}}
  +
}}<!--
  +
  +
-->{{iBox/Row
  +
|Clan
  +
|{{SemanticInputParser/Array
  +
|value={{{clan|}}}
  +
|SemanticPropertyName=Clan
  +
|PrependText=Ninja clan
  +
|PrependTemplate=Infobox_icon
  +
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
  +
|RegexAppendTemplate=ExtraInfo
  +
}}
  +
|condition={{{clan|}}}
  +
}}<!--
   
   
 
-->{{iBox/Header
 
-->{{iBox/Header
 
|Rank
 
|Rank
|condition={{{rank-part1|}}}{{{rank-part2|}}}{{{ninja registration|}}}{{{academy age|}}}{{{chunin age|}}}<noinclude>.</noinclude>
+
|condition={{{rank-part1|}}}
  +
{{{rank-part2|}}}
  +
{{{rank-part3|}}}
  +
{{{ninja registration|}}}
  +
{{{academy age|}}}
  +
{{{chunin age|}}}<noinclude>.</noinclude>
 
}}<!--
 
}}<!--
 
   
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Ninja Rank
 
|Ninja Rank
|{{TimeSplit
+
|{{SemanticInputParser/Array
|p1={{{rank-part1|}}}
+
|value={{#if:{{{rank-part1|}}}|Part I: {{{rank-part1}}}}}
|p2={{{rank-part2|}}}
+
{{#if:{{{rank-part2|}}}|Part II: {{{rank-part2}}}}}
|property=Ninja Rank
+
{{#if:{{{rank-part3|}}}|Epilogue: {{{rank-part3}}}}}
  +
|SemanticPropertyName=Ninja Rank
  +
|LineDelim=\n
  +
|RegexPrepend=(Epilogue{{!}}Part I{1,2}):\s
 
}}
 
}}
|condition={{{rank-part1|}}}
+
|condition={{{rank-part1|}}}{{{rank-part2|}}}{{{rank-part3|}}}
{{{rank-part2|}}}<noinclude>.</noinclude>
+
}}<!--
}}<!--
 
 
   
 
-->{{iBox/Row
 
-->{{iBox/Row
 
|Ninja Registration
 
|Ninja Registration
|{{Content only|{{#set:Ninja Registration={{{ninja registration}}}}}}}{{{ninja registration|}}}{{#if:{{{academy age|}}}{{{chunin age|}}}|{{Content only|{{#set:Promotion Ages={{{academy age|}}};{{{chunin age|}}}}}}}}}
+
|{{SemanticInputParser
  +
|value={{{ninja registration|}}}
  +
|SemanticPropertyName=Ninja Registration
  +
|linkOptions=none
  +
}}
 
|condition={{{ninja registration|}}}
 
|condition={{{ninja registration|}}}
 
}}<!--
 
}}<!--
   
  +
-->{{#if:{{{academy age|}}}{{{chunin age|}}}|{{#set:Promotion Ages={{{academy age|}}};{{{chunin age|}}}}}}}<!--
  +
-->{{iBox/Row
  +
|Academy Grad. Age
  +
|{{SemanticInputParser
  +
|value={{{academy age|}}}
  +
|linkOptions=none
  +
}}
  +
|condition={{{academy age|}}}
  +
}}<!--
   
-->{{#arraymap:academy, chunin|,|!|{{iBox/Row
+
-->{{iBox/Row
|{{#switch:!|academy=Academy Grad.|chunin=Chūnin Prom.}} Age
+
|Chūnin Prom. Age
|{{{! age|}}}
+
|{{SemanticInputParser
|condition={{{! age<includeonly>|</includeonly>}}}
+
|value={{{chunin age|}}}
}}| }}<!--
+
|linkOptions=none
+
}}
  +
|condition={{{chunin age|}}}
  +
}}<!--
   
   
 
-->{{Content only|{{#arraymap:{{{parents|}}}|,|!|{{#set:Parent={{#explode:!|~}}}}|}}}}{{iBox/Box
 
-->{{Content only|{{#arraymap:{{{parents|}}}|,|!|{{#set:Parent={{#explode:!|~}}}}|}}}}{{iBox/Box
 
|Family
 
|Family
|{{#arraymap:{{FamilyTree/Query|{{#replace:{{BASEPAGENAME}}|&#39;|'}}|{{{parents|}}}}},{{{relationship|}}}
+
|{{#arraymap:{{FamilyTree/Query|{{#replace:{{PAGENAME}}|&#39;|'}}|{{{parents|}}}}},{{{relationship|}}}
 
|,|!|<nowiki/>
 
|,|!|<nowiki/>
 
<!-- -->*{{#ifeq:{{IsUnnamed|{{#explode:!|~}}}}|Yes|
 
<!-- -->*{{#ifeq:{{IsUnnamed|{{#explode:!|~}}}}|Yes|
Line 259: Line 330:
 
-->|}}<!--
 
-->|}}<!--
 
-->|}}
 
-->|}}
|condition={{#ifexpr:{{#ask:[[Concept:Characters]][[Parent::{{BASEPAGENAME}}]]|format=count}}>0|Display}}{{{parents|}}}{{{relationship|}}}
+
|condition={{#ifexpr:{{#ask:[[Concept:Characters]][[Parent::{{PAGENAME}}]]|format=count}}>0|Display}}{{{parents|}}}{{{relationship|}}}
 
}}<!--
 
}}<!--
   
Line 265: Line 336:
 
-->{{iBox/Box
 
-->{{iBox/Box
 
|Nature Type
 
|Nature Type
|{{#arraymap:{{{nature type}}}
+
|{{SemanticInputParser/Array
|,|!|<nowiki/>
+
|value={{{nature type|}}}
<!-- -->*{{Infobox icon|{{#explode:!|~}}|Icon Type=Nature}}<!--
+
|SemanticPropertyName=Chakra Nature
--><nowiki> </nowiki>[[Chakra Nature::{{#explode:!|~}}]]<!--
+
|PrependText=Nature
-->{{#if:{{#explode:!|~|1}}|<nowiki> </nowiki>({{#explode:!|~|1}})}}<!--
+
|PrependTemplate=Infobox_icon
-->{{#if:{{#explode:!|~|2}}|<nowiki> </nowiki><sup>({{#explode:!|~|2}})</sup>}}
+
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
|}}
+
|RegexAppendTemplate=ExtraInfo
|condition={{{nature type|}}}
+
}}
  +
|condition={{{nature type|}}}
 
}}<!--
 
}}<!--
 
   
 
-->{{iBox/Box
 
-->{{iBox/Box
Line 284: Line 354:
   
   
-->{{#arraymap:Jutsu, Tools|,|§|{{iBox/Box
+
-->{{iBox/Box
|{{#switch:§
+
|1=[http://naruto.wikia.com/index.php?title=Special:Ask&offset=0&limit=500&q={{urlencode:[[Concept:Jutsu]][[User tech::{{PAGENAME}}]]}}&po={{urlencode:?Appears in=Media
|Tools=[http://naruto.wikia.com/index.php?title=Special:Ask&offset=0&limit=500&q={{urlencode:[[Concept:Tools]][[User tech::{{BASEPAGENAME}}]]}}&p=format%3Dbroadtable Tools]|Jutsu=[http://naruto.wikia.com/index.php?title=Special:Ask&offset=0&limit=500&q=%5B%5BConcept%3AJutsu%5D%5D%5B%5BUser+tech%3A%3A{{urlencode:{{#replace:{{PAGENAME}}|&#39;|'}}}}%5D%5D&po=%3FAppears+in%3DMedia%0D%0A%3FJutsu+classification%3DClassification%0D%0A%3FChakra+Nature%0D%0A%3FJutsu+class+type%3DClass%0D%0A%3FJutsu+range%3DRange%0D%0A Jutsu]}}
+
?Jutsu classification=Classification
|{{#ask:[[Concept:§]][[User tech::{{#replace:{{PAGENAME}}|&#39;|'}}]]
+
?Chakra Nature
|?User tech
+
?Jutsu class type=Class
|?Appears in
+
?Jutsu range=Range}} Jutsu]
|format=list
+
|2={{#ask:[[Concept:{{#switch:{{{media|}}}|=|Movie|Game|Game, Movie=Jutsu/NonCanon|Jutsu/Canon}}]][[User tech::{{PAGENAME}}]]
|template=Infobox/Naruto/Character/JutsuList
+
|?User tech
|userparam={{#replace:{{PAGENAME}}|&#39;|'}}; {{{media|}}}
+
|?Appears in
|mainlabel=main
+
|?Maintenance
|named args=yes
+
|format=template
|link=none
+
|template=Infobox/Naruto/Character/JutsuList
|limit=200
+
|userparam={{PAGENAME}}; {{{media|}}}
|sep=<nowiki></nowiki>
+
|mainlabel=main
}}
+
|named args=yes
|condition={{#ifexpr:{{#ask:[[Concept:§]][[User tech::{{#replace:{{PAGENAME}}|&#39;|'}}]]|format=count}}>0|DisplayBox}}
+
|link=none
}}
+
|limit=200
|}}<!--
+
|sep=<nowiki></nowiki>
  +
}}
  +
|condition={{#if:{{{media|}}}|{{#ifexpr:{{#ask:[[Concept:{{#switch:{{{media|}}}|=|Movie|Game|Game, Movie=Jutsu/NonCanon|Jutsu/Canon}}]][[User tech::{{PAGENAME}}]]|format=count}}>0|DisplayBox}}}}
  +
|hide=always<!--
  +
-->}}<!--
  +
  +
-->{{iBox/Box
  +
|1=[http://naruto.wikia.com/index.php?title=Special:Ask&offset=0&limit=500&q={{urlencode:[[Concept:Tools]][[User tech::{{PAGENAME}}]]}}&p=format%3Dbroadtable Tools]
  +
|2={{#ask:[[Concept:Tools]][[User tech::{{PAGENAME}}]]
  +
|?User tech
  +
|?Appears in
  +
|?Maintenance
  +
|format=template
  +
|template=Infobox/Naruto/Character/JutsuList
  +
|userparam={{PAGENAME}}; {{{media|}}}
  +
|mainlabel=main
  +
|named args=yes
  +
|link=none
  +
|limit=200
  +
|sep=<nowiki></nowiki>
  +
}}
  +
|condition={{#ifexpr:{{#ask:[[Concept:Tools]][[User tech::{{PAGENAME}}]]|format=count}}>0|DisplayBox}}
  +
|hide=always<!--
  +
-->}}<!--
  +
   
 
--><!--
 
--><!--
 
-->{{iBox/End}}<includeonly>{{Content only||<big>'''Return to [[{{PAGENAME}}]].'''</big>}}</includeonly><!--
 
-->{{iBox/End}}<includeonly>{{Content only||<big>'''Return to [[{{PAGENAME}}]].'''</big>}}</includeonly><!--
 
--><includeonly>{{#ifeq:{{NAMESPACE}}||{{#ifeq:{{{unnamed character|}}}|Yes|{{#set:Maintenance=Name}}}}[[Category:Characters|{{PAGENAME}}]]}}{{#ifeq:{{NAMESPACE}}|Infobox|[[Category:Character infoboxes|{{PAGENAME}}]]}}</includeonly><!--
 
--><includeonly>{{#ifeq:{{NAMESPACE}}||{{#ifeq:{{{unnamed character|}}}|Yes|{{#set:Maintenance=Name}}}}[[Category:Characters|{{PAGENAME}}]]}}{{#ifeq:{{NAMESPACE}}|Infobox|[[Category:Character infoboxes|{{PAGENAME}}]]}}</includeonly><!--
--><noinclude>
+
-->|#default=<div class="warningmessage"><strong>NOTE:</strong> This template is meant to be used only on articles.</div>}}<noinclude>
   
 
==To Do==
 
==To Do==

Latest revision as of 19:26, November 24, 2014

NOTE: This template is meant to be used only on articles.

To DoEdit

  • Update Documentation.


Around Wikia's network

Random Wiki