模板:Infobox cryptocurrency/doc

来自Local Chinese Wikipedia
跳转到导航 跳转到搜索

{{Infobox cryptocurrency}} 会总结关于 加密货币的信息, 比如比特币以太坊.

用法[编辑]

这是一个带有一些最常用参数的空模板:

Infobox cryptocurrency/doc
[[File:{{{image_1}}}|{{{image_width_1}}}|alt={{{alt1}}}|{{{alt1}}}]] [[File:{{{image_2}}}|{{{image_width_2}}}|alt={{{alt2}}}|{{{alt2}}}]]
{{{image_title_1}}}{{{image_title_2}}}
面值
货币符号{{{symbol}}}
货币代码{{{code}}}
昵称{{{nickname}}}
曾用名称{{{previous_names}}}
超单位
 {{{superunit_ratio_1}}}{{{superunit_name_1}}}
 {{{superunit_ratio_2}}}{{{superunit_name_2}}}
 {{{superunit_ratio_3}}}{{{superunit_name_3}}}
 {{{superunit_ratio_4}}}{{{superunit_name_4}}}
 {{{superunit_ratio_5}}}{{{superunit_name_5}}}
次单位
 {{{subunit_ratio_1}}}{{{subunit_name_1}}}
 {{{subunit_ratio_2}}}{{{subunit_name_2}}}
 {{{subunit_ratio_3}}}{{{subunit_name_3}}}
 {{{subunit_ratio_4}}}{{{subunit_name_4}}}
 {{{subunit_ratio_5}}}{{{subunit_name_5}}}
开发
创造者{{{author}}}
白皮书{{{white_paper}}}
软件实现{{{implementations}}}
首次发行{{{initial_release_version}}} / {{{initial_release_date}}}
最近版本{{{latest_release_version}}} / {{{latest_release_date}}}
代码库{{{code_repository}}}
开发状态{{{status}}}
分叉自{{{project_fork_of}}}
编程语言{{{programming_languages}}}
操作系统{{{operating_system}}}
开发者{{{developer}}}
分发模式{{{source_model}}}
许可证{{{license}}}
网站{{{website}}}
账本
起始于{{{ledger_start}}}
拆分高度#{{{split_height}}} / {{{split_date}}}
拆分自{{{split_from}}}
拆分比率{{{split_ratio}}}
时间戳英语Trusted timestamping{{{timestamping}}}
合并挖矿父链{{{merged_mining_parent}}}
散列函数{{{hash_function}}}
发行计划{{{issuance_schedule}}}
区块奖励{{{block_reward}}}
区块时间{{{block_time}}}
浏览区块{{{block_explorer}}}
流通量{{{circulating_supply}}}
供给限制{{{supply_limit}}}
价值
汇率{{{exchange_rate}}}
市值{{{market_cap}}}
统计
法定货币{{{using_countries}}}
{{{footnotes}}}
Full syntax

{{Infobox cryptocurrency
| 货币名称           = 
| image_1                 = 
| image_2                 = 
| image_background_1      = 
| image_background_2      = 
| image_width_1           = 
| alt1                    = 
| image_width_2           = 
| alt2                    = 
| image_title_1           = 
| image_title_2           = 
| superunit_name_1        = 
| subunit_name_1          = 
| superunit_ratio_1       = <!-- thru |superunit_ratio_5 = -->
| superunit_name_1        = 
| subunit_ratio_1         = <!-- thru |subunit_ratio_5 = -->
| subunit_name_1          = 
| plural                  = 
| symbol                  = 
| alt_symbol_title_1      = 
| alt_symbol_1            = 
| code                    = 
| previous_names          = 
| nickname                = 
| plural                  = 
| precision               = 
| white_paper             = 
| implementations         = 
| initial_release_version = 
| initial_release_date    = 
| code_repository         = 
| status                  = 
| latest_release_version  = 
| latest_release_date     = 
| project_fork_of         = 
| programming_languages   = 
| operating_system        = 
| author                  = 
| developer               = 
| source_model            = 
| license                 = 
| website                 = 
| block_explorer          = 
| ledger_start            = 
| split_height            = 
| split_date              = 
| split_from              = 
| split_ratio             = 
| hash_function           = 
| issuance_schedule       = 
| timestamping            = 
| merged_mining_parent    = 
| block_time              = 
| block_reward            = 
| circulating_supply      = 
| supply_limit            = 
| exchange_rate           = 
| market_cap              = 
| using_countries         = 
| footnotes               = 
}}
Abridged syntax

