Difference between revisions of "Template:Infobox polyhedron"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
imported>Zackmann08
 
Line 7: Line 7:
 
| headerstyle = background:#e7dcc3
 
| headerstyle = background:#e7dcc3
 
| label1    = Type
 
| label1    = Type
| data1      = {{{type|{{{Polyhedron_Type|}}}}}}
+
| data1      = {{{type|{{{Polyhedron_Type|{{{Type|}}}}}}}}}
 
| label2    = [[Face (geometry)|Faces]]
 
| label2    = [[Face (geometry)|Faces]]
 
| data2      = {{{faces|{{{Face_List|}}}}}}
 
| data2      = {{{faces|{{{Face_List|}}}}}}
Line 23: Line 23:
 
| data8      = {{{schläfli|{{{Schläfli|}}}}}}
 
| data8      = {{{schläfli|{{{Schläfli|}}}}}}
 
| label9    = [[Coxeter diagram]]
 
| label9    = [[Coxeter diagram]]
| data9      = {{{coxeter|{{{Coxeter|}}}}}}
+
| data9      = {{{coxeter|{{{Coxeter|{{{Cox|}}}}}}}}}
 
| label10    = [[List of spherical symmetry groups|Symmetry group]]
 
| label10    = [[List of spherical symmetry groups|Symmetry group]]
 
| data10    = {{{symmetry|{{{Symmetry_Group|}}}}}}
 
| data10    = {{{symmetry|{{{Symmetry_Group|}}}}}}

Latest revision as of 23:46, 8 January 2017

Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox polyhedron
| name          = 
| image         = only image file name
| caption       = image caption
| type          = general type of this shape
| euler         = Euler characteristic
| faces         = face count and types
| edges         = edge count
| vertices      = vertex count
| vertex_config = list faces around a vertex
| schläfli      = schläfli symbol
| wythoff       = wythoff symbol
| coxeter       = Coxeter-Dynkin diagram
| symmetry      = symmetry group
| surface_area  = some simple formula(e)
| volume        = some simple formula(e)
| angle         = dihedral angle
| dual          = dual polyhedron of this shape
| properties    =
| vertex_figure = only image file name
| net           = only image file name
}}


Legacy parameters

  • Image_File → image
  • Polyhedron_Type → type
  • Euler_characteristic → euler
  • Face_List → faces
  • Edge_Count → edges
  • Vertex_Count → vertices
  • Vertex_List → vertex_config
  • Wythoff_Symbol → wythoff
  • Symmetry_Group → symmetry
  • Dual → dual
  • Property_List → properties
  • VertexImage_File → vertex_figure
  • Net_Image_File → net

Examples

Set of pyramidal frustums
Pentagonal frustum.svgUsech kvadrat piramid.png
Examples: Pentagonal and square frustum
Facesn trapezoids, 2 n-gons
Edges3n
Vertices2n
Symmetry groupCnv, [1,n], (*nn)
Propertiesconvex
[[Category:Infobox templates|Template:Remove first word]]

The code below results in the infobox on the right:

{{Infobox polyhedron
| name          = Set of pyramidal frustums
| image         = [[File:Pentagonal frustum.svg|110px]][[Image:Usech kvadrat piramid.png|110px]]
| type          =
| caption       = Examples: Pentagonal and square frustum
| faces         = ''n'' [[trapezoid]]s, 2 [[polygon|''n''-gons]]
| edges         = 3''n''
| vertices      = 2''n''
| symmetry      = [[Symmetry group#Three dimensions|C<sub>''n''v</sub>]], [1,''n''], (*''nn'')
| dual          = 
| properties    = convex
}}

See also

Template:Polyhedron templates

eo:Ŝablono:Hiperpluredro mk:Шаблон:Инфокутија Полиедар sk:Šablóna:Infobox mnohosten zh:Template:Infobox polyhedron