Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| + | {{#invoke:Protection banner|main|small=yes}} |
| This is the template for Object infoboxes | | This is the template for Object infoboxes |
| {{#cargo_declare:_table=Objects | | {{#cargo_declare:_table=Objects |
| + | | Image=File |
| + | | Entity=Page |
| | Age=String | | | Age=String |
| | Element=String | | | Element=String |
− | | Related_to=List (,) of String | + | | Related_to=List (,) of Wikitext |
| | Name=String | | | Name=String |
| | Nicknames_previous_names=String | | | Nicknames_previous_names=String |
− | | Occupation_by_design=String | + | | Occupation_by_design=Wikitext |
− | | Script=String | + | | Script=Wikitext |
− | | Script_position=String | + | | Script_position=Wikitext |
− | | Lucky_cursed=String | + | | Lucky_cursed=String (allowed values=Lucky,Cursed,?) |
| | Motto=String | | | Motto=String |
| | Times_reincarnated=Integer | | | Times_reincarnated=Integer |
Line 17: |
Line 20: |
| <includeonly> | | <includeonly> |
| {{#cargo_store: _table=Objects | | {{#cargo_store: _table=Objects |
− | | Age=Age | + | | Image={{{image}}} |
− | | Element=Element | + | | Entity={{PAGENAME}} |
− | | Related_to=Related to | + | | Age={{{Age}}} |
− | | Name=Name | + | | Element={{{Element}}} |
− | | Nicknames_previous_names=Nicknames/previous names | + | | Related_to={{{Related to}}} |
− | | Occupation_by_design=Occupation by design | + | | Name={{{Name}}} |
− | | Script=Script | + | | Nicknames_previous_names={{{Nicknames/previous names}}} |
− | | Script_position=Script position | + | | Occupation_by_design={{{Occupation by design}}} |
− | | Lucky_cursed=Lucky/cursed | + | | Script={{{Script}}} |
− | | Motto=Motto | + | | Script_position={{{Script position}}} |
− | | Times_reincarnated=Times reincarnated | + | | Lucky_cursed={{{Lucky/cursed}}} |
| + | | Motto={{{Motto}}} |
| + | | Times_reincarnated={{{Times reincarnated}}} |
| }} | | }} |
− | <infobox> | + | <infobox type="object"> |
| <title source="name"> | | <title source="name"> |
| <default>{{PAGENAME}}</default> | | <default>{{PAGENAME}}</default> |
| </title> | | </title> |
| <image source="image" /> | | <image source="image" /> |
− | <group collapse="closed"> | + | <group collapse="open"> |
| <header>Nature</header> | | <header>Nature</header> |
| <data source="Age"><label>Age:</label></data> | | <data source="Age"><label>Age:</label></data> |
Line 40: |
Line 45: |
| <data source="Related to"><label>Related To:</label></data> | | <data source="Related to"><label>Related To:</label></data> |
| </group> | | </group> |
− | <group collapse="closed"> | + | <group collapse="open"> |
| <header>Nurture</header> | | <header>Nurture</header> |
| <data source="Name"><label>Name:</label></data> | | <data source="Name"><label>Name:</label></data> |
Line 46: |
Line 51: |
| <data source="Occupation by design"><label>Occupation by Design:</label></data> | | <data source="Occupation by design"><label>Occupation by Design:</label></data> |
| <data source="Script"><label>Script:</label></data> | | <data source="Script"><label>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> |
| </group> | | </group> |
− | <group collapse="closed"> | + | <group collapse="open"> |
| <header>Torture</header> | | <header>Torture</header> |
| <data source="Motto"><label>Motto:</label></data> | | <data source="Motto"><label>Motto:</label></data> |
Line 55: |
Line 60: |
| </group> | | </group> |
| </infobox> | | </infobox> |
| + | [[Category:Objects]] |
| </includeonly> | | </includeonly> |