Template:Infobox character: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(79 intermediate revisions by the same user not shown)
Line 1:
<templatestyles src="Infobox character/styles.css" />{{ infobox
{{ infobox
| abovestyle = background:#ccccff;font-weight:normal;background-color:{{colors|{{{colors|}}}}}
| aboveclass = patterned-header
| headerstyle = background:#ccccff;
| bodystyle = border-spacing:3.5px;
| headerstyle = background-color:#ccccff;{{colors|{{{colors|}}}}}
 
| above = '''{{{name}}}'''<br>{{{jname|}}}
| class1 = patterned
| header1 = Character Information
| image = <div class="infoboximgcontainer"><div class="infoboximg"><div class="infoboximg2" style="background-color:{{colors|{{{colors|}}}}}"></div></div>{{{image}}}</div>
| image = {{{image}}}
 
| label2 = ClassificationTitle
| data2 = {{{classtitle|}}}
| label3 = TitleClassification
| data3 = {{{title|}}}
{{#ifeq: {{{cat2class}}} | 2Human | [[:Category:DemonsHumans|Human]]}} |
| label4 = Also Known As
{{#ifeq: {{{class}}} | Angel | [[:Category:Angels|Angel]] |
| data4 = {{{aka|}}}
{{#ifeq: {{{class}}} | Demon | [[:Category:Demons|Demon]] |
| label5 = Gender
{{#ifeq: {{{class}}} | Witch | [[Witch]]|
| data5 = [[:Category:{{{gender}}}|{{{gender}}}]]
{{#ifeq: {{{class}}} | Youkai | [[:Category:Youkai|Youkai]] |
| label6 = Age
{{#ifeq: {{{class}}} | Furniture | [[:Category:Furniture|Furniture]] |{{{class}}}}}}}}}}}}}}}
| data6 = {{{age}}}
| label7label4 = Hair ColorGender
| data7data4 = {{{hairgender|}}}
| label8label5 = Eye ColorNationality
| data5 = {{#if:{{{nationality|}}}|{{flagdeco|{{uc:{{{nationality|}}}}}|size=x12px}} {{demonym country|{{lc:{{{nationality|}}}}}}}}}
| data8 = {{{eye}}}
| label9label6 = FirstAlso AppearanceKnown As
| data9data6 = {{{firstAppearanceaka|}}}
| label10label7 = Voiced= ByAge
| data10data7 = {{{seiyuage|}}}
| label11label8 = RelationshipsBirthday
| data11data8 = {{{relationsbirthday|}}}
| label9 = Zodiac Sign
| data8data9 = {{{eyezodiac|}}}
| label5 label10 = GenderHeight
| data10 = {{{height|}}}
| label11 = Weight
| data11 = {{{weight|}}}
| label12 = Blood Type
| data12 = {{{blood|}}}
| label13 = Hair Color
| image data13 = {{{imagehair}}}
| label14 = Eye Color
| data6 data14 = {{{ageeye}}}
| label15 = Occupation
| data15 = {{#ifeq: {{{occupation|}}} | Gauntlet Knight | [[Gauntlet Knights|Gauntlet Knight]] |{{{occupation|}}}}}
| label16 = Affiliation
| data16 = {{{affiliation|}}}
| label6 label17 = AgeLikes
| data17 = {{{likes|}}}
| label18 = Dislikes
| data18 = {{{dislikes|}}}
| label19 = First Appearance
| data19 = {{{firstAppearance}}}
| label20 = Portrayed By
| data20 = {{{seiyu|}}}
| label21 = Relationships
| data21 = {{{relations|}}}
| data4 data22 = {{{akad21|}}}
}}
 
<includeonly>
{{#ifeq: {{{class}}} | Human | [[Category:Humans]] |
[[Category:{{{gender}}}]]
{{#ifeq: {{{class}}} | Angel | {{{cat1}}} = 1[[Category:Angels]] | {{{cat1}}} = 0}}
{{#ifeq: {{{class}}} | Demon | {{{cat2}}} = 2[[Category:Demons]] | {{{cat2}}} = 0}}
{{#ifeq: {{{class}}} | Witch | [[Category:Witches]]|
 
{{#ifeq: {{{cat1class}}} | 0Youkai | [[Category:{{{class}}}Youkai]]}} |
{{#ifeq: {{{cat1occupation}}} | 1Gauntlet Knight | [[Category:AngelsGauntlet Knights]]}} |
{{#ifeq: {{{cat2class}}} | 0Furniture | [[Category:{{{classFurniture]]}}}]]}}}}}}}}}}}</includeonly><noinclude>{{Documentation}}
{{#ifeq: {{{cat2}}} | 2 | [[Category:Demons]]}}
</includeonly>
 
<noinclude>
{{Documentation}}
</noinclude>