Difference between revisions of "Template:Infobox polyhedron"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Tomruen |
imported>Tomruen |
||
| Line 3: | Line 3: | ||
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | | above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | ||
| abovestyle = background:#e7dcc3 | | abovestyle = background:#e7dcc3 | ||
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image_File|}}}}}}|size=frameless|upright=1. | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Image_File|}}}}}}|size=frameless|upright=1.0|alt={{{alt|}}}}} |
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| headerstyle = background:#e7dcc3 | | headerstyle = background:#e7dcc3 | ||
| Line 39: | Line 39: | ||
| data16 = {{{properties|{{{Property_List|}}}}}} | | data16 = {{{properties|{{{Property_List|}}}}}} | ||
| header17 = {{#if:{{{vertex_figure|{{{VertexImage_File|}}}}}}|[[Vertex figure]]}} | | header17 = {{#if:{{{vertex_figure|{{{VertexImage_File|}}}}}}|[[Vertex figure]]}} | ||
| − | | data18 = {{#invoke:InfoboxImage|InfoboxImage|image={{{vertex_figure|{{{VertexImage_File|}}}}}}|size=frameless|upright= | + | | data18 = {{#invoke:InfoboxImage|InfoboxImage|image={{{vertex_figure|{{{VertexImage_File|}}}}}}|size=frameless|upright=0.8|alt={{{vertex_figure_alt|}}}}} |
| header19 = {{#if:{{{net|{{{Net_Image_File|}}}}}}|[[Net (polyhedron)|Net]]}} | | header19 = {{#if:{{{net|{{{Net_Image_File|}}}}}}|[[Net (polyhedron)|Net]]}} | ||
| data20 = {{#invoke:InfoboxImage|InfoboxImage|image={{{net|{{{Net_Image_File|}}}}}}|size=frameless|upright=1.27|alt={{{net_alt|}}}}} | | data20 = {{#invoke:InfoboxImage|InfoboxImage|image={{{net|{{{Net_Image_File|}}}}}}|size=frameless|upright=1.27|alt={{{net_alt|}}}}} | ||
Revision as of 04:08, 12 June 2015
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Contents
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 | |
|---|---|
![]() Examples: Pentagonal and square frustum | |
| Faces | n trapezoids, 2 n-gons |
| Edges | 3n |
| Vertices | 2n |
| Symmetry group | Cnv, [1,n], (*nn) |
| Properties | convex |
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
eo:Ŝablono:Hiperpluredro mk:Шаблон:Инфокутија Полиедар sk:Šablóna:Infobox mnohosten zh:Template:Infobox polyhedron
| The above documentation is transcluded from Template:Infobox polyhedron/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
