模板:Infobox number/doc
| File:Edit-copy green.svg | 此页面是Template:Infobox number的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
| File:Lua-Logo.svg | 此模板使用Lua语言: |
概要[编辑]
本模板主要功能是展示一个数的信息之信息框(Infobox)。能呈现的数包括但不限于有理数、无理数、超越数、整数、小数、分数、复数、四元数、或其他各类数。
参数及使用方法[编辑]
<templatedata> { "params": { "image_name": { "aliases": [ "image name" ], "label": "图像名称", "type": "wiki-file-name" }, "image_alt": { "aliases": [ "image alt" ], "label": "图像提示", "type": "string" }, "caption": { "aliases": [ "image_caption", "image caption" ], "label": "图像说明文字", "type": "content" }, "headerstyle": { "label": "标题样式", "type": "string" }, "title": { "label": "标题", "type": "string" }, "name": { "label": "名称", "type": "string" }, "number": { "label": "数字", "type": "string" }, "nav": { "label": "是否显示导航", "type": "boolean" }, "other name": { "label": "其他名称", "type": "string" }, "is integer": { "label": "是否为整数", "type": "boolean" }, "range": { "label": "导航内容", "type": "content" }, "cardinal": { "label": "基数", "type": "string" }, "ordinal": { "label": "序数", "type": "string" }, "ordinal text": { "label": "序数文字", "type": "string" }, "symbol": { "aliases": [ "符号", "符号" ], "label": "符号", "type": "content" }, "use": { "aliases": [ "用途" ], "label": "用途", "type": "content" }, "小写": { "aliases": [ "小写" ], "label": "小写", "type": "string" }, "大写": { "aliases": [ "大写" ], "label": "大写", "type": "string" }, "OEIS": { "label": "位数数列编号 (OEIS)", "type": "string" }, "define": { "aliases": [ "定义", "定义" ], "label": "定义", "type": "content" }, "proptery": { "aliases": [ "属性", "属性" ], "label": "属性", "type": "content" }, "type": { "aliases": [ "种类", "种类" ], "label": "种类", "type": "content" }, "rationality": { "label": "有理性", "type": "string" }, "continued fraction": { "aliases": [ "continued_fraction", "连分数", "连分数" ], "label": "连分数", "type": "content" }, "continued_fraction_periodic": { "label": "连分数周期性", "type": "content" }, "continued_fraction_finite": { "label": "连分数有限性", "type": "content" }, "continued fraction linear": { "aliases": [ "continued_fraction_linear" ], "label": "单行表示的连分数", "description": "以[a;b,c,d....]表示的连分数", "type": "content" }, "discovered by": { "aliases": [ "发现者", "发现者" ], "label": "发现者", "type": "content" }, "discovery date": { "aliases": [ "发现日期", "发现日期" ], "label": "发现日期", "type": "date" }, "numeral": { "aliases": [ "记数系统", "记数系统" ], "label": "记数系统", "type": "content" }, "factorization": { "aliases": [ "整数分解", "质因数分解", "整数分解", "质因数分解" ], "label": "质因数分解", "type": "content" }, "Gaussian integer factorization": { "aliases": [ "gaussian integer factorization" ], "label": "高斯整数分解", "type": "content" }, "prime": { "aliases": [ "质数", "质数" ], "label": "质数", "type": "content" }, "divisor": { "aliases": [ "因数", "因数" ], "label": "因数", "type": "content" }, "Roman": { "aliases": [ "roman", "罗马", "罗马数字", "罗马", "罗马数字" ], "label": "罗马数字", "type": "string" }, "Roman unicode": { "aliases": [ "roman unicode" ], "label": "罗马数字的Unicode字符", "type": "string" }, "进位制": { "aliases": [ "进位制", "进位制", "进制" ], "label": "进位制", "type": "content" }, "algebraic": { "aliases": [ "代数形式", "代数形式" ], "label": "代数形式", "type": "content" }, "series": { "aliases": [ "无穷级数", "无穷级数" ], "label": "无穷级数", "type": "content" }, "absolute value": { "aliases": [ "绝对值", "绝对值" ], "label": "绝对值", "type": "number" }, "root of": { "label": "以此为根的多项式或函数", "type": "content" }, "苏州码子": { "aliases": [ "花码", "花码", "苏州码子" ], "label": "苏州码子", "type": "content" }, "image": { "label": "自定义图像格式", "type": "content" }, "value": { "label": "数值", "type": "number" }, "算筹": { "aliases": [ "算木", "算筹" ], "label": "算筹", "type": "content" }, "unicode": { "label": "unicode字符", "type": "string" }, "greek": { "aliases": [ "希腊数字", "希腊数字" ], "label": "希腊数字", "type": "string" }, "Greek prefix": { "type": "string" }, "Latin prefix": { "type": "string" }, "Old English prefix": { "type": "string" }, "basedata": { "label": "进位制资料", "description": "请使用模板", "type": "content" }, "decimal": { "aliases": [ "十进制", "十进位", "十进制", "十进制" ], "label": "十进制", "type": "string" }, "binary": { "aliases": [ "二进制", "二进制", "二进位", "二进制" ], "label": "二进制", "type": "string" }, "octal": { "aliases": [ "八进制", "八进位", "八进制", "八进制" ], "label": "八进制", "type": "string" }, "hexadecimal": { "aliases": [ "十六进制", "十六进位", "十六进制", "十六进制" ], "label": "十六进制", "type": "string" }, "single float": { "aliases": [ "单精度浮点数" ], "label": "单精度浮点数", "type": "string" }, "double float": { "aliases": [ "双精度浮点数" ], "label": "双精度浮点数", "type": "string" }, "lang1": { "label": "语言1", "type": "content" }, "lang1 symbol": { "label": "语言1符号", "type": "string" } }, "paramOrder": [ "image_name", "image_alt", "caption", "image", "headerstyle", "title", "name", "number", "value", "nav", "other name", "is integer", "range", "cardinal", "ordinal", "ordinal text", "symbol", "use", "小写", "大写", "OEIS", "define", "proptery", "type", "rationality", "continued fraction", "continued_fraction_periodic", "continued_fraction_finite", "continued fraction linear", "discovered by", "discovery date", "numeral", "factorization", "Gaussian integer factorization", "prime", "divisor", "Roman", "Roman unicode", "进位制", "algebraic", "series", "absolute value", "root of", "苏州码子", "算筹", "unicode", "greek", "Greek prefix", "Latin prefix", "Old English prefix", "basedata", "decimal", "binary", "octal", "hexadecimal", "single float", "double float", "lang1", "lang1 symbol" ], "format": "block" } </templatedata>
编辑说明[编辑]
本模板采用不定数量的|lang参数,因此模板主内容位于{{Infobox number/core}},本页仅负责调用。
n
=