Jump to content

Template:Substance: Difference between revisions

From Continuum Universes Wiki
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
     <data source="oed">
     <data source="oed">
     <label>OED Pronunciation</label>
     <label>OED Pronunciation</label>
     <format>[[WP:Oxford_English_Dictionary|OED]]: {{{oed}}}</format>
     <format>[[wikipedia:Oxford_English_Dictionary|OED]]: {{{oed}}}</format>
     </data>
     </data>
     <data source="ipa">
     <data source="ipa">
     <label>IPA Pronunciation</label>
     <label>IPA Pronunciation</label>
     <format>[[WP:IPA|IPA]]:/{{{ipa}}}/</format>
     <format>[[wikipedia:Help:IPA|IPA]]:/{{{ipa}}}/</format>
     </data>
     </data>
     </group>
     </group>
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>
{"params":{"name":{"suggested":true},"image1":{"suggested":true},"caption-image1":{"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]]
[[Category:Templates]] [[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 14:12, 16 October 2025


Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

Example usage:


{{Substance
  | name=Example
  | image1=Example.jpg
  | caption-image1=Example
  | ipa=Example
  | oed=Example
  | general_info=Example
  | universe=Example
  | origin=Example
  | affiliation=Example
  | created_by=Example
  | type=Example
  | molar_mass=Example
  | formula=Example
  | phase=Example
  | solubility=Example
  | boiling_point=Example
  | melting_point=Example
  | hazards=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}}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Unknownsuggested
image1image1

no description

Unknownsuggested
caption-image1caption-image1

no description

Unknownsuggested
ipaipa

no description

Lineoptional
oedoed

no description

Lineoptional
general_infogeneral_info

no description

Unknownsuggested
universeuniverse

no description

Unknownsuggested
originorigin

no description

Unknownsuggested
affiliationaffiliation

no description

Unknownsuggested
created_bycreated_by

no description

Unknownsuggested
typetype

no description

Unknownsuggested
molar_massmolar_mass

no description

Unknownsuggested
formulaformula

no description

Unknownsuggested
phasephase

no description

Unknownsuggested
solubilitysolubility

no description

Unknownsuggested
boiling_pointboiling_point

no description

Unknownsuggested
melting_pointmelting_point

no description

Unknownsuggested
hazardshazards

no description

Unknownsuggested
applicationsapplications

no description

Unknownsuggested
propertiesproperties

no description

Unknownsuggested
colorcolor

no description

Unknownsuggested
smellsmell

no description

Unknownsuggested
state_of_matterstate_of_matter

no description

Unknownsuggested
consistencyconsistency

no description

Unknownsuggested
arcane_propertiesarcane_properties

no description

Unknownsuggested
chemical_make-upchemical_make-up

no description

Unknownsuggested
elementselements

no description

Unknownsuggested
chemicalschemicals

no description

Unknownsuggested
other_substancesother_substances

no description

Unknownsuggested