模板:Infobox cryptocurrency/doc
| File:Edit-copy green.svg | 此頁面是Template:Infobox cryptocurrency的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
{{Infobox cryptocurrency}} 會總結關於 加密貨幣的資訊, 比如比特幣 或 以太坊.
用法[編輯]
這是一個帶有一些最常用參數的空模板:
| Infobox cryptocurrency/doc | |||||
|---|---|---|---|---|---|
| |||||
| 面值 | |||||
| 貨幣符號 | {{{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}}} | ||||
| 時間戳 | {{{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[編輯]
<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": "1⁄10", "type": "string"
},
"subunit_ratio_2": { "label": "Subunit ratio 2", "description": "Second subunit ratio", "required": false, "example": "1⁄100", "type": "string"
},
"subunit_ratio_3": { "label": "Subunit ratio 3", "description": "Third subunit ratio", "required": false, "example": "1⁄1000", "type": "string"
},
"subunit_ratio_4": { "label": "Subunit ratio 4", "description": "Fourth subunit ratio", "required": false, "example": "1⁄10000", "type": "string"
},
"subunit_ratio_5": { "label": "Subunit ratio 5", "description": "Fifth subunit ratio", "required": false, "example": "1⁄100000", "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
},
"block_explorer": {
"label": "Block explorer",
"description": "Block explorer(s)",
"required": false,
"suggested": true,
"example": "blockchain
},
"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>