Template:Infobox polyhedron/doc
Appearance
This is a documentation subpage for Template:Infobox polyhedron. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit source]{{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 source]- 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 source]Set of pyramidal right n-gonal frustums | |
---|---|
Faces | n isosceles trapezoids, 2 regular n-gons |
Edges | 3n |
Vertices | 2n |
Symmetry group | Cnv, [1,n], (*nn) |
Dual polyhedron | convex asymmetric right n-gonal bipyramid |
Properties | convex |
Net | |
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 source]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for Infobox polyhedron
Infobox for polyhedra, such as cubes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name of polyhedron | name | no description | String | required |
Image of polyhedron | image Image_File | no description | File | suggested |
Polyhedron image alt text | alt | For accessibility purposes. This text will be read out by screen readers accompanying the image. | Content | optional |
Polyhedron image caption | caption | no description | Content | suggested |
Type | type Polyhedron_Type | General type of considered shape | Content | optional |
Faces | faces Face_List | Face count and type(s). | Content | suggested |
Edges | edges Edge_Count | Edge count and type(s). | Content | suggested |
Vertices | vertices Vertex_Count | Vertex count and type(s). | Content | suggested |
Euler characteristic | euler Euler_characteristic | no description | Content | optional |
Vertex configuration | vertex_config Vertex_List | no description | Content | optional |
Wythoff symbol | wythoff Wythoff_Symbol | no description | Content | optional |
Schläfli symbol | schläfli | no description | Content | optional |
Conway notation | conway | no description | Content | optional |
Coxeter diagram | coxeter Cox | Use {{CDD}}. | Content | optional |
Symmetry group | symmetry Symmetry_Group | no description | Content | optional |
Rotation group | rotation_group rotsymmetry | no description | Content | optional |
Surface area | surface_area | Some simple formula(e). | Content | optional |
Volume | volume | Some simple formula(e). | Unknown | optional |
Dihedral angle | angle | Some simple formula(e). In degrees. | Content | optional |
Dual polyhedron | dual | no description | Content | optional |
Face configuration | Face_Type | no description | Content | optional |
Properties | properties Property_List | no description
| Content | optional |
Vertex figure | vertex_figure Vertex_Image_File | no description | File | optional |
Alt text of vertex figure | vertex_figure_alt | no description | Content | optional |
Image of net | net Net_Image_File | no description | File | optional |
Alternate image of net | net_alt Net_Alt_Image_File | no description | File | optional |
Net caption | net_caption | Net and alternate net caption. | Content | optional |