{{Infobox cryptocurrency
| currency_name           = 
| image_1                 = 
| alt1                    = 
| symbol                  = 
| code                    = 
| white_paper             = 
| initial_release_date    = 
| status                  = 
| latest_release_date     = 
| developer               = 
| source_model            = 
| license                 = 
| website                 = 
| circulating_supply      = 
| supply_limit            = 
| exchange_rate           = 
| market_cap              = 
| footnotes               = 
}}

TemplateData[编辑]

以下是该模板的模板数据,适用于可视化编辑器等工具。

Infobox cryptocurrency模板数据

<templatedata> { "params": { "currency_name": { "label": "Currency name", "description": "Full currency name", "required": true, "suggested": true, "example": "Bitcoin", "type": "string"

               },

"image_1": { "label": "Image 1", "description": "First image", "required": false, "suggested": true, "type": "wiki-file-name"

               },

"image_2": { "label": "Image 2", "description": "Second image", "required": false, "suggested": true, "type": "wiki-file-name"

               },

"image_background_1": { "label": "Image background 1", "description": "First background image", "required": false, "type": "wiki-file-name"

               },

"image_background_2": { "label": "Image background 2", "description": "Second background image", "required": false, "type": "wiki-file-name"

               },

"image_width_1": { "label": "Image width 1", "description": "First image width", "required": false, "example": "250px", "type": "string"

               },

"alt1": { "label": "Alternative text 1", "description": "First image alternative text", "required": false, "type": "string"

               },

"image_width_2": { "label": "Image width 2", "description": "Second image width", "required": false, "example": "250px", "type": "string"

               },

"alt2": { "label": "Alternative text 1", "description": "First image alternative text", "required": false, "type": "string"

               },

"image_title_1": { "label": "Image title 1", "description": "First image title", "required": false,

                       "suggested": true,

"type": "string"

               },

"image_title_2": { "label": "Image title 2", "description": "Second image title", "required": false, "type": "string"

               },

"superunit_name_1": { "label": "Superunit name 1", "description": "First superunit name", "required": false, "type": "string"

               },

"subunit_name_1": { "label": "Subunit name 1", "description": "First subunit name", "required": false, "type": "string"

               },

"superunit_ratio_1": { "label": "Superunit ratio 1", "description": "First superunit ratio", "required": false, "example": "10", "type": "string"

               },

"superunit_ratio_2": { "label": "Superunit ratio 2", "description": "Second superunit ratio", "required": false, "example": "100", "type": "string"

               },

"superunit_ratio_3": { "label": "Superunit ratio 3", "description": "Third superunit ratio", "required": false, "example": "1,000", "type": "string"

               },

"superunit_ratio_4": { "label": "Superunit ratio 4", "description": "Fourth superunit ratio", "required": false, "example": "10,000", "type": "string"

               },

"superunit_ratio_5": { "label": "Superunit ratio 5", "description": "Fifth superunit ratio", "required": false, "example": "100,000", "type": "string"

               },

"superunit_name_2": { "label": "Superunit name 2", "description": "Second superunit name", "required": false, "type": "string"

               },

"superunit_name_3": { "label": "Superunit name 3", "description": "Third superunit name", "required": false, "type": "string"

               },

"superunit_name_4": { "label": "Superunit name 4", "description": "Fourth superunit name", "required": false, "type": "string"

               },

"superunit_name_5": { "label": "Superunit name 5", "description": "Fifth superunit name", "required": false, "type": "string"

               },

"subunit_ratio_1": { "label": "Subunit ratio 1", "description": "First subunit ratio", "required": false, "example": "110", "type": "string"

               },

"subunit_ratio_2": { "label": "Subunit ratio 2", "description": "Second subunit ratio", "required": false, "example": "1100", "type": "string"

               },

"subunit_ratio_3": { "label": "Subunit ratio 3", "description": "Third subunit ratio", "required": false, "example": "11000", "type": "string"

               },

"subunit_ratio_4": { "label": "Subunit ratio 4", "description": "Fourth subunit ratio", "required": false, "example": "110000", "type": "string"

               },

"subunit_ratio_5": { "label": "Subunit ratio 5", "description": "Fifth subunit ratio", "required": false, "example": "1100000", "type": "string"

               },

"subunit_name_2": { "label": "Subunit name 2", "description": "Second subunit name", "required": false, "type": "string"

               },

"subunit_name_3": { "label": "Subunit name 3", "description": "Third subunit name", "required": false, "type": "string"

               },

"subunit_name_4": { "label": "Subunit name 4", "description": "Fourth subunit name", "required": false, "type": "string"

               },

"subunit_name_5": { "label": "Subunit name 5", "description": "Fifth subunit name", "required": false, "type": "string"

               },

"plural": { "label": "Plural", "description": "Plural form", "required": false, "type": "string"

               },

"symbol": { "label": "Symbol", "description": "Symbolic representation of the currency", "required": false, "suggested": true, "example": "₿", "type": "string" }, "code": { "example": "BTC", "type": "string", "required": false, "suggested": true, "label": "Code", "description": "Currency code representing the currency on exchanges" }, "previous_names": { "type": "string", "required": false, "label": "Previous names", "description": "Former names of the currency" }, "nickname": { "label": "Nickname", "description": "Colloquial term", "required": false, "type": "string" }, "precision": { "label": "Precision", "description": "Decimal precision of currency unit", "required": false, "suggested": true, "type": "string" }, "white_paper": { "label": "White paper", "description": "Reference to white paper", "required": false, "suggested": true, "type": "string" }, "implementations": { "label": "implementations", "description": "List of recognised software implementations", "required": false, "suggested": true, "type": "string"

               },

"initial_release_version": { "label": "Initial release version", "description": "Version number of the first release", "required": false, "suggested": true, "example": "1.0.0", "type": "string"

               },

"initial_release_date": { "label": "Date of the first release", "description": "Date of the first release", "required": false, "suggested": true, "type": "date"

               },

"code_repository": { "label": "Code repository", "description": "Code repository", "required": false, "suggested": true, "type": "string"

               },

"status": { "label": "Status", "description": "Development status", "required": false, "suggested": true, "type": "string"

               },

"latest_release_version": { "label": "Latest release version", "description": "Version number of the latest release", "required": false, "suggested": true, "example": "1.0.0", "type": "string"

               },

"latest_release_date": { "label": "Date of the latest release", "description": "Date of the latest release", "required": false, "suggested": true, "type": "date"

               },

"project_fork_of": { "label": "Project fork of", "description": "Name of project codebase used", "required": false, "suggested": true, "example": "Litecoin", "type": "string"

               },

"programming_languages": { "label": "Programming languages", "description": "Programming languages used", "required": false, "suggested": true, "example": "C", "type": "string"

               },

"operating_system": { "label": "Operating System", "description": "Supported operating systems", "required": false, "suggested": true, "example": "Microsoft Windows", "type": "string"

               },

"author": { "label": "Author", "description": "Original author(s)", "required": false, "suggested": true, "example": "Satoshi Nakamoto", "type": "string"

               },

"developer": { "label": "Developer", "description": "Developers(s)", "required": false, "suggested": true, "type": "string"

               },

"source_model": { "label": "Source model", "description": "Source code availability", "required": false, "suggested": true, "example": "Open source", "type": "string"

               },

"license": { "label": "License", "description": "Software license", "required": false, "suggested": true, "example": "MIT", "type": "string"

               },

"website": { "label": "Website", "description": "Official website(s)", "required": false, "suggested": true, "example": "www.bitcoin.org", "type": "string"

               },

"block_explorer": { "label": "Block explorer", "description": "Block explorer(s)", "required": false, "suggested": true, "example": "blockchain.info", "type": "string"

               },

"ledger_start": { "label": "Ledger start", "description": "Date the first block (or transaction) occurred", "required": false, "suggested": true, "type": "string"

               },

"split_date": { "label": "Split date", "description": "Date of first block (or transaction) independent of network split from", "required": false, "suggested": true, "type": "string"

               },

"split_from": { "label": "Split from", "description": "Name of network split from", "required": false, "example": "Litecoin", "suggested": true, "type": "string"

               },

"hash_function": { "label": "Hash function", "description": "Hash functions used", "required": false, "suggested": true, "example": "SHA-256", "type": "string"

               },

"issuance_schedule": { "label": "Issuance schedule", "description": "Method and specifications of currency issuance", "required": false, "suggested": true, "type": "string"

               },

"timestamping": { "label": "Timestamping scheme", "description": "Consensus mechanism", "required": false, "suggested": true, "example": "Proof-of-work", "type": "string"

               },

"merged_mining_parent": { "label": "Merged mining parent", "description": "Parent blockchain for merged mining", "required": false, "suggested": true, "example": "Litecoin", "type": "string"

               },

"block_time": { "label": "Block time", "description": "Block time", "required": false, "suggested": true, "example": "10 min", "type": "string"

               },

"block_reward": { "label": "Block reward", "description": "Block reward", "required": false, "suggested": true, "example": "BTC 12.5", "type": "string"

               },

"circulating_supply": { "label": "Circulating supply", "description": "Circulating supply", "required": false, "suggested": true, "example": "21,000,000", "type": "string"

               },

"supply_limit": { "label": "Supply limit", "description": "Largest money supply possible", "required": false, "suggested": true, "example": "21,000,000", "type": "string"

               },

"exchange_rate": { "label": "exchange_rate", "description": "Conversion rate", "required": false, "suggested": true, "example": "US$5 (January 2015)", "type": "string"

               },

"market_cap": { "label": "Market capitalization", "description": "Market capitalization", "required": false, "suggested": true, "example": "US$5 million (January 2015)", "type": "string"

               },

"using_countries": { "label": "Official user(s)", "description": "Italicize non-sovereign states, order them as appropriate in the context. Use of {{flag}}, {{flagcountry}}, or {{flagicon}} recommended. See also Wikipedia:Inline templates linking country articles.", "required": false, "suggested": false, "example": "File:Flag of El Salvador.svg 萨尔瓦多", "type": "string"

               },

"footnotes": {} }, "description": "cryptocurrency", "format": "block", "paramOrder": [

               "currency_name",

"image_1", "image_2", "image_background_1", "image_background_2", "image_width_1", "alt1", "image_width_2", "alt2", "image_title_1", "image_title_2", "superunit_ratio_1", "superunit_ratio_2", "superunit_ratio_3", "superunit_ratio_4", "superunit_ratio_5", "superunit_name_1", "superunit_name_2", "superunit_name_3", "superunit_name_4", "superunit_name_5", "subunit_ratio_1", "subunit_ratio_2", "subunit_ratio_3", "subunit_ratio_4", "subunit_ratio_5", "subunit_name_1", "subunit_name_2", "subunit_name_3", "subunit_name_4", "subunit_name_5", "plural", "symbol", "code", "previous_names", "nickname", "precision", "white_paper", "implementations", "initial_release_version", "initial_release_date",

               "code_repository",

"status", "latest_release_version", "latest_release_date", "project_fork_of", "programming_languages", "operating_system", "author", "developer",

               "source_model",

"license", "website",

               "block_explorer",
               "ledger_start",
               "split_date",
               "split_from",

"hash_function", "issuance_schedule", "timestamping", "merged_mining_parent", "block_time", "block_reward", "circulating_supply", "supply_limit", "exchange_rate", "market_cap",

       "using_countries",

"footnotes" ] } </templatedata>