Jump to content

Template:Substance: Difference between revisions

Cdjensen94
Cdjensen94 (talk | contribs) (Created page with "<includeonly> <infobox> <title source="name"/> <group> <header source="properties">Properties</header> <data source="color"> <label>Color</label> </data> <data source="smell"> <label>Smell</label> </data> <data source="state_of_matter"> <label>State of Matter</label> </data> <data source="consistency"> <label>Consistency</label> </data> </group> <group> <header source="chemical_make-up">Chemical Make...")
 
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
<infobox>
<infobox>
   <title source="name"/>
   <title source="name"/>
  <image source="image1">
    <caption source="caption-image1"/>
  </image>
  <group>
<header source="pronunciation">Pronunciation</header>
    <data source="oed">
    <label>OED Pronunciation</label>
    <format>[[wikipedia:Oxford_English_Dictionary|OED]]: {{{oed}}}</format>
    </data>
    <data source="ipa">
    <label>IPA Pronunciation</label>
    <format>[[wikipedia:Help:IPA|IPA]]:/{{{ipa}}}/</format>
    </data>
    </group>
  <group>
    <header source="general_info">General Info</header>
    <data source="universe">
      <label>Universe</label>
    </data>
    <data source="origin">
      <label>Origin</label>
    </data>
    <data source="affiliation">
      <label>Affiliation</label>
    </data>
    <data source="created_by">
      <label>Created by</label>
    </data>
    <data source="applications">
      <label>Applications</label>
    </data>
    <data source="type">
      <label>Type</label>
    </data>
  </group>
  <group>
    <header source="chemistry">Chemistry</header>
    <data source="formula">
      <label>Chemical Formula</label>
    </data>
    <data source="molar_mass"> 
      <label>Molar Mass</label>
    </data>
    <data source="phase">
      <label>Phase at Room Temperature</label>
    </data>
    <data source="solubility">
      <label>Solubility</label>
    </data>
    <data source="boiling_point">
      <label>Boiling Point</label>
    </data>
    <data source="melting_point">
      <label>Melting Point</label>
    </data>
    <data source="hazards">
      <label>Hazards</label>
    </data>
  </group>
   <group>
   <group>
     <header source="properties">Properties</header>
     <header source="properties">Properties</header>
    <data source="appearance">
      <label>Appearance</label>
    </data>
     <data source="color">
     <data source="color">
       <label>Color</label>
       <label>Color</label>
Line 15: Line 77:
     <data source="consistency">
     <data source="consistency">
       <label>Consistency</label>
       <label>Consistency</label>
    </data>
    <data source="arcane_properties">
      <label>Arcane Properties</label>
     </data>
     </data>
   </group>
   </group>
   <group>
   <group>
     <header source="chemical_make-up">Chemical Make-up</header>
     <header source="chemical_make-up">Chemical Make-up</header>
     <data source="row1"/>
     <data source="elements">
      <label>Elements</label>
    </data>
    <data source="chemicals">
      <label>Chemicals</label>
    </data>
    <data source="other_substances">
      <label>Other Substances</label>
    </data>
   </group>
   </group>
</infobox>
</infobox>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example usage:
{{Documentation}}
{{Substance
  | name=Example
  | properties=Example
  | color=Example
  | smell=Example
  | state_of_matter=Example
  | consistency=Example
  | chemical_make-up=Example
  | row1=Example}}
<pre>
{{Substance
  | name=Example
  | properties=Example
  | color=Example
  | smell=Example
  | state_of_matter=Example
  | consistency=Example
  | chemical_make-up=Example
  | row1=Example}}
</pre>
<templatedata>
<templatedata>
{"params":{"name":{"suggested":true},"properties":{"suggested":true},"color":{"suggested":true},"smell":{"suggested":true},"state_of_matter":{"suggested":true},"consistency":{"suggested":true},"chemical_make-up":{"suggested":true},"row1":{"suggested":true}},"sets":[],"maps":{}}
{
"params": {
"name": {
"suggested": true
},
"image1": {
"suggested": true
},
"caption-image1": {
"suggested": true
},
"general_info": {
"suggested": true
},
"universe": {
"suggested": true
},
"origin": {
      "suggested": true
    },
"affiliation": {
"suggested": true
},
"created_by": {
"suggested": true
},
    "type": {
      "suggested": true
    },
"molar_mass": {
      "suggested": true
    },
    "formula": {
      "suggested": true
    },
    "phase": {
      "suggested": true
    },
    "solubility": {
      "suggested": true
    },
    "boiling_point": {
      "suggested": true
    },
    "melting_point": {
      "suggested": true
    },
    "hazards": {
      "suggested": true
    },
"applications": {
"suggested": true
},
"properties": {
"suggested": true
},
"color": {
"suggested": true
},
"smell": {
"suggested": true
},
"state_of_matter": {
"suggested": true
},
"consistency": {
"suggested": true
},
"arcane_properties": {
"suggested": true
},
"chemical_make-up": {
"suggested": true
},
"elements": {
"suggested": true
},
"chemicals": {
"suggested": true
},
"other_substances": {
"suggested": true
},
"oed": {
"type": "line"
},
"ipa": {
"type": "line"
}
},
"sets": [],
"paramOrder": [
"name",
"image1",
"caption-image1",
"ipa",
"oed",
"general_info",
"universe",
        "origin",
"affiliation",
"created_by",
"type",
"molar_mass",
"formula",
"phase",
"solubility",
"boiling_point",
"melting_point",
"hazards",
"applications",
"properties",
"color",
"smell",
"state_of_matter",
"consistency",
"arcane_properties",
"chemical_make-up",
"elements",
"chemicals",
"other_substances"
],
"format": "block"
}
</templatedata>
</templatedata>
[[Category:Templates]] [[Category:Infobox templates]]
</noinclude>
</noinclude>