查看“︁Template:Infobox polyhedron/doc”︁的源代码
←
Template:Infobox polyhedron/doc
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly><!-- 在這裡加入模板的保護標識 --></includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- 在本行下編輯模板說明 --> {{Tracks Wikidata|P1322|P3228|P9997|P10038}} == 使用方法 == <nowiki/>{{Infobox polyhedron <nowiki/>| name = <nowiki/>| image file = 圖片的名稱file name <nowiki/>| caption = 圖片的說明 <nowiki/>| type = 形狀的種類 <nowiki/>| faces = 面的數量 <nowiki/>| edges = 邊的數量 <nowiki/>| vertices = 頂點的數量 <nowiki/>| variable = 面數、邊數或頂點數中的變量 <nowiki/>| variable_dest = 變量的說明 <nowiki/>| Face_List = 面的種類 <nowiki/>| vertex_config = 有哪些面在頂點周圍 <nowiki/>| schläfli = 施萊夫利符號 <nowiki/>| wythoff = 威佐夫記號 <nowiki/>| coxeter = 考克斯特記號 <nowiki/>| symmetry = 對稱群 <nowiki/>| surface_area = 表面積公式 <nowiki/>| volume = 體積公式 <nowiki/>| angle = 二面角 <nowiki/>| dual = 這個形狀對應的對偶形狀 <nowiki/>| properties = 這個形狀的特性 <nowiki/>| vertex_figure = 頂點圖的file name <nowiki/>| net = 展開圖的file name <nowiki/>}} == 歐拉示性數 == 歐拉示性數可以自動計算。要使用此功能,需要在<code>{{0|}}{{!}}faces{{=}}{{0|}}</code>輸入面數、<code>{{0|}}{{!}}edges{{=}}{{0|}}</code>輸入邊數、<code>{{0|}}{{!}}vertices {{=}}{{0|}}</code>輸入頂點數來完成。請注意使用此功能時,請將三個參數都輸入數值,否則可能會出現錯誤。目前這類條目會被分入[[:Category:欧拉示性数填写不完整的形状条目]]中。 若面數、邊數或頂點數為變數,請將之以多項式表示。會自動輸出於<code><nowiki><math></math></nowiki></code>中。若希望乘號被省略,請使用<code>{{0|}}⋅{{0|}}</code>作為乘號;若希望分數顯示為<math>\frac{a}{b}</math>,請使用<code>div(a,b)</code>來表示(詳細使用方法可參考[[Template:計算結果/doc#語法]]以及[[Template:複變運算/doc#語法]])。同時僅要在參數<code>{{0|}}{{!}}variable{{=}}{{0|}}</code>中輸入表達式中的變數即可;若變數有多個,可使用<code>{{0|}}{{!}}variable2{{=}}{{0|}}</code>、<code>{{0|}}{{!}}variable3{{=}}{{0|}}</code>來輸入;同時可以輸入<code>{{0|}}{{!}}variable_dest{{=}}{{0|}}</code>來讓模板自動生成變數說明。 == 維基數據 == 本模板會自動根據該頁的維基數據項目自動地填入部分的欄位。如某欄位已有輸入資料,則會以輸入到模板參數的資料優先。 如同一個條目介紹了多個多面體因而有多個資訊框時,可以在參數{{para|WikidataID}}中輸入對應的維基數據項目來讓模板填入的資料是匹配的。如該多面體沒有維基數據項目,請在參數{{para|WikidataID}}填入<code>NoEntity</code>。 == 範例 == {{Infobox polyhedron | name = 角錐台 | image = [[File:Pentagonal frustum.svg|110px]][[Image:Usech kvadrat piramid.png|110px]] | type = [[擬柱體]] | caption = 範例: 五角錐台與四角錐台 | Face_List = n個[[梯形]]<br/>2個[[多邊形|n邊形]] | faces = n | edges = 3⋅n | vertices = 2⋅n | variable = n | variable_dest = 底面邊數 | symmetry = C<sub>''n''v</sub>, [1,''n''], (*''nn'') | dual = [[雙錐體]] | properties = 凸 }} <syntaxhighlight lang="moin"> {{Infobox polyhedron | name = 角錐台 | image = [[File:Pentagonal frustum.svg|110px]][[Image:Usech kvadrat piramid.png|110px]] | type = [[擬柱體]] | caption = 範例: 五角錐台與四角錐台 | Face_List = n個[[梯形]]<br/>2個[[多邊形|n邊形]] | faces = n | edges = 3⋅n | vertices = 2⋅n | variable = n | variable_dest = 底面邊數 | symmetry = C<sub>''n''v</sub>, [1,''n''], (*''nn'') | dual = [[雙錐體]] | properties = 凸 }} </syntaxhighlight> == 模板數據 == {{TemplateDataHeader}} <templatedata> { "params": { "name": { "label": "名稱", "type": "string" }, "polyhedron": { "label": "多面體名稱", "type": "string" }, "WikidataID": { "label": "維基數據項目", "type": "string" }, "Custom image": { "aliases": [ "image" ], "label": "自定義圖片", "type": "content" }, "Image_File": { "aliases": [ "image file", "imagename" ], "label": "圖片名稱", "type": "wiki-file-name" }, "rotating": { "label": "旋轉模型圖片名稱", "type": "wiki-file-name" }, "rinfo": { "label": "旋轉模型資訊", "type": "string" }, "caption": { "label": "圖片說明", "type": "content" }, "Polyhedron_Type": { "aliases": [ "Polyhedron_type", "type" ], "label": "多面體類型", "type": "content" }, "construct": { "label": "多面體構造方式", "type": "content" }, "Dual": { "aliases": [ "dual" ], "label": "對偶多面體", "type": "content" }, "Petrie dual": { "label": "皮特里對偶", "type": "content" }, "original": { "label": "原像", "type": "content" }, "other_name": { "label": "別名", "type": "content" }, "Index_references": { "label": "參考索引", "type": "content" }, "Bowers_acronym": { "label": "鮑爾斯縮寫", "type": "content" }, "identifier_other": { "label": "其他表示法相關資訊", "type": "content" }, "lang_name": { "label": "其他語言名稱", "type": "string" }, "en_name": { "label": "英語名稱", "type": "string" }, "Index_references_ref": { "label": "參考索引參考文獻", "type": "content" }, "Coxeter_diagram": { "aliases": [ "coxeter", "Coxeter", "Cox" ], "label": "考克斯特-迪肯符號", "type": "content" }, "Duval": { "label": "杜瓦表示法", "type": "string" }, "Schlafli": { "aliases": [ "schläfli", "Schläfli" ], "label": "施萊夫利符號", "type": "content" }, "Wythoff": { "aliases": [ "wythoff", "Wythoff_Symbol" ], "label": "威佐夫符號", "type": "content" }, "Conway": { "label": "康威多面體表示法", "type": "content" }, "formula_other": { "label": "其他數學式相關資訊" }, "Cell_Count": { "aliases": [ "Cell", "Cell_count", "cells" ], "label": "胞的數量", "type": "string" }, "FaceT": { "label": "面數欄位顯示文字", "type": "content" }, "Face_Count": { "aliases": [ "Face_count", "Face", "faces" ], "label": "面的數量", "type": "string" }, "EdgeT": { "label": "邊數欄位顯示文字", "type": "content" }, "Edge_Count": { "aliases": [ "Edge", "Edge_count", "edges" ], "label": "邊的數量", "type": "string" }, "VerticeT": { "label": "頂點數欄位顯示文字", "type": "content" }, "Vertex_Count": { "aliases": [ "vertices", "Vertex_count", "Vertice" ], "label": "頂點的數量", "type": "string" }, "Euler": { "aliases": [ "EulerText", "euler", "Euler_characteristic" ], "label": "歐拉特徵數", "type": "content" }, "Euler2": { "label": "自訂歐拉特徵數顯示", "type": "content" }, "Genu": { "label": "虧格", "type": "content" }, "Dihedral_angle": { "aliases": [ "angle" ], "label": "二面角", "type": "content" }, "surface_area": { "label": "表面積", "type": "content" }, "volume": { "label": "體積", "type": "content" }, "property_other": { "label": "其他性質相關資訊", "type": "content" }, "Compound_Count": { "aliases": [ "Compound_count", "compounds" ], "label": "元件結合方式數量", "type": "string" }, "variable": { "label": "變數名稱", "description": "面數、邊數或頂點數參數中的變數名稱", "type": "string" }, "base": { "label": "底面", "type": "content" }, "Petrie": { "label": "皮特里多邊形", "type": "content" }, "van_Oss": { "aliases": [ "van Oss", "van_oss", "van oss" ], "label": "梵奧斯截面", "type": "content" }, "face_other": { "label": "其他特殊面相關資訊", "type": "content" }, "Vertice_configuration": { "aliases": [ "vertex_config" ], "label": "頂點佈局", "type": "content" }, "Vertex_type": { "aliases": [ "Vertices_by_type", "Vertex_List" ], "label": "頂點的種類", "type": "content" }, "Face_type": { "aliases": [ "Face_List" ], "label": "面的種類", "type": "content" }, "Cell_type": { "aliases": [ "Cell_List" ], "label": "胞的種類", "type": "content" }, "Face_configuration": { "label": "面的佈局", "type": "content" }, "Cell_configuration": { "label": "胞的佈局", "type": "content" }, "Compound_type": { "label": "元件結合的幾何體種類", "type": "content" }, "Configuration_matrix": { "label": "佈局矩陣", "type": "content" }, "Edge_type": { "aliases": [ "Edge_List" ], "label": "邊的種類" }, "combine method": { "label": "元件結合方式", "type": "content" }, "Configuration_other": { "label": "其他組成與佈局相關資訊", "type": "content" }, "combine method label": { "label": "元件結合方式文字", "description": "對應元件結合方式數量", "type": "content" }, "Symmetry_group": { "aliases": [ "Symmetry_Group", "Symmetry Group", "symmetry" ], "label": "空間對稱群", "type": "content" }, "Rotation_group": { "aliases": [ "Rotation Group", "rotation_group", "rotsymmetry" ], "label": "旋轉對稱群", "type": "content" }, "Shephard_group": { "label": "謝潑德群", "type": "content" }, "symmetry_other": { "label": "其他對稱群相關資訊", "type": "content" }, "Subgroup": { "label": "子群", "type": "content" }, "Properties": { "aliases": [ "properties", "Property_List" ], "label": "特性", "type": "content" }, "elseimage": { "label": "其他圖像" }, "3d_image": { "label": "立體圖", "type": "wiki-file-name" }, "3d_image_info": { "label": "立體圖說明", "type": "string" }, "vfigimage": { "aliases": [ "vertex_figure" ], "label": "頂點圖圖片", "type": "wiki-file-name" }, "dual_image": { "label": "對偶圖像", "type": "wiki-file-name" }, "net_image": { "aliases": [ "Net_Image_File", "net" ], "label": "展開圖", "type": "wiki-file-name" }, "Truncation": { "label": "相關截角多面體", "type": "content" }, "Rectification": { "label": "相關截半多面體", "type": "content" }, "Kleetope": { "label": "相關克利多面體", "type": "content" }, "Kleetope sides": { "label": "相關克利多面體邊數", "type": "number" }, "Kleetope comment": { "label": "相關克利多面體標題說明", "type": "string" }, "variable_dest": { "label": "變數意義", "type": "content" }, "vertex figure type": { "aliases": [ "Vertice_type", "vertex_figure_type" ], "label": "頂點圖", "type": "content" } }, "description": "多面體的Infobox", "paramOrder": [ "name", "polyhedron", "en_name", "lang_name", "other_name", "WikidataID", "Custom image", "Image_File", "rotating", "rinfo", "caption", "Polyhedron_Type", "construct", "Dual", "Petrie dual", "original", "Index_references", "Bowers_acronym", "identifier_other", "Index_references_ref", "Coxeter_diagram", "Duval", "Schlafli", "Wythoff", "Conway", "formula_other", "Cell_Count", "FaceT", "Face_Count", "EdgeT", "Edge_Count", "VerticeT", "Vertex_Count", "variable", "variable_dest", "Euler", "Euler2", "Genu", "Dihedral_angle", "surface_area", "volume", "property_other", "base", "Petrie", "van_Oss", "face_other", "combine method label", "Compound_Count", "Compound_type", "combine method", "Cell_type", "Cell_configuration", "Face_type", "Face_configuration", "Edge_type", "Vertex_type", "Vertice_configuration", "vertex figure type", "Configuration_matrix", "Configuration_other", "Symmetry_group", "Subgroup", "Shephard_group", "Rotation_group", "symmetry_other", "Properties", "elseimage", "3d_image", "3d_image_info", "vfigimage", "dual_image", "net_image", "Truncation", "Rectification", "Kleetope", "Kleetope sides", "Kleetope comment" ], "format": "block" } </templatedata> {{clear}} == 編輯說明 == 本模板採用不定數量的{{para|otherdata_label{{tq|<big><big><big>{{math|''n''}}</big></big></big>}}}}和{{para|otherdata_data{{tq|<big><big><big>{{math|''n''}}</big></big></big>}}}}參數,因此模板主內容位於{{tl|Infobox_polyhedron/core}},本頁僅負責調用。 {{幾何體訊息模板}} <includeonly> <!-- 本行下加入模板的分類 --> [[Category:幾何模板]] <!-- 本行下加入模板的跨語言鏈接 --> </includeonly>
该页面使用的模板:
Template:0
(
查看源代码
)
Template:Clear
(
查看源代码
)
Template:Infobox polyhedron
(
查看源代码
)
Template:Para
(
查看源代码
)
Template:TemplateDataHeader
(
查看源代码
)
Template:Template doc page viewed directly
(
查看源代码
)
Template:Tl
(
查看源代码
)
Template:Tracks Wikidata
(
查看源代码
)
Template:幾何體訊息模板
(
查看源代码
)
返回
Template:Infobox polyhedron/doc
。
导航菜单
个人工具
登录
命名空间
模板
讨论
不转换
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息