Jump to content

Template:Substance: Difference between revisions

From Continuum Universes Wiki
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>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 73: Line 106:
   | general_info=Example
   | general_info=Example
   | universe=Example
   | universe=Example
  | origin=Example
   | affiliation=Example
   | affiliation=Example
   | created_by=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
   | applications=Example
   | properties=Example
   | properties=Example
Line 95: Line 137:
   | general_info=Example
   | general_info=Example
   | universe=Example
   | universe=Example
  | origin=Example
   | affiliation=Example
   | affiliation=Example
   | created_by=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
   | applications=Example
   | properties=Example
   | properties=Example
Line 127: Line 178:
"suggested": true
"suggested": true
},
},
"origin": {
      "suggested": true
    },
"affiliation": {
"affiliation": {
"suggested": true
"suggested": true
Line 133: Line 187:
"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 260:
"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",

Revision as of 14:09, 16 October 2025


Example usage:

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="name"/>
  • 2
    <image source="image1">
  • 3
    <caption source="caption-image1"/>
  • 4
    </image>
  • 5
    <group>
  • 6
    <header source="pronunciation">Pronunciation</header>
  • 7
    <data source="oed">
  • 8
    <label>OED Pronunciation</label>
  • 9
    <format>[[wikipedia:Oxford_English_Dictionary|OED]]: {{{oed}}}</format>
  • 10
    </data>
  • 11
    <data source="ipa">
  • 12
    <label>IPA Pronunciation</label>
  • 13
    <format>[[wikipedia:Help:IPA|IPA]]:/{{{ipa}}}/</format>
  • 14
    </data>
  • 15
    </group>
  • 16
    <group>
  • 17
    <header source="general_info">General Info</header>
  • 18
    <data source="universe">
  • 19
    <label>Universe</label>
  • 20
    </data>
  • 21
    <data source="origin">
  • 22
    <label>Origin</label>
  • 23
    </data>
  • 24
    <data source="affiliation">
  • 25
    <label>Affiliation</label>
  • 26
    </data>
  • 27
    <data source="created_by">
  • 28
    <label>Created by</label>
  • 29
    </data>
  • 30
    <data source="applications">
  • 31
    <label>Applications</label>
  • 32
    </data>
  • 33
    <data source="type">
  • 34
    <label>Type</label>
  • 35
    </data>
  • 36
    </group>
  • 37
    <group
  • 38
    <header>Chemistry</header>

    Error parsing attribute name

    Attributes construct error

    Tag definition is not properly terminated

  • 39
    <data source="formula">
  • 40
    <label>Chemical Formula</label>
  • 41
    </data>
  • 42
    <data source="molar_mass">
  • 43
    <label>Molar Mass</label>
  • 44
    </data>
  • 45
    <data source="phase">
  • 46
    <label>Phase at Room Temperature</label>
  • 47
    </data>
  • 48
    <data source="solubility">
  • 49
    <label>Solubility</label>
  • 50
    </data>
  • 51
    <data source="boiling_point">
  • 52
    <label>Boiling Point</label>
  • 53
    </data>
  • 54
    <data source="melting_point">
  • 55
    <label>Melting Point</label>
  • 56
    </data>
  • 57
    <data source="hazards">
  • 58
    <label>Hazards</label>
  • 59
    </data>
  • 60
    </group>

    Opening and ending tag mismatch

  • 61
    <group>

    Extra content at the end of the document

  • 62
    <header source="properties">Properties</header>
  • 63
    <data source="appearance">
  • 64
    <label>Appearance</label>
  • 65
    </data>
  • 66
    <data source="color">
  • 67
    <label>Color</label>
  • 68
    </data>
  • 69
    <data source="smell">
  • 70
    <label>Smell</label>
  • 71
    </data>
  • 72
    <data source="state_of_matter">
  • 73
    <label>State of Matter</label>
  • 74
    </data>
  • 75
    <data source="consistency">
  • 76
    <label>Consistency</label>
  • 77
    </data>
  • 78
    <data source="arcane_properties">
  • 79
    <label>Arcane Properties</label>
  • 80
    </data>
  • 81
    </group>
  • 82
    <group>
  • 83
    <header source="chemical_make-up">Chemical Make-up</header>
  • 84
    <data source="elements">
  • 85
    <label>Elements</label>
  • 86
    </data>
  • 87
    <data source="chemicals">
  • 88
    <label>Chemicals</label>
  • 89
    </data>
  • 90
    <data source="other_substances">
  • 91
    <label>Other Substances</label>
  • 92
    </data>
  • 93
    </group>
  • 94


{{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