Wikia

Narutopedia

Changes: Template:Infobox/Naruto/Character

View source

Back to page

(need change to regexappendtemplate)
 
(18 intermediate revisions by 2 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 128: Line 128:
 
|LineDelim=\n
 
|LineDelim=\n
 
|SameLineDelim=-
 
|SameLineDelim=-
  +
|RegexLineCondition=(\d+)
 
|RegexPrepend=Part I{1,2}:\s
 
|RegexPrepend=Part I{1,2}:\s
|RegexAppend=~[^~\r\n]*(~[^~\r\n]*)?
+
|RegexAppend=s?~[^~\r\n]*(~[^~\r\n]*)?
 
|RegexAppendTemplate=ExtraInfo
 
|RegexAppendTemplate=ExtraInfo
 
|linkOptions=none
 
|linkOptions=none
Line 233: Line 234:
 
-->}}<!--
 
-->}}<!--
 
-->|}}<!--
 
-->|}}<!--
-->{{#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 363: Line 364:
 
-->{{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 377:
 
-->|}}<!--
 
-->|}}<!--
 
-->|}}
 
-->|}}
|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 402:
   
   
-->{{#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 02:46, May 25, 2014

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

To DoEdit

  • Update Documentation.


Around Wikia's network

Random Wiki