Zum Inhalt springen

Vorlage:Infobox Graph

aus Wikipedia, der freien Enzyklopädie

fatal JSON error: mw.text.jsonDecode: Steuerzeichenfehler, vermutlich falsch kodiert

{ "description": "Infobox für einen Artikel über einen Graph",
  "params": {
     "name":
        { "label":       "Name",
          "description": "",
          "type":        "line",
          "suggested":   true,
          "default":     "Lemma des Wikipedia-Artikels",
          "example":     "Petersen Graph" },
     "bild_1":
        { "label":       "Bild 1",
          "description": "",
          "type":        "wiki-file-name",
          "suggested":   true,
          "example":     "Petersen graph.svg" },
     "bildbeschreibung_1":
        { "label":       "Bild­beschreibung 1",
          "description": "",
          "type":        "content",
          "suggested":   true,
          "example":     "" },
     "bild_2":
        { "label":       "Bild 2",
          "description": "",
          "type":        "wiki-file-name",
          "suggested":   false,
          "example":     "" },
     "bildbeschreibung_2":
        { "label":       "Bild­beschreibung 2",
          "description": "",
          "type":        "content",
          "suggested":   false,
          "example":     "" },
     "benennerIn":
        { "label":       "BenennerIn",
          "description": "",
          "type":        "content",
          "suggested":   true,
          "example":     "Schlümpfe" },
     "knoten":
        { "label":       "Knotenzahl",
          "description": "",
          "type":        "number",
          "suggested":   true,
          "example":     "99" },
     "kanten":
        { "label":       "Kantenzahl",
          "description": "",
          "type":        "number",
          "suggested":   true,
          "example":     "3" },
     "hamiltonsch":
        { "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "1" },
     "eulersch":
        { "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "0" },
     "planar":
        { "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "1" },
     "bipartit":
        { "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "1" },
     "azyklisch":
        { "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "0" },
     "gerichtet":
        { "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "0" },
     "perfekt":
        { "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "1" },
     "snark":
        { "label":       "snark",
          "description": "",
          "type":        "boolean",
          "suggested":   true,
          "default":     "0",
          "example":     "1" },
     "knotenzusammenhang":
        { "label":       "Knoten­zusammenhang",
          "description": "",
          "type":        "number",
          "suggested":   true,
          "example":     "4" },
     "cliquenzahl":
        { "label":       "Cliquenzahl",
          "description": "",
          "type":        "number",
          "suggested":   true,
          "example":     "3" },
     "regularität":
        { "label":       "Regularität",
          "description": "",
          "type":        "content",
          "suggested":   true,
          "example":     "3" },
     "schnittzahl":
        { "label":       "Schnittzahl",
          "description": "",
          "type":        "content",
          "suggested":   true,
          "example":     "9" },
     "chromatischeZahl":
        { "label":       "Chromatische Zahl",
          "description": "",
          "type":        "content",
          "suggested":   true,
          "example":     "99" },
     "chromatischerIndex":
        { "label":       "Chromatischer Index",
          "description": "",
          "type":        "content",
          "suggested":   true,
          "example":     "99" },
     "LCF":
        { "label":       "LCF-Notation",
          "description": "LCF-Notation<noexport>.<br /> Damit eine LCF-Notation existieren kann, muss der Graph hamiltonsch und kubisch sein.
</noexport>",
          "type":        "line",
          "suggested":   true,
          "example":     "2, [3,-3,-4,9], 4" },
     "charakteristisch":
        { "label":       "Charakteristisches Polynom",
          "description": "Charakteristisches Polynom in LaTeX",
          "type":        "content",
          "suggested":   true,
          "example":     "Vorlage:Zeichen*math>3x^2Vorlage:Zeichen*/math>" },
     "chromatisch":
        { "label":       "Chromatisches Polynom",
          "description": "Chromatisches Polynom in LaTeX",
          "type":        "content",
          "suggested":   true,
          "example":     "Vorlage:Zeichen*math>3x^2Vorlage:Zeichen*/math>" },
     "tutte":
        { "label":       "Tuttepolynom",
          "description": "Tuttepolynom in LaTeX",
          "type":        "content",
          "suggested":   true,
          "example":     "Vorlage:Zeichen*math>x^3+3x-2yVorlage:Zeichen*/math>" }
  },
  "format": "block"
}

<templatestyles src="TOC nonum/styles.css"></templatestyles>

Kopiervorlage

{{Infobox Graph
| name               =
| bild_1             = 
| bildbeschreibung_1 = 
| benennerIn         =
| knoten             =
| kanten             =
<!-- Eigenschaftsparameter mit booleschen Werten 1 oder 0 versehen („wahr“ oder „falsch“) -->
| hamiltonsch        =
| eulersch           =
| planar             =
| bipartit           =
| azyklisch          =
| perfekt            =
| snark              =
<!-- Diese Parameter akzeptieren natürliche Zahlen-->
| knotenzusammenhang =
| cliquenzahl        =
| regularität        =
| schnittzahl        =
| chromatischeZahl   =
| chromatischerIndex =
<!-- </nowiki>[[LCF-Notation]]<nowiki>: nur bei kubischen und hamiltonschen Graphen -->
| LCF                =
<!-- Polynome in [[Hilfe:TeX|LaTeX]] angeben. -->
| charakteristisch   =
| chromatisch        =
| tutte              =
}}

Beispiel

Petersen Graph
Datei:Petersen graph.svg
Benannt nach Schlümpfe
Größe 99 Knoten, 3 Kanten
Eigenschaften hamiltonsch, snark, perfekt, planar, bipartit, kubisch.
Chromatische Zahl 99
Chromatischer Index 99
Knotenzusammenhang 4
Cliquenzahl 3
Schnittzahl 9
Chromatisches Polynom <math>3x^2</math>
Charakteristisches Polynom <math>3x^2</math>
Tuttepolynom <math>x^3+3x-2y</math>
LCF-Notation 2, [3,-3,-4,9], 4

Kategorie:Hamiltonscher Graph

Kategorie:Snark Kategorie:Perfekter Graph Kategorie:Regulärer Graph

Kategorie:Bipartiter Graph Kategorie:Planarer Graph

{{Infobox Graph
| name               = Petersen Graph
| bild_1             = Petersen graph.svg
| bildbeschreibung_1 = 
| benennerIn         = Schlümpfe
| knoten             = 99
| kanten             = 3
| hamiltonsch        = 1
| eulersch           = 0
| planar             = 1
| schnittzahl        = 9
| bipartit           = 1
| regularität        = 3
| azyklisch          = 0
| gerichtet          = 0
| chromatischeZahl   = 99
| chromatischerIndex = 99
| LCF                = 2, [3,-3,-4,9], 4
| perfekt            = 1
| snark              = 1
| charakteristisch   = <math>3x^2</math>
| chromatisch        = <math>3x^2</math>
| tutte              = <math>x^3+3x-2y</math>
| knotenzusammenhang = 4
| cliquenzahl        = 3
}}