Difference between revisions of "Template:Infobox polygon"

From blackwiki
Jump to navigation Jump to search
imported>Trilelea
(add polygons navbart)
imported>Zyxw
m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation if article name is used as infobox title, using AWB)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
| bodyclass  =  
 
| bodyclass  =  
−
| above      = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
 
| abovestyle = background:#e7dcc3;
 
| abovestyle = background:#e7dcc3;
−
| image     = {{#if:{{{image|}}}|[[Image:{{{image}}}|220px]]}}
+
| image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|alt={{{alt|}}}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| label1    = Type
 
| label1    = Type
Line 11: Line 11:
 
| label4    = [[Schläfli symbol]]
 
| label4    = [[Schläfli symbol]]
 
| data4      = {{{schläfli|}}}
 
| data4      = {{{schläfli|}}}
−
| label6    = [[Coxeter–Dynkin diagram|Coxeter diagram]]
+
| label6    = [[Coxeter diagram]]
 
| data6      = {{{coxeter|}}}
 
| data6      = {{{coxeter|}}}
−
| label7    = [[List of planar symmetry groups|Symmetry group]]
+
| label7    = [[List of planar symmetry groups#Rosette groups|Symmetry group]]
 
| data7      = {{{symmetry|}}}
 
| data7      = {{{symmetry|}}}
 
| label8    = Rotation group
 
| label8    = Rotation group
Line 19: Line 19:
 
| label9    = [[Area]]
 
| label9    = [[Area]]
 
| data9      = {{{area|}}}
 
| data9      = {{{area|}}}
−
| label10    = [[Internal angle]] ([[Degree_(angle)|degrees]])
+
| label10    = [[Internal angle]] ([[Degree (angle)|degrees]])
 
| data10    = {{{angle|}}}
 
| data10    = {{{angle|}}}
 
| label11    = [[Dual polygon]]
 
| label11    = [[Dual polygon]]
Line 25: Line 25:
 
| label12    = Properties
 
| label12    = Properties
 
| data12    = {{{properties|}}}
 
| data12    = {{{properties|}}}
−
| below=[[{{#expr:{{{edges}}}-1}}-gon|←{{#expr:{{{edges}}}-1}}]]    <big>{{{edges}}}</big>    [[{{#expr:{{{edges}}}+1}}-gon|{{#expr:{{{edges}}}+1}}→]]
 
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 01:46, 1 December 2016

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]
Square
File:Square (geometry).svg
Caption for squares
Edges and vertices4
Schläfli symbol{4}
Coxeter diagramFile:CDel node 1.pngFile:CDel 4.pngFile:CDel node.png
Symmetry groupDih4 [4], *44
Rotation groupC4, [4]+, 44
Areat2
Internal angle (degrees)90°
Propertiesconvex
[[Category:Infobox templates|Template:Remove first word]]

Usage

{{Infobox polygon
| name       = 
| image      = 
| caption    =
| type       = general type of this shape
| euler      =
| edges      =
| schläfli   = for regular polygon
| wythoff    = for regular polygon
| coxeter    = for regular polygon
| symmetry   =
| area       = some simple formula(e)
| angle      = an internal angle in case of regular polygon
| dual       = dual polygon of this shape
| properties =
}}

Example

{{Infobox polygon
| name        = Square
| image       = Square (geometry).svg
| caption     = Caption for squares
| edges       = 4
| schläfli    = {4}
| coxeter     = {{CDD|node_1|4|node}}
| symmetry    = [[Dihedral group|Dih<sub>4</sub>]] [4], *44
| rotsymmetry = [[Cyclic group|C<sub>4</sub>]], [4]<sup>+</sup>, 44
| area        = t<sup>2</sup>
| angle       = 90°
| properties  = [[Convex polygon|convex]]
| circumference = π r • 2 (where ''r'' = radius) or π d (where ''d'' = diameter) 
}}

See also

Template:Polyhedron templates

pt:Predefinição:Info/Polígono