Jump to content

Template:Substance: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
     <data source="universe">
     <data source="universe">
       <label>Universe</label>
       <label>Universe</label>
    </data>
    <data source="origin">
      <label>Origin</label>
     </data>
     </data>
     <data source="affiliation">
     <data source="affiliation">
Line 29: Line 32:
     <data source="applications">
     <data source="applications">
       <label>Applications</label>
       <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>
     </data>
   </group>
   </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 64: Line 97:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example usage:
{{Documentation}}
{{Substance
  | name=Example
  | image1=Example.jpg
  | caption-image1=Example
  | ipa=Example
  | oed=Example
  | general_info=Example
  | universe=Example
  | affiliation=Example
  | created_by=Example
  | applications=Example
  | properties=Example
  | color=Example
  | smell=Example
  | state_of_matter=Example
  | consistency=Example
  | arcane_properties=Example
  | chemical_make-up=Example
  | elements=Example
  | chemicals=Example
  | other_substances=Example}}
<pre>
{{Substance
  | name=Example
  | image1=Example.jpg
  | caption-image1=Example
  | ipa=Example
  | oed=Example
  | general_info=Example
  | universe=Example
  | affiliation=Example
  | created_by=Example
  | applications=Example
  | properties=Example
  | color=Example
  | smell=Example
  | state_of_matter=Example
  | consistency=Example
  | arcane_properties=Example
  | chemical_make-up=Example
  | elements=Example
  | chemicals=Example
  | other_substances=Example}}
</pre>
<templatedata>
<templatedata>
{
{
Line 127: Line 116:
"suggested": true
"suggested": true
},
},
"origin": {
      "suggested": true
    },
"affiliation": {
"affiliation": {
"suggested": true
"suggested": true
Line 133: Line 125:
"suggested": true
"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": {
"applications": {
"suggested": true
"suggested": true
Line 182: Line 198:
"general_info",
"general_info",
"universe",
"universe",
        "origin",
"affiliation",
"affiliation",
"created_by",
"created_by",
"type",
"molar_mass",
"formula",
"phase",
"solubility",
"boiling_point",
"melting_point",
"hazards",
"applications",
"applications",
"properties",
"properties",