Wikia

Narutopedia

Changes: Template:Infobox/Naruto/Character

View source

Back to page

(let's hope I managed to do it correctly this time)
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#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 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 73: Line 73:
 
{{{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 125: Line 128:
 
|value={{#if:{{{age-part1|}}}|Part I: {{{age-part1}}}}}
 
|value={{#if:{{{age-part1|}}}|Part I: {{{age-part1}}}}}
 
{{#if:{{{age-part2|}}}|Part II: {{{age-part2}}}}}
 
{{#if:{{{age-part2|}}}|Part II: {{{age-part2}}}}}
  +
{{#if:{{{age-last|}}}|The Last: {{{age-last}}}}}
  +
{{#if:{{{age-part3|}}}|Epilogue: {{{age-part3}}}}}
 
|SemanticPropertyName=Age
 
|SemanticPropertyName=Age
 
|LineDelim=\n
 
|LineDelim=\n
 
|SameLineDelim=-
 
|SameLineDelim=-
|RegexPrepend=Part I{1,2}:\s
+
|RegexLineCondition=(\d+)
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
+
|RegexPrepend=(Epilogue{{!}}Part I{1,2}{{!}}The Last):\s
  +
|RegexAppend=s?~[^~\r\n]*(~[^~\r\n]*)?
 
|RegexAppendTemplate=ExtraInfo
 
|RegexAppendTemplate=ExtraInfo
 
|linkOptions=none
 
|linkOptions=none
 
}}
 
}}
|condition={{{age-part1|}}}{{{age-part2|}}}
+
|condition={{{age-part1|}}}{{{age-part2|}}}{{{age-last|}}}{{{age-part3|}}}
 
}}<!--
 
}}<!--
   
Line 149: Line 154:
 
|value={{#if:{{{height-part1|}}}|Part I: {{{height-part1}}}}}
 
|value={{#if:{{{height-part1|}}}|Part I: {{{height-part1}}}}}
 
{{#if:{{{height-part2|}}}|Part II: {{{height-part2}}}}}
 
{{#if:{{{height-part2|}}}|Part II: {{{height-part2}}}}}
  +
{{#if:{{{height-last|}}}|The Last: {{{height-last}}}}}
  +
{{#if:{{{height-part3|}}}|Epilogue: {{{height-part3}}}}}
 
|SemanticPropertyName=Height
 
|SemanticPropertyName=Height
 
|SemanticPropertyUnit=cm
 
|SemanticPropertyUnit=cm
 
|LineDelim=\n
 
|LineDelim=\n
 
|SameLineDelim=-
 
|SameLineDelim=-
|RegexPrepend=Part I{1,2}:\s
+
|RegexPrepend=(Epilogue{{!}}Part I{1,2}{{!}}The Last):\s
 
|linkOptions=Semantic Unit
 
|linkOptions=Semantic Unit
 
}}
 
}}
|condition={{{height-part1|}}}{{{height-part2|}}}
+
|condition={{{height-part1|}}}{{{height-part2|}}}{{{height-last|}}}{{{height-part3|}}}
 
}}<!--
 
}}<!--
   
Line 164: Line 171:
 
|value={{#if:{{{weight-part1|}}}|Part I: {{{weight-part1}}}}}
 
|value={{#if:{{{weight-part1|}}}|Part I: {{{weight-part1}}}}}
 
{{#if:{{{weight-part2|}}}|Part II: {{{weight-part2}}}}}
 
{{#if:{{{weight-part2|}}}|Part II: {{{weight-part2}}}}}
  +
{{#if:{{{weight-last|}}}|The Last: {{{weight-last}}}}}
  +
{{#if:{{{weight-part3|}}}|Epilogue: {{{weight-part3}}}}}
 
|SemanticPropertyName=Weight
 
|SemanticPropertyName=Weight
 
|SemanticPropertyUnit=kg
 
|SemanticPropertyUnit=kg
 
|LineDelim=\n
 
|LineDelim=\n
 
|SameLineDelim=-
 
|SameLineDelim=-
|RegexPrepend=Part I{1,2}:\s
+
|RegexPrepend=(Epilogue{{!}}Part I{1,2}{{!}}The Last):\s
 
|linkOptions=Semantic Unit
 
|linkOptions=Semantic Unit
 
}}
 
}}
|condition={{{weight-part1|}}}{{{weight-part2|}}}
+
|condition={{{weight-part1|}}}{{{weight-part2|}}}{{{weight-last|}}}{{{weight-part3|}}}
 
}}<!--
 
}}<!--
   
Line 211: Line 220:
 
}}
 
}}
 
|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|}}}
 
}}<!--
 
}}<!--
   
Line 233: Line 255:
 
-->}}<!--
 
-->}}<!--
 
-->|}}<!--
 
