Jump to content

Template:Substance: Difference between revisions

 
(9 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>
   <group>
     <header source="general_info">General Info</header>
     <header source="general_info">General Info</header>
     <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 15: 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 50: Line 97:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example usage:
{{Documentation}}
{{Substance
  | name=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
  | 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>
{"params":{"name":{"suggested":true},"general_info":{"suggested":true},"universe":{"suggested":true},"affiliation":{"suggested":true},"created_by":{"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}},"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>