Difference between revisions of "Template:CharacterInfobox"

From Life After BOB Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> This is the template for Character infoboxes </noinclude> <includeonly> <infobox layout="stacked"> <title source="name"> <default>{{PAGENAME}}</default> </...")
 
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the template for Character infoboxes
 
This is the template for Character infoboxes
 +
{{#cargo_declare:_table=Characters
 +
| image=File
 +
| Entity=Page
 +
| Birth_name=String
 +
| Birthday=Date
 +
| Starsign=String
 +
| Age=Integer
 +
| Blood_type=String
 +
| Element=String
 +
| MBTI=String
 +
| Spirit_animal=String
 +
| Related_to=List (,) of Wikitext
 +
| Chosen_name=String
 +
| Nicknames_previous_names=String
 +
| Parental_script=Wikitext
 +
| Lucky_cursed=String (allowed values=Lucky,Cursed,?)
 +
| Script_position=Wikitext
 +
| Openness=Integer (allowed values=1,2,3,4,5,6,7,8,9,10)
 +
| Conscientiousness=Integer (allowed values=1,2,3,4,5,6,7,8,9,10)
 +
| Extraversion=Integer (allowed values=1,2,3,4,5,6,7,8,9,10)
 +
| Agreeableness=Integer (allowed values=1,2,3,4,5,6,7,8,9,10)
 +
| Neuroticism=Integer (allowed values=1,2,3,4,5,6,7,8,9,10)
 +
| Bob=Wikitext
 +
| Comfort_food=Wikitext
 +
| Occupation_by_design=Wikitext
 +
| Motto=String
 +
| Current_occupation=Wikitext
 +
| Aspirational_occupation=Wikitext
 +
| Children=Wikitext
 +
| Marital_status=String
 +
| Previous_marriages=Integer
 +
| Spouses=List (,) of Wikitext
 +
| Times_reincarnated=Integer
 +
| Current_life_stage=Wikitext
 +
| Current_life_stage_crossing=Wikitext
 +
| Seven_tortures_to_date=List (,) of Wikitext
 +
| Neo_archetype=Wikitext
 +
}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<infobox layout="stacked">
+
{{#cargo_store: _table=Characters
 +
| image={{{image}}}
 +
| Entity={{PAGENAME}}
 +
| Birth_name={{{Birth name}}}
 +
| Birthday={{{Birthday}}}
 +
| Starsign={{{Starsign}}}
 +
| Age={{{Age}}}
 +
| Blood_type={{{Blood type}}}
 +
| Element={{{Element}}}
 +
| MBTI={{{MBTI}}}
 +
| Spirit_animal={{{Spirit animal}}}
 +
| Related_to={{{Related to}}}
 +
| Chosen_name={{{Chosen name}}}
 +
| Nicknames_previous_names={{{Nicknames/previous names}}}
 +
| Parental_script={{{Parental script}}}
 +
| Lucky_cursed={{{Lucky/cursed}}}
 +
| Script_position={{{Script position}}}
 +
| Openness={{{Openness}}}
 +
| Conscientiousness={{{Conscientiousness}}}
 +
| Extraversion={{{Extraversion}}}
 +
| Agreeableness={{{Agreeableness}}}
 +
| Neuroticism={{{Neuroticism}}}
 +
| Bob={{{Bob}}}
 +
| Comfort_food={{{Comfort food}}}
 +
| Occupation_by_design={{{Occupation by design}}}
 +
| Motto={{{Motto}}}
 +
| Current_occupation={{{Current occupation}}}
 +
| Aspirational_occupation={{{Aspirational occupation}}}
 +
| Children={{{Children}}}
 +
| Marital_status={{{Marital status}}}
 +
| Previous_marriages={{{Previous marriages}}}
 +
| Spouses={{{Spouse(s)}}}
 +
| Times_reincarnated={{{Times reincarnated}}}
 +
| Current_life_stage={{{Current life stage}}}
 +
| Current_life_stage_crossing={{{Current life stage crossing}}}
 +
| Seven_tortures_to_date={{{Seven tortures to date}}}
 +
| Neo_archetype={{{Neo-archetype}}}
 +
}}
 +
<infobox type="character">
 
   <title source="name">
 
   <title source="name">
 
     <default>{{PAGENAME}}</default>
 
     <default>{{PAGENAME}}</default>
Line 17: Line 93:
 
  <data source="Element"><label>Element:</label></data>
 
  <data source="Element"><label>Element:</label></data>
 
  <data source="MBTI"><label>MBTI:</label></data>
 
  <data source="MBTI"><label>MBTI:</label></data>
 +
  <data source="Spirit animal"><label>Spirit Animal:</label></data>
 
  <data source="Related to"><label>Related To:</label></data>
 
  <data source="Related to"><label>Related To:</label></data>
 
   </group>
 
   </group>
Line 24: Line 101:
 
  <data source="Nicknames/previous names"><label>Nicknames/Previous Names:</label></data>
 
  <data source="Nicknames/previous names"><label>Nicknames/Previous Names:</label></data>
 
  <data source="Parental script"><label>Parental Script:</label></data>
 
  <data source="Parental script"><label>Parental Script:</label></data>
  <data source="Lucky/Cursed"><label>Lucky/Cursed:</label></data>
+
  <data source="Lucky/cursed"><label>Lucky/Cursed:</label></data>
 
  <data source="Script position"><label>Script Position:</label></data>
 
  <data source="Script position"><label>Script Position:</label></data>
  <data source="Openness"><label>Openness (1-10):</label></data>
+
  <data source="Openness">
  <data source="Conscientiousness"><label>Conscientiousness (1-10):</label></data>
+
              <label>Openness:</label>
  <data source="Agreeableness"><label>Agreeableness (1-10):</label></data>
+
              <format>[[File:{{{Openness}}}_bar.png|100px|link=]] {{{Openness}}}&#47;10</format>
  <data source="Neuroticism"><label>Neuroticism (1-10):</label></data>
+
          </data>
 +
  <data source="Conscientiousness">
 +
              <label>Conscientiousness:</label>
 +
              <format>[[File:{{{Conscientiousness}}}_bar.png|100px|link=]] {{{Conscientiousness}}}&#47;10</format>
 +
          </data>
 +
  <data source="Extraversion">
 +
              <label>Extraversion:</label>
 +
              <format>[[File:{{{Extraversion}}}_bar.png|100px|link=]] {{{Extraversion}}}&#47;10</format>
 +
          </data>
 +
  <data source="Agreeableness">
 +
              <label>Agreeableness:</label>
 +
              <format>[[File:{{{Agreeableness}}}_bar.png|100px|link=]] {{{Agreeableness}}}&#47;10</format>
 +
          </data>
 +
  <data source="Neuroticism">
 +
              <label>Neuroticism:</label>
 +
              <format>[[File:{{{Neuroticism}}}_bar.png|100px|link=]] {{{Neuroticism}}}&#47;10</format>
 +
          </data>
 
  <data source="BOB"><label>BOB:</label></data>
 
  <data source="BOB"><label>BOB:</label></data>
 
  <data source="Comfort food"><label>Comfort Food:</label></data>
 
  <data source="Comfort food"><label>Comfort Food:</label></data>
Line 41: Line 134:
 
  <data source="Children"><label>Children:</label></data>
 
  <data source="Children"><label>Children:</label></data>
 
  <data source="Marital status"><label>Marital Status:</label></data>
 
  <data source="Marital status"><label>Marital Status:</label></data>
  <data source="Previous marriages"><label>Previous Marriages:</label></data>
+
          <data source="Previous marriages"><label>Previous Marriages:</label></data>
 +
          <data source="Spouse(s)"><label>Spouse(s):</label></data>
 
  <data source="Times reincarnated"><label>Times Reincarnated:</label></data>
 
  <data source="Times reincarnated"><label>Times Reincarnated:</label></data>
 
  <data source="Current life stage"><label>Current Life Stage:</label></data>
 
  <data source="Current life stage"><label>Current Life Stage:</label></data>
Line 50: Line 144:
 
   </group>
 
   </group>
 
</infobox>
 
</infobox>
 +
[[Category:Characters]]
 
</includeonly>
 
</includeonly>

Latest revision as of 17:40, 27 August 2021

This is the template for Character infoboxes This template defines the table "Characters". View table.