-->|}}<!--
-->{{#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}}|}}
 
}}<!--
 
}}<!--
Line 314: Line 336:
 
|condition={{{rank-part1|}}}
 
|condition={{{rank-part1|}}}
 
{{{rank-part2|}}}
 
{{{rank-part2|}}}
  +
{{{rank-part3|}}}
 
{{{ninja registration|}}}
 
{{{ninja registration|}}}
 
{{{academy age|}}}
 
{{{academy age|}}}
Line 324: Line 347:
 
|value={{#if:{{{rank-part1|}}}|Part I: {{{rank-part1}}}}}
 
|value={{#if:{{{rank-part1|}}}|Part I: {{{rank-part1}}}}}
 
{{#if:{{{rank-part2|}}}|Part II: {{{rank-part2}}}}}
 
{{#if:{{{rank-part2|}}}|Part II: {{{rank-part2}}}}}
  +
{{#if:{{{rank-last|}}}|The Last: {{{rank-last}}}}}
  +
{{#if:{{{rank-part3|}}}|Epilogue: {{{rank-part3}}}}}
 
|SemanticPropertyName=Ninja Rank
 
|SemanticPropertyName=Ninja Rank
 
|LineDelim=\n
 
|LineDelim=\n
|RegexPrepend=Part I{1,2}:\s
+
|RegexPrepend=(Epilogue{{!}}Part I{1,2}{{!}}The Last):\s
 
}}
 
}}
|condition={{{rank-part1|}}}{{{rank-part2|}}}
+
|condition={{{rank-part1|}}}{{{rank-part2|}}}{{{rank-last|}}}{{{rank-part3|}}}
 
}}<!--
 
}}<!--
   
Line 363: Line 388:
 
-->{{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 376: Line 401:
 
-->|}}<!--
 
-->|}}<!--
 
-->|}}
 
-->|}}
|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 401: Line 426:
   
   
-->{{#arraymap:Jutsu, Tools|,|§|{{iBox/Box
+
-->{{iBox/Box
|hide=always
+
|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
|{{#switch:§
+
?Jutsu classification=Classification
|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:{{PAGENAME}}}}%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]}}
+
?Chakra Nature
|{{#ask:[[Concept:§]][[User tech::{{PAGENAME}}]]
+
?Jutsu class type=Class
|?User tech
+
?Jutsu range=Range}} Jutsu]
|?Appears in
+
|2={{#ask:[[Concept:{{#switch:{{{media|}}}|=|Movie|Game|Game, Movie=Jutsu/NonCanon|Jutsu/Canon}}]][[User tech::{{PAGENAME}}]]
|?Maintenance
+
|?User tech
|format=template
+
|?Appears in
|template=Infobox/Naruto/Character/JutsuList
+
|?Maintenance
|userparam={{PAGENAME}}; {{{media|}}}
+
|format=template
|mainlabel=main
+
|template=Infobox/Naruto/Character/JutsuList
|named args=yes
+
|userparam={{PAGENAME}}; {{{media|}}}
|link=none
+
|mainlabel=main
|limit=200
+
|named args=yes
|sep=<nowiki></nowiki>
+
|link=none
}}
+
|limit=200
|condition={{#ifexpr:{{#ask:[[Concept:§]][[User tech::{{PAGENAME}}]]|format=count}}>0|DisplayBox}}
+
|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 05:27, December 6, 2014

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

To DoEdit

  • Update Documentation.


Around Wikia's network

Random Wiki