Jump to content

Template:Infobox polyhedron/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{Infobox polyhedron
| name      	 = <!--name of considered shape-->
| image     	 = <!--only image file name-->
| caption   	 = <!--image caption-->
| type      	 = <!--general type of considered shape-->
| euler     	 = <!--Euler characteristic-->
| faces     	 = <!--face count and type(s)-->
| edges     	 = <!--edge count (and type(s))-->
| vertices  	 = <!--vertex count (and type(s))-->
| vertex_config  = <!--list(s) of faces around a vertex-->
| schläfli  	 = <!--Schläfli symbol-->
| wythoff   	 = <!--Wythoff symbol-->
| conway    	 = <!--Conway polyhedron notation-->
| coxeter   	 = <!--Coxeter-Dynkin diagram-->
| symmetry  	 = <!--symmetry group-->
| rotation_group = <!--rotation group-->
| surface_area   = <!--some simple formula(e)-->
| volume    	 = <!--some simple formula(e)-->
| angle     	 = <!--dihedral angle(s)--some simple formula(e)-->
| dual      	 = <!--dual polyhedron of considered shape-->
| properties	 = <!--property(ies) of considered shape-->
| vertex_figure  = <!--only image file name-->
| net       	 = <!--only image file name-->
| net_alt     	 = <!--alternative net--only image file name-->
| net_caption    = <!--net and net_alt caption-->
}}

Legacy parameters

[edit]
  • 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
  • Vertex_Image_File → vertex_figure
  • Net_Image_File → net
  • Net_Alt_Image_File → net_alt

Examples

[edit]
Set of pyramidal right n-gonal frustums
Examples: right square and pentagonal frustums (n = 4 and n = 5)
Facesn isosceles trapezoids, 2 regular n-gons
Edges3n
Vertices2n
Symmetry groupCnv, [1,n], (*nn)
Dual polyhedronconvex asymmetric right n-gonal bipyramid
Propertiesconvex
Net
Net of right pentagonal frustum.png
Examples: nets of right trigonal and pentagonal frustums (n = 3 and n = 5)

The code below results in the infobox on the right:

{{Infobox polyhedron
| name          = Set of pyramidal right {{mvar|n}}-gonal frustums
| image         = [[Image:Usech kvadrat piramid.png|110px]][[File:Pentagonal frustum.svg|110px]]
| caption       = Examples: right square and pentagonal frustums ({{math|1=''n'' = 4}} and {{math|1=''n'' = 5}})
| type          =
| faces         = {{mvar|n}} isosceles [[trapezoid]]s, {{math|2}} [[Regular polygon|regular {{mvar|n}}-gons]]
| edges         = {{math|3''n''}}
| vertices      = {{math|2''n''}}
| wythoff       =
| symmetry      = [[Symmetry group#Three dimensions|{{math|C<sub>''n''v</sub>, [1,''n''], (*''nn'')}}]]
| dual          = convex [[Bipyramid#Asymmetric/inverted right bipyramids|asymmetric right {{mvar|n}}-gonal bipyramid]]
| properties    = [[Convex set|convex]]
| net           = Net of right trigonal frustum.png
| net_alt       = Net of right pentagonal frustum.png
| net_caption   = Examples: nets of right trigonal and pentagonal frustums ({{math|1=''n'' = 3}} and {{math|1=''n'' = 5}}))
}}

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox polyhedron in articles based on its TemplateData.

TemplateData for Infobox polyhedron

Infobox for polyhedra, such as cubes.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Name of polyhedronname

no description

Stringrequired
Image of polyhedronimage Image_File

no description

Filesuggested
Polyhedron image alt textalt

For accessibility purposes. This text will be read out by screen readers accompanying the image.

Contentoptional
Polyhedron image captioncaption

no description

Contentsuggested
Typetype Polyhedron_Type

General type of considered shape

Contentoptional
Facesfaces Face_List

Face count and type(s).

Contentsuggested
Edgesedges Edge_Count

Edge count and type(s).

Contentsuggested
Verticesvertices Vertex_Count

Vertex count and type(s).

Contentsuggested
Euler characteristiceuler Euler_characteristic

no description

Contentoptional
Vertex configurationvertex_config Vertex_List

no description

Contentoptional
Wythoff symbolwythoff Wythoff_Symbol

no description

Contentoptional
Schläfli symbolschläfli

no description

Contentoptional
Conway notationconway

no description

Contentoptional
Coxeter diagramcoxeter Cox

Use {{CDD}}.

Contentoptional
Symmetry groupsymmetry Symmetry_Group

no description

Contentoptional
Rotation grouprotation_group rotsymmetry

no description

Contentoptional
Surface areasurface_area

Some simple formula(e).

Contentoptional
Volumevolume

Some simple formula(e).

Unknownoptional
Dihedral angleangle

Some simple formula(e). In degrees.

Contentoptional
Dual polyhedrondual

no description

Contentoptional
Face configurationFace_Type

no description

Contentoptional
Propertiesproperties Property_List

no description

Example
[[convex set|convex]]
Contentoptional
Vertex figurevertex_figure Vertex_Image_File

no description

Fileoptional
Alt text of vertex figurevertex_figure_alt

no description

Contentoptional
Image of netnet Net_Image_File

no description

Fileoptional
Alternate image of netnet_alt Net_Alt_Image_File

no description

Fileoptional
Net captionnet_caption

Net and alternate net caption.

Contentoptional

See also

[edit]
Polyhedron templates: