Page protected

Difference between revisions of "Template:ObjectInfobox"

From Life After BOB Wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
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
  | Page_name=Page
+
  | Image=File
 +
| Entity=Page
 
  | Age=String
 
  | Age=String
 
  | Element=String
 
  | Element=String
Line 18: Line 20:
 
<includeonly>
 
<includeonly>
 
{{#cargo_store: _table=Objects
 
{{#cargo_store: _table=Objects
  | Page_name={{PAGENAME}}
+
  | Image={{{image}}}
 +
| Entity={{PAGENAME}}
 
  | Age={{{Age}}}
 
  | Age={{{Age}}}
 
  | Element={{{Element}}}
 
  | Element={{{Element}}}
Line 31: Line 34:
 
  | Times_reincarnated={{{Times reincarnated}}}
 
  | 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 42: 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 48: 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 57: Line 60:
 
   </group>
 
   </group>
 
</infobox>
 
</infobox>
 +
[[Category:Objects]]
 
</includeonly>
 
</includeonly>

Latest revision as of 17:42, 27 August 2021

This is the template for Object infoboxes This template defines the table "Objects". View table.