Difference between revisions of "Template:Infobox polygon/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
(→‎See also: {{Polyhedron templates}})
imported>WOSlinker
m (change source to syntaxhighlight)
 
(3 intermediate revisions by 3 users not shown)
Line 17: Line 17:
  
 
=== Usage ===
 
=== Usage ===
−
<pre>
 
−
{{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 =
 
−
}}
 
−
</pre>
 
  
 +
<nowiki/>{{Infobox polygon
 +
<nowiki/>| name      =
 +
<nowiki/>| image      =
 +
<nowiki/>| caption    =
 +
<nowiki/>| type      = ''general type of this shape''
 +
<nowiki/>| euler      =
 +
<nowiki/>| edges      =
 +
<nowiki/>| schläfli  = ''for regular polygon''
 +
<nowiki/>| wythoff    = ''for regular polygon''
 +
<nowiki/>| coxeter    = ''for regular polygon''
 +
<nowiki/>| symmetry  =
 +
<nowiki/>| area      = ''some simple formula(e)''
 +
<nowiki/>| angle      = ''an internal angle in case of regular polygon''
 +
<nowiki/>| dual      = ''dual polygon of this shape''
 +
<nowiki/>| properties =
 +
<nowiki/>}}
 +
<nowiki/>
 
==Example==
 
==Example==
−
<pre>
+
<syntaxhighlight lang="moin">
 
{{Infobox polygon
 
{{Infobox polygon
 
| name        = Square
 
| name        = Square
Line 52: Line 51:
 
| circumference = π r • 2 (where ''r'' = radius) or π d (where ''d'' = diameter)  
 
| circumference = π r • 2 (where ''r'' = radius) or π d (where ''d'' = diameter)  
 
}}
 
}}
−
</pre>
+
</syntaxhighlight>
  
 
=== See also ===
 
=== See also ===
Line 58: Line 57:
 
{{Polyhedron templates}}
 
{{Polyhedron templates}}
  
−
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
−
[[Category:Mathematics and abstraction infobox templates|Polygon]]
+
[[Category:Mathematics infobox templates|Polygon]]
  
−
</includeonly>
+
[[pt:Predefinição:Info/Polígono]]
  
−
<includeonly>
+
}}</includeonly>
−
[[pt:Predefinição:Info/Polígono]]
 
−
</includeonly>
 

Latest revision as of 11:59, 7 July 2020

Square
Square (geometry).svg
Caption for squares
Edges and vertices4
Schläfli symbol{4}
Coxeter diagramCDel node 1.pngCDel 4.pngCDel node.png
Symmetry groupDih4 [4], *44
Rotation groupC4, [4]+, 44
Areat2
Internal angle (degrees)90°
Propertiesconvex

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