Difference between revisions of "Template:Infobox cryptocurrency"

From blackwiki
Jump to navigation Jump to search
imported>Laurencedeclan
(These nowraps can make the infobox very large with long titles)
imported>Izno
(remove class that has no effect)
 
(7 intermediate revisions by 5 users not shown)
Line 12: Line 12:
 
   | 1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_1}}}|size={{{image_width_1|}}}|sizedefault=252px|alt={{{alt1|}}}}}
 
   | 1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_1}}}|size={{{image_width_1|}}}|sizedefault=252px|alt={{{alt1|}}}}}
 
   | 2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_2}}}|size={{{image_width_2|}}}|sizedefault=252px|alt={{{alt2|}}}}}
 
   | 2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_2}}}|size={{{image_width_2|}}}|sizedefault=252px|alt={{{alt2|}}}}}
   | 12 = <table class="maptable" style="margin:0 auto; background: none"><tr>
+
   | 12 = <table style="margin:0 auto; background: none"><tr>
 
<td style="vertical-align: middle; text-align: center;{{#if:{{{image_background_1|}}} | background: {{{image_background_1}}}}}">{{#invoke:InfoboxImage|InfoboxImage|image={{{image_1}}}|size={{{image_width_1|}}}|sizedefault=126px|alt={{{alt1|}}}}}</td>
 
<td style="vertical-align: middle; text-align: center;{{#if:{{{image_background_1|}}} | background: {{{image_background_1}}}}}">{{#invoke:InfoboxImage|InfoboxImage|image={{{image_1}}}|size={{{image_width_1|}}}|sizedefault=126px|alt={{{alt1|}}}}}</td>
 
<td style="vertical-align: middle; text-align: center;{{#if:{{{image_background_2|}}} | background: {{{image_background_2}}}}}">{{#invoke:InfoboxImage|InfoboxImage|image={{{image_2}}}|size={{{image_width_2|}}}|sizedefault=126px|alt={{{alt2|}}}}}</td>
 
<td style="vertical-align: middle; text-align: center;{{#if:{{{image_background_2|}}} | background: {{{image_background_2}}}}}">{{#invoke:InfoboxImage|InfoboxImage|image={{{image_2}}}|size={{{image_width_2|}}}|sizedefault=126px|alt={{{alt2|}}}}}</td>
Line 27: Line 27:
 
| header1 = {{#if:{{{superunit_name_1|}}}{{{subunit_name_1|}}}{{{plural|}}}{{{symbol|}}}{{{nickname|}}}|Denominations}}
 
| header1 = {{#if:{{{superunit_name_1|}}}{{{subunit_name_1|}}}{{{plural|}}}{{{symbol|}}}{{{nickname|}}}|Denominations}}
  
| label2 = [[Plural]]
+
| label2 = Plural
 
| data2 = {{{plural|}}}
 
| data2 = {{{plural|}}}
  
Line 33: Line 33:
 
| data3 = {{{symbol|}}}
 
| data3 = {{{symbol|}}}
  
| label4 = {{nobold|&ensp;{{{alt_symbol_title_1}}}}}
+
| label4 = [[Ticker symbol]]
| data4 = {{#if:{{{alt_symbol_title_1|}}}|{{{alt_symbol_1|}}}}}
+
| data4 = {{{ticker_symbol|}}}
  
| label5 = [[Ticker symbol]]
+
| label5 = Nickname
| data5 = {{{ticker_symbol|}}}
+
| data5 = {{{nickname|}}}
  
| label6 = Nickname
+
| label6 = Previous names
| data6 = {{{nickname|}}}
+
| data6 = {{{previous_names|}}}
  
| label7 = Previous names
+
| label7 = Precision
| data7 = {{{previous_names|}}}
+
| data7 = {{{precision|}}}
  
| label8 = Precision
+
| label8 = Superunits
| data8 = {{{precision|}}}
+
| data8 = {{#if:{{{superunit_ratio_1|}}}{{{superunit_ratio_2|}}}{{{superunit_ratio_3|}}}{{{superunit_ratio_4|}}}{{{superunit_ratio_5|}}}|<nowiki />}}
  
| label9 = Superunits
+
| label9 = {{nobold|&ensp;{{{superunit_ratio_1}}}}}
| data9 = {{#if:{{{superunit_ratio_1|}}}{{{superunit_ratio_2|}}}{{{superunit_ratio_3|}}}{{{superunit_ratio_4|}}}{{{superunit_ratio_5|}}}|<nowiki />}}
+
| data9 = {{{superunit_name_1|}}}
  
| label10 = {{nobold|&ensp;{{{superunit_ratio_1}}}}}
+
| label10 = {{nobold|&ensp;{{{superunit_ratio_2}}}}}
| data10 = {{{superunit_name_1|}}}
+
| data10 = {{{superunit_name_2|}}}
  
| label11 = {{nobold|&ensp;{{{superunit_ratio_2}}}}}
+
| label11 = {{nobold|&ensp;{{{superunit_ratio_3}}}}}
| data11 = {{{superunit_name_2|}}}
+
| data11 = {{{superunit_name_3|}}}
  
| label12 = {{nobold|&ensp;{{{superunit_ratio_3}}}}}
+
| label12 = {{nobold|&ensp;{{{superunit_ratio_4}}}}}
| data12 = {{{superunit_name_3|}}}
+
| data12 = {{{superunit_name_4|}}}
  
| label13 = {{nobold|&ensp;{{{superunit_ratio_4}}}}}
+
| label13 = {{nobold|&ensp;{{{superunit_ratio_5}}}}}
| data13 = {{{superunit_name_4|}}}
+
| data13 = {{{superunit_name_5|}}}
  
| label14 = {{nobold|&ensp;{{{superunit_ratio_5}}}}}
+
| label14 = Subunits
| data14 = {{{superunit_name_5|}}}
+
| data14 = {{#if:{{{subunit_ratio_1|}}}{{{subunit_ratio_2|}}}{{{subunit_ratio_3|}}}{{{subunit_ratio_4|}}}{{{subunit_ratio_5|}}}|<nowiki />}}
  
| label15 = Subunits
+
| label15 = {{nobold|&ensp;{{{subunit_ratio_1}}}}}
| data15 = {{#if:{{{subunit_ratio_1|}}}{{{subunit_ratio_2|}}}{{{subunit_ratio_3|}}}{{{subunit_ratio_4|}}}{{{subunit_ratio_5|}}}|<nowiki />}}
+
| data15 = {{{subunit_name_1|}}}
  
| label16 = {{nobold|&ensp;{{{subunit_ratio_1}}}}}
+
| label16 = {{nobold|&ensp;{{{subunit_ratio_2}}}}}
| data16 = {{{subunit_name_1|}}}
+
| data16 = {{{subunit_name_2|}}}
  
| label17 = {{nobold|&ensp;{{{subunit_ratio_2}}}}}
+
| label17 = {{nobold|&ensp;{{{subunit_ratio_3}}}}}
| data17 = {{{subunit_name_2|}}}
+
| data17 = {{{subunit_name_3|}}}
  
| label18 = {{nobold|&ensp;{{{subunit_ratio_3}}}}}
+
| label18 = {{nobold|&ensp;{{{subunit_ratio_4}}}}}
| data18 = {{{subunit_name_3|}}}
+
| data18 = {{{subunit_name_4|}}}
  
| label19 = {{nobold|&ensp;{{{subunit_ratio_4}}}}}
+
| label19 = {{nobold|&ensp;{{{subunit_ratio_5}}}}}
| data19 = {{{subunit_name_4|}}}
+
| data19 = {{{subunit_name_5|}}}
 +
<!--
 +
| label20 = Coins
 +
| data20 = {{{coin_definition|}}}
 +
-->
 +
| header21 = {{#if:{{{initial_release_version|}}}{{{initial_release_date|}}}{{{status|}}}{{{latest_release_version|}}}{{{latest_release_date|}}}{{{forked_from|}}}{{{programming_languages|}}}{{{operating_system|}}}{{{author|}}}{{{developer|}}}{{{white_paper|}}}{{{implementations|}}}|Development}}
  
| label20 = {{nobold|&ensp;{{{subunit_ratio_5}}}}}
+
| label22 = Original author(s)
| data20 = {{{subunit_name_5|}}}
+
| data22 = {{{author|}}} <!-- See Template:Infobox software -->
  
| label21 = Coins
+
| label23 = [[White paper]]
| data21 = {{{coin_definition|}}}
+
| data23 = {{{white_paper|}}}
  
| header22 = {{#if:{{{initial_release_version|}}}{{{initial_release_date|}}}{{{status|}}}{{{latest_release_version|}}}{{{latest_release_date|}}}{{{forked_from|}}}{{{programming_languages|}}}{{{operating_system|}}}{{{author|}}}{{{developer|}}}|Development}}
+
| label24 = Implementation(s)
 +
| data24 = {{{implementations|}}}
  
| label23 = [[Software developer|Original author(s)]]
+
| label25 = Initial release
| data23 = {{{author|}}} <!-- See Template:Infobox software -->
+
| data25 = {{{initial_release_version|}}} {{#if:{{{initial_release_version|}}}|/}} {{{initial_release_date|}}} <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
  
| label24 = {{#if:{{{white_paper_title|}}}|{{{white_paper_title}}}|[[White paper]]}}
+
| label26 = [[Software release life cycle|Latest release]]
| data24 = {{{white_paper|}}}
+
| data26 = {{{latest_release_version|}}} {{#if:{{{latest_release_version|}}}|/}} {{{latest_release_date|}}} <!-- See Template:Infobox software -->
  
| label25 = {{#if:{{{implementations_title|}}}|{{{implementations_title}}}|Implementation(s)}}
+
| label27 = [[Repository (version control)|Code repository]]
| data25 = {{{implementations|}}}
+
| data27 = {{{code_repository|}}}
  
| label26 = Initial release
+
| label28 = Development status
| data26 = {{{initial_release_version|}}} {{#if:{{{initial_release_version|}}}|/}} {{{initial_release_date|}}} <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
+
| data28 = {{{status|}}} <!-- active/discontinued -->
  
| label27 = [[Software release life cycle|Latest release]]
+
| label29 = [[Fork (software development)|Project fork of]]
| data27 = {{{latest_release_version|}}} {{#if:{{{latest_release_version|}}}|/}} {{{latest_release_date|}}} <!-- See Template:Infobox software -->
+
| data29 = {{{forked_from|{{{project_fork_of|}}}}}}
  
| label28 = [[Repository (version control)|Code repository]]
+
| label30 = [[Programming language|Written in]]
| data28 = {{{code_repository|}}}
+
| data30 = {{{programming_languages|}}} <!-- See Template:Infobox software -->
  
| label29 = Development status
+
| label31 = [[Operating system]]
| data29 = {{{status|}}} <!-- active/discontinued -->
+
| data31 = {{{operating_system|}}} <!-- See Template:Infobox software -->
  
| label30 = Forked from
+
| label32 = [[Software developer|Developer(s)]]
| data30 = {{{forked_from|}}}
+
| data32 = {{{developer|}}} <!-- See Template:Infobox software -->
  
| label31 = [[Programming language|Written in]]
+
| label33 = Source model
| data31 = {{{programming_languages|}}} <!-- See Template:Infobox software -->
+
| data33 = {{{source_model|}}}
  
| label32 = [[Operating System]]
+
| label34 = [[Software license|License]]
| data32 = {{{operating_system|}}} <!-- See Template:Infobox software -->
+
| data34 = {{{license|}}}
  
| label33 = [[Software developer|Developer(s)]]
+
| label35 = Website
| data33 = {{{developer|}}} <!-- See Template:Infobox software -->
+
| data35  = {{{website|}}} <!-- {{URL|https://www.example.com/}} -->
  
| label34 = Source model
+
| header36 = {{#if:{{{timestamping|}}}{{{hash_function|}}}{{{issuing_authority|}}}{{{block_reward|}}}{{{block_time|}}}{{{circulating_supply|}}}{{{supply_limit|}}}|Ledger}}
| data34 = {{{source_model|}}}
 
  
| label35 = [[Software license|License]]
+
| label37 = {{#if:{{{ledger_start_title|}}}|{{{ledger_start_title}}}|Ledger start}}
| data35 = {{{license|}}}
+
| data37 = {{{ledger_start|}}}
  
| label36 = Website
+
| label38 = {{{ledger_start_title_2|}}}
| data36  = {{{website|}}} <!-- {{URL|https://www.example.com/}} -->
+
| data38 = {{{ledger_start_2|}}}
  
| header37 = {{#if:{{{timestamping|}}}{{{hash_function|}}}{{{issuing_authority|}}}{{{block_reward|}}}{{{block_time|}}}{{{circulating_supply|}}}{{{supply_limit|}}}|Administration}}
+
| label39 = {{{ledger_start_title_3|}}}
 +
| data39 = {{{ledger_start_3|}}}
  
| label38 = {{#if:{{{ledger_start_title|}}}|{{{ledger_start_title}}}|Ledger start}}
+
| label40 = {{{ledger_start_title_4|}}}
| data38 = {{{ledger_start|}}}
+
| data40 = {{{ledger_start_4|}}}
  
| label39 = [[Trusted timestamping|Timestamping scheme]]
+
| label41 = {{{ledger_start_title_5|}}}
| data39 = {{{timestamping|}}}
+
| data41 = {{{ledger_start_5|}}}
  
| label40 = [[Hash function]]
+
| label42 = Split {{#if:{{{split_height|}}}|height|date}}
| data40 = {{{hash_function|}}}
+
| data42 = {{#if:{{{split_height|}}}|<nowiki>#</nowiki>}}{{{split_height|}}} {{#if:{{{split_height|}}}|/}} {{{split_date|}}}
  
| label41 = {{#if:{{{issuing_authority_title|}}}|{{{issuing_authority_title}}}|Issuance}}
+
| label43 = Split from
| data41 = {{{issuance|}}}
+
| data43 = {{{split_from|}}}
  
| label42 = Block reward
+
| label44 = Split ratio
| data42 = {{{block_reward|}}}
+
| data44 = {{{split_ratio|}}}
  
| label43 = Block time
+
| label45 = [[Trusted timestamping|Timestamping scheme]]
| data43 = {{{block_time|}}}
+
| data45 = {{{timestamping|}}}
  
| label44 = Block explorer
+
| label46 = Merged mining parent
| data44 = {{{block_explorer|}}}
+
| data46 = {{{merged_mining_parent|}}}
  
| label45 = Circulating supply
+
| label47 = [[Hash function]]
| data45 = {{{circulating_supply|}}}
+
| data47 = {{{hash_function|}}}
  
| label46 = Supply limit
+
| label48 = {{#if:{{{issuing_authority_title|}}}|{{{issuing_authority_title}}}|Issuance schedule}}
| data46 = {{{supply_limit|}}}
+
| data48 = {{{issuance|{{{issuance_schedule|}}}}}}
  
| header47 = {{#if:{{{exchange_rate|}}}{{{market_cap|}}}|Valuation}}
+
| label49 = Block reward
 +
| data49 = {{{block_reward|}}}
  
| label48 = [[Exchange rate]]
+
| label50 = Block time
| data48 = {{{exchange_rate|}}}
+
| data50 = {{{block_time|}}}
  
| label49 = {{#if:{{{market_cap|}}}|[[Market capitalization|Market cap]]}}
+
| label51 = Block explorer
| data49 = {{{market_cap|}}}
+
| data51 = {{{block_explorer|}}}
 +
 
 +
| label52 = Circulating supply
 +
| data52 = {{{circulating_supply|}}}
 +
 
 +
| label53 = Supply limit
 +
| data53 = {{{supply_limit|}}}
 +
 
 +
| header54 = {{#if:{{{exchange_rate|}}}{{{market_cap|}}}|Valuation}}
 +
 
 +
| label55 = [[Exchange rate]]
 +
| data55 = {{{exchange_rate|}}}
 +
 
 +
| label56 = {{#if:{{{market_cap|}}}|[[Market capitalization|Market cap]]}}
 +
| data56 = {{{market_cap|}}}
  
 
| below = {{#if:{{{footnotes|}}}|<div style="font-size:85%; text-align:left;">{{{footnotes}}}</div>}}
 
| below = {{#if:{{{footnotes|}}}|<div style="font-size:85%; text-align:left;">{{{footnotes}}}</div>}}
}}
+
}}<noinclude>
<noinclude>
 
 
{{Documentation}}<!-- Add categories to the /doc subpage, not here! -->
 
{{Documentation}}<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 01:23, 12 February 2021

Template:PAGENAMEBASE

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

{{Infobox cryptocurrency}} may be used to summarise information about a particular cryptocurrency, such as bitcoin or monero.

Usage

Here is an empty template with some of the most commonly used parameters:

Template:Parameter names example

Full syntax
{{Infobox cryptocurrency
| 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_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 =
| ticker_symbol = 
| 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 = 
| footnotes = 
}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox cryptocurrency

cryptocurrency

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Currency namecurrency_name

Full currency name

Example
Bitcoin
Stringrequired
Image 1image_1

First image

Filesuggested
Image 2image_2

Second image

Filesuggested
Image background 1image_background_1

First background image

Fileoptional
Image background 2image_background_2

Second background image

Fileoptional
Image width 1image_width_1

First image width

Example
250px
Stringoptional
Alternative text 1alt1

First image alternative text

Stringoptional
Image width 2image_width_2

Second image width

Example
250px
Stringoptional
Alternative text 1alt2

First image alternative text

Stringoptional
Image title 1image_title_1

First image title

Stringsuggested
Image title 2image_title_2

Second image title

Stringoptional
Superunit ratio 1superunit_ratio_1

First superunit ratio

Example
10
Stringoptional
Superunit ratio 2superunit_ratio_2

Second superunit ratio

Example
100
Stringoptional
Superunit ratio 3superunit_ratio_3

Third superunit ratio

Example
1,000
Stringoptional
Superunit ratio 4superunit_ratio_4

Fourth superunit ratio

Example
10,000
Stringoptional
Superunit ratio 5superunit_ratio_5

Fifth superunit ratio

Example
100,000
Stringoptional
Superunit name 1superunit_name_1

First superunit name

Stringoptional
Superunit name 2superunit_name_2

Second superunit name

Stringoptional
Superunit name 3superunit_name_3

Third superunit name

Stringoptional
Superunit name 4superunit_name_4

Fourth superunit name

Stringoptional
Superunit name 5superunit_name_5

Fifth superunit name

Stringoptional
Subunit ratio 1subunit_ratio_1

First subunit ratio

Example
{{frac|10}}
Stringoptional
Subunit ratio 2subunit_ratio_2

Second subunit ratio

Example
{{frac|100}}
Stringoptional
Subunit ratio 3subunit_ratio_3

Third subunit ratio

Example
{{frac|1000}}
Stringoptional
Subunit ratio 4subunit_ratio_4

Fourth subunit ratio

Example
{{frac|10000}}
Stringoptional
Subunit ratio 5subunit_ratio_5

Fifth subunit ratio

Example
{{frac|100000}}
Stringoptional
Subunit name 1subunit_name_1

First subunit name

Stringoptional
Subunit name 2subunit_name_2

Second subunit name

Stringoptional
Subunit name 3subunit_name_3

Third subunit name

Stringoptional
Subunit name 4subunit_name_4

Fourth subunit name

Stringoptional
Subunit name 5subunit_name_5

Fifth subunit name

Stringoptional
Pluralplural

Plural form

Stringoptional
Symbolsymbol

Symbolic character representation

Example
Stringsuggested
Ticker symbolticker_symbol

Symbol representing the currency on exchanges

Example
BTC
Stringsuggested
Previous namesprevious_names

Former names of the currency

Stringoptional
Nicknamenickname

Colloquial term

Stringoptional
Precisionprecision

Decimal precision of currency unit

Stringsuggested
White paperwhite_paper

Reference to white paper

Stringsuggested
implementationsimplementations

List of recognised software implementations

Stringsuggested
Initial release versioninitial_release_version

Version number of the first release

Example
1.0.0
Stringsuggested
Date of the first releaseinitial_release_date

Date of the first release

Datesuggested
Code repositorycode_repository

Code repository

Stringsuggested
Statusstatus

Development status

Stringsuggested
Latest release versionlatest_release_version

Version number of the latest release

Example
1.0.0
Stringsuggested
Date of the latest releaselatest_release_date

Date of the latest release

Datesuggested
Project fork ofproject_fork_of

Name of project codebase used

Example
Litecoin
Stringsuggested
Programming languagesprogramming_languages

Programming languages used

Example
C
Stringsuggested
Operating Systemoperating_system

Supported operating systems

Example
Microsoft Windows
Stringsuggested
Authorauthor

Original author(s)

Example
Satoshi Nakamoto
Stringsuggested
Developerdeveloper

Developers(s)

Stringsuggested
Source modelsource_model

Source code availability

Example
Open source
Stringsuggested
Licenselicense

Software license

Example
MIT
Stringsuggested
Websitewebsite

Official website(s)

Example
{{URL|https://www.bitcoin.org/}}
Stringsuggested
Block explorerblock_explorer

Block explorer(s)

Example
{{URL|https://blockchain.info/}}
Stringsuggested
Ledger startledger_start

Date the first block (or transaction) occurred

Stringsuggested
Split datesplit_date

Date of first block (or transaction) independent of network split from

Stringsuggested
Split fromsplit_from

Name of network split from

Example
Litecoin
Stringsuggested
Hash functionhash_function

Hash functions used

Example
SHA-256
Stringsuggested
Issuance scheduleissuance_schedule

Method and specifications of currency issuance

Stringsuggested
Timestamping schemetimestamping

Consensus mechanism

Example
Proof-of-work
Stringsuggested
Merged mining parentmerged_mining_parent

Parent blockchain for merged mining

Example
Litecoin
Stringsuggested
Block timeblock_time

Block time

Example
10 mins
Stringsuggested
Block rewardblock_reward

Block reward

Example
12.5 BTC
Stringsuggested
Circulating supplycirculating_supply

Circulating supply

Example
21,000,000
Stringsuggested
Supply limitsupply_limit

Largest money supply possible

Example
21,000,000
Stringsuggested
exchange_rateexchange_rate

Conversion rate

Example
$5 USD (January 2015)
Stringsuggested
Market capitalizationmarket_cap

Market capitalization

Example
$5 million (January 2015)
Stringsuggested
Footnotesfootnotes

no description

Unknownoptional