Wikia

Narutopedia

Changes: Template:Infobox/Naruto/Character

View source

Back to page

(try forcing links)
 
(35 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 29: Line 29:
 
|manga debut ={{{manga debut|}}}
 
|manga debut ={{{manga debut|}}}
 
|manga type ={{{manga type|Chapter}}}
 
|manga type ={{{manga type|Chapter}}}
  +
|novel debut ={{{novel debut|}}}
 
|movie debut ={{{movie debut|}}}
 
|movie debut ={{{movie debut|}}}
 
|ova debut ={{{ova debut|}}}
 
|ova debut ={{{ova debut|}}}
Line 73: Line 74:
 
{{{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 129:
 
|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-part3|}}}|Gaiden: {{{age-part3}}}}}
  +
{{#if:{{{age-misc|}}}|{{{age-misc}}}}}
 
|SemanticPropertyName=Age
 
|SemanticPropertyName=Age
 
|LineDelim=\n
 
|LineDelim=\n
 
|SameLineDelim=-
 
|SameLineDelim=-
|RegexPrepend=Part I{1,2}:\s
+
|RegexLineCondition=(\d+)
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
+
|RegexPrepend=(Gaiden{{!}}Part I{1,2}):\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-part3|}}}{{{age-misc|}}}
 
}}<!--
 
}}<!--
   
Line 149: Line 155:
 
|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|}}}|Blank Period: {{{height-last}}}}}
  +
{{#if:{{{height-part3|}}}|Gaiden: {{{height-part3}}}}}
 
|SemanticPropertyName=Height
 
|SemanticPropertyName=Height
 
|SemanticPropertyUnit=cm
 
|SemanticPropertyUnit=cm
 
|LineDelim=\n
 
|LineDelim=\n
 
|SameLineDelim=-
 
|SameLineDelim=-
|RegexPrepend=Part I{1,2}:\s
+
|RegexPrepend=(Gaiden{{!}}Part I{1,2}{{!}}Blank Period):\s
 
|linkOptions=Semantic Unit
 
|linkOptions=Semantic Unit
 
}}
 
}}
|condition={{{height-part1|}}}{{{height-part2|}}}
+
|condition={{{height-part1|}}}{{{height-part2|}}}{{{height-last|}}}{{{height-part3|}}}
 
}}<!--
 
}}<!--
   
Line 164: Line 172:
 
|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|}}}|Blank Period: {{{weight-last}}}}}
  +
{{#if:{{{weight-part3|}}}|Gaiden: {{{weight-part3}}}}}
 
|SemanticPropertyName=Weight
 
|SemanticPropertyName=Weight
 
|SemanticPropertyUnit=kg
 
|SemanticPropertyUnit=kg
 
|LineDelim=\n
 
|LineDelim=\n
 
|SameLineDelim=-
 
|SameLineDelim=-
|RegexPrepend=Part I{1,2}:\s
+
|RegexPrepend=(Gaiden{{!}}Part I{1,2}{{!}}Blank Period):\s
 
|linkOptions=Semantic Unit
 
|linkOptions=Semantic Unit
 
}}
 
}}
|condition={{{weight-part1|}}}{{{weight-part2|}}}
+
|condition={{{weight-part1|}}}{{{weight-part2|}}}{{{weight-last|}}}{{{weight-part3|}}}
 
}}<!--
 
}}<!--
   
Line 211: Line 221:
 
}}
 
}}
 
|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 314: Line 337:
 
|condition={{{rank-part1|}}}
 
|condition={{{rank-part1|}}}
 
{{{rank-part2|}}}
 
{{{rank-part2|}}}
  +
{{{rank-part3|}}}
 
{{{ninja registration|}}}
 
{{{ninja registration|}}}
 
{{{academy age|}}}
 
{{{academy age|}}}
Line 324: Line 348:
 
|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|}}}|Blank Period: {{{rank-last}}}}}
  +
{{#if:{{{rank-part3|}}}|Gaiden: {{{rank-part3}}}}}
 
|SemanticPropertyName=Ninja Rank
 
|SemanticPropertyName=Ninja Rank
 
|LineDelim=\n
 
|LineDelim=\n
|RegexPrepend=Part I{1,2}:\s
+
|RegexPrepend=(Gaiden{{!}}Part I{1,2}{{!}}Blank Period):\s
 
}}
 
}}
|condition={{{rank-part1|}}}{{{rank-part2|}}}
+
|condition={{{rank-part1|}}}{{{rank-part2|}}}{{{rank-last|}}}{{{rank-part3|}}}
 
}}<!--
 
}}<!--
   
Line 373: Line 399:
 
-->{{#arraymap:{{#show:{{#explode:!|~}}|?Appears in}}
 
-->{{#arraymap:{{#show:{{#explode:!|~}}|?Appears in}}
 
|_fakeDelim_|_aM_|<!--
 
|_fakeDelim_|_aM_|<!--
-->{{#switch:_aM_||{{MediaCleaner|{{{media|}}}}}=|Anime|Manga=<nowiki> </nowiki><sup>(_aM_ only)</sup>}}<!--
+
-->{{#switch:_aM_||{{MediaCleaner|{{{media|}}}}}=|Anime|Manga|Novel=<nowiki> </nowiki><sup>(_aM_ only)</sup>}}<!--
 
-->|}}<!--
 
-->|}}<!--
 
-->|}}
 
-->|}}
Line 386: Line 412:
 
|SemanticPropertyName=Chakra Nature
 
|SemanticPropertyName=Chakra Nature
 
|PrependText=Nature
 
|PrependText=Nature
  +
|linkOptions=always
 
|PrependTemplate=Infobox_icon
 
|PrependTemplate=Infobox_icon
 
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
 
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
Line 447: Line 474:
 
-->{{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>
+
This template is used for <section begin=for />creating character infoboxes<section end=for />
  +
[[Category:Templates/Infobox]]
 
==To Do==
 
==To Do==
 
* Update Documentation.
 
* Update Documentation.
   
 
</noinclude>
 
</noinclude>
  +
{{#ifeq:{{{movie debut|}}}|The Last: Naruto the Movie|[[Appears in::Manga| ]][[Appears in::Anime| ]]|}}

Latest revision as of 19:24, May 23, 2015

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

This template is used for creating character infoboxes

To DoEdit

  • Update Documentation.


Around Wikia's network

Random Wiki