Template:Infobox/Naruto/Character

{{#arraymap:occupation, affiliation, team, partner|,|!|{{iBox/Row |{{ucfirst:!}} |{{#ifexpr:{{count|{{{#arraymap:{{{!s}}}|,|$|$}}|,}}>0|{{#arraymap:{{{!s}}}|,|!$!| |condition={{#explode:{{{!s|}}}|,}}}}| }}{{iBox/Header |Rank |condition={{{rank-part1|}}}{{{rank-part2|}}}{{{anbu|}}}{{{ninja registration|}}}{{{academy age|}}}{{{chunin age|}}}. }}{{iBox/Row |Ninja Rank |{{TimeSplit|p1={{{rank-part1|}}}|p2={{{rank-part2|}}}|property=Ninja Rank}} |condition={{{rank-part1|}}}{{{rank-part2|}}}. }}{{iBox/Row |ANBU Rank |{{{anbu}}} |condition={{{anbu|}}}. }}{{iBox/Row |Ninja Registration |Ninja Registration::{{{ninja registration}}}{{#if:{{{academy age|}}}{{{chunin age|}}}|{{#set:Promotion Ages={{{academy age|}}};{{{chunin age|}}}}}}} |condition={{{ninja registration|}}}}}{{#arraymap:academy, chunin|,|!|{{iBox/Row |{{#switch:!|academy=Academy Grad.|chunin=Chūnin Prom.}} Age |{{{! age|}}} |condition={{{! age | }}}}}| }}{{iBox/Header |Loyalty |condition={{{clan|}}}. }}{{iBox/Row |Clan | {{#ifexpr:{{count|{{#arraymap:{{{clan}}}|,|$|$}}|,}}>0|{{#arraymap:{{{clan}}}|,|!| |condition={{{clan | }}} }}{{iBox/Box |Family |{{#arraymap:{{{parents|}}}|,|!|{{#set:Parent={{#explode:!|~}}}}| }} {{#arraymap:{{#arraymap:{{FamilyTree/Query|{{#replace:{{PAGENAME}}|&#39;|'}}|{{{parents|}}}}},{{{relationship|}}}|,|!|{{#explode:!|~}}~{{#explode:!|~|1}},| }}|,|!| |condition={{FamilyTree|{{#replace:{{PAGENAME}}|&#39;|'}}|Children}}{{{parents|}}}{{{relationship|}}}}}{{iBox/Box |Nature Type |{{#arraymap:{{{nature type}}}|,|!| |condition={{{nature type|}}}}}{{iBox/Box |Unique Traits |{{#arraymap:{{{unique traits}}}|,|!| |condition={{{unique traits|}}}}}{{iBox/Box |&#39;|'}}|Jutsu |{{#arraymap:{{#replace:{{#replace:{{#ask: Concept:Jutsu&#39;|'}}; ?Name::!Steam-based Ninjutsu Name::!Chou Kasseikin | ?Name | ?User tech|?Appears in| format=list|link=none | template=Infobox/Naruto/Character/JutsuList | limit=250|sep=,,, }}|SMW::off|}}|SMW::on|}}|,,,|!|{{#switch:{{#switch:{{{media}}}|Movie|Game=|{{#explode:!|~|1}}}}|Movie|Game=|| |condition={{#ask:Concept:Jutsu&#39;|'}}Name::!Steam-based Ninjutsu Name::!Chou Kasseikin}}}}{{iBox/Box |Weapons |{{#arraymap:{{#replace:{{#replace:{{#ask: Concept:Tools&#39;|'}}; ?Tool Classification::Offensive | ?Name | ?User tech|?Appears in| format=list|link=none | template=Infobox/Naruto/Character/JutsuList | limit=250|sep=,,, }}|SMW::off|}}|SMW::on|}}|,,,|!|{{#switch:{{#switch:{{{media}}}|Movie|Game=|{{#explode:!|~|1}}}}|Movie|Game=|| |condition={{#arraymap:{{#replace:{{#replace:{{#ask: Concept:Tools&#39;|'}}Tool Classification::Offensive | ?Name | ?User tech|?Appears in| format=list|link=none | template=Infobox/Naruto/Character/JutsuList | limit=250|sep=, }}|SMW::off|}}|SMW::on|}}|,|!|{{#switch:{{#switch:{{{media}}}|Movie|Game=|{{#explode:!|~|1}}}}|Movie|Game=||Yes}}| }}}}{{iBox/End}} {{Content only|| Return to {{PAGENAME}}. }} {{Content only||}}   Infobox is under construction (Forward Questions/Comments/Bugs to User_talk:Simant).
 * {{#switch:!|affiliation={{Infobox icon|{{#explode:!$!|~}}|size=18px|link={{#explode:!$!|~}}|Icon Type=Ninja loyalty}}|team={{#set:Team={{#explode:!$!|~}}}}{{Infobox icon|{{#explode:!$!|~}}|size=18px|link={{#explode:!$!|~}}|Icon Type=Team}}}} {{#ifexist:{{#explode:!$!|~}}|{{#ifeq:{{isUnnamed|{{#explode:!$!|~}}}}|Yes|~}}|~}}}}|{{#explode:!$!|~}}}} {{#if:{{#explode:!$!|~|1}}|({{#explode:!$!|~|1}})}} {{#if:{{#explode:!$!|~|2}}|{{sup|({{#explode:!$!|~|2}})}}}}| }}|{{#switch:{{{#arraymap:{{{!s}}}|,|$|$}}|affiliation={{Infobox icon|{{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}|size=18px|link={{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}|Icon Type=Ninja loyalty}}|team={{#set:Team={{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}}}{{Infobox icon|{{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}|size=18px|link={{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}|Icon Type=Team}}}} {{#ifexist:{{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}|{{#ifeq:{{isUnnamed|{{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}}}|Yes|,|$|$}}|~}}|,|$|$}}|~}}}}|{{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~}}}} {{#if:{{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~|1}}|({{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~|1}})}} {{#if:{{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~|2}}|{{sup|({{#explode:{{{#arraymap:{{{!s}}}|,|$|$}}|~|2}})}}}}}}
 * {{Infobox icon|!|size=18px|link=!|Icon Type=Ninja clan}} {{#set:Clan=!}}{{#ifexist:!|!|!}}| }}|{{Infobox icon|{{#arraymap:{{{clan}}}|,|$|$}}|size=18px|link={{#arraymap:{{{clan}}}|,|$|$}}|Icon Type=Ninja clan}} {{#set:Clan={{#arraymap:{{{clan}}}|,|$|$}}}}{{#ifexist:{{#arraymap:{{{clan}}}|,|$|$}}|,|$|$}}|{{#arraymap:{{{clan}}}|,|$|$}}}}}}
 * {{#ifeq:{{IsUnnamed|{{#explode:!|~}}}}|Yes|~}}|{{#explode:{{#explode:!|~}}|(}}|~}}|{{#explode:{{#explode:!|~}}|(}}}} {{#if:{{#explode:!|~|1}}|({{#explode:!|~|1}}) }}{{#switch:{{ucfirst:{{lc:{{MediaAppear|{{#explode:!|~}}}}}}}}||{{MediaCleaner|{{{media|}}}}}=|Anime|Manga= {{sup|({{ucfirst:{{lc:{{MediaAppear|{{#explode:!|~}}}}}}}} only)}}}}| }}
 * {{Infobox icon|{{#explode:!|~}}|size=18px|link={{#explode:!|~}}|Icon Type=Nature}} ~}}|{{#replace:{{ucfirst:{{lc:{{#explode:!|~}}}}}}|release| }} {{#if:{{#explode:!|~|1}}|({{#explode:!|~|1}})}} {{#if:{{#explode:!|~|2}}|{{sup|({{#explode:!|~|2}})}}}}| }}
 * !| }}
 * {{#ifeq:{{IsUnnamed|{{#explode:!|~}}}}|Yes|~}}|{{#explode:{{#explode:!|~}}|(}}|~}}|{{#explode:{{#explode:!|~}}|(}}}} {{#switch:{{#explode:!|~}}|Summoning Technique|Destruction Bug Host Technique={{#if:{{#ask:&#39;|'}}}}
 * ({{#arraymap:{{#ask:&#39;|'}}|sep=,,,|link=none}}|,,,|$|{{PAGENAME}}'s}}|(}}}})}}}} {{#switch:{{#explode:!|~|1}}||{{MediaCleaner|{{{media}}}}}=|{{sup|({{#explode:!|~|1}} only)}}}}}}| }}
 * {{#ifeq:{{IsUnnamed|{{#explode:!|~}}}}|Yes|~}}|{{#explode:{{#explode:!|~}}|(}}|~}}|{{#explode:{{#explode:!|~}}|(}}}} {{#switch:{{#explode:!|~|1}}||{{MediaCleaner|{{{media}}}}}=|{{sup|({{#explode:!|~|1}} only)}}}}}}| }}


 * manga debut is a simple number. Enter the chapter number that the character appeared in first.
 * anime debut is a simple number. For shippuden episodes add 220 plus the episode number and the infobox will recognize it as the shippuden episode.
 * Unlike in old infoboxes do not put things like Anime and Manga or Anime only inside of the appears in parameter. That parameter is now a list of games and the like in which the character appears in. The infobox will automatically identify if a character is Anime and Manga, Manga only, or Anime only based on the data inside of the anime and manga debut parameters.
 * deceased state is alive by default, but can be set to confirmed for confirmed death, and unconfirmed for presumed death.
 * akatsuki ring is a simple pair of the kanji symbol and meaning. In the form "kanji/meaning" so for Konan who has the kanji ? meaning white the the input would be "?/white".
 * parents is the set of family relations which SMW will use to generate the relevant family tree. SMW will automatically assign them as mother or father depending on their own gender. Additionally you may suffix names with "~god" or "~surrogate" for godfather/godmother or surrogate mother.
 * relationship is the person which the character has married, or is a lover of. By default this will indicate marriage but you may use a "~lover" suffix to identify a non-married relationship.

Development Notes

 * The SMW family hierarchy may be a little tricky, I may need to tweak the set of relations we add.

To Do

 * Update Documentation.