Difference between revisions of "Template:Infobox device"
Line 10: | Line 10: | ||
|label1 = Description | |label1 = Description | ||
|data1 = {{{description|}}} | |data1 = {{{description|}}} | ||
− | |label2 = | + | |label2 = Keywords |
− | |data2 = {{#arraymap:{{{ | + | |data2 = {{#arraymap:{{{keywords|}}}|,|@|{{Property|Has keyword|@}}}} |
− | |label3 = | + | |label3 = Uses |
− | |data3 = {{#arraymap:{{{ | + | |data3 = {{#arraymap:{{{uses|}}}|,|@|{{Property|Has use|@}}}} |
+ | |label4 = Variant of | ||
+ | |data4 = {{#arraymap:{{{variant-of|}}}|,|@|{{Property|Is variant of|@}}}} | ||
|label5 = Authors | |label5 = Authors | ||
|data5 = {{#arraymap:{{{authors|}}}|,|@|{{#ifexist:@|[[@|{{#if:{{#show:@|?Has name}}|{{#show:@|?Has name}}|{{#if:{{REALNAME:@}}|{{REALNAME:@}}|{{PAGENAME:@}}}}}}]]|@}}|<br>}} | |data5 = {{#arraymap:{{{authors|}}}|,|@|{{#ifexist:@|[[@|{{#if:{{#show:@|?Has name}}|{{#show:@|?Has name}}|{{#if:{{REALNAME:@}}|{{REALNAME:@}}|{{PAGENAME:@}}}}}}]]|@}}|<br>}} | ||
Line 68: | Line 70: | ||
}}{{#set: | }}{{#set: | ||
|Has description = {{{description|}}} | |Has description = {{{description|}}} | ||
+ | |Has keyword = {{{keywords|}}}|+sep | ||
|Has use = {{{uses|}}}|+sep | |Has use = {{{uses|}}}|+sep | ||
− | | | + | |Is variant of = {{{variant-of|}}}|+sep |
|Has author = {{{authors|}}}|+sep | |Has author = {{{authors|}}}|+sep | ||
|Has status = {{ucfirst:{{{status|}}}}} | |Has status = {{ucfirst:{{{status|}}}}} |
Revision as of 12:53, 28 October 2020
Template documentation[edit]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Main image of the page
| File | suggested |
Caption | caption | Caption for the main image.
| String | optional |
Keywords | keywords | Search keywords, separated by commas. | String | optional |
Uses | uses | Practical uses of this project, separated by commas. | String | optional |
Variant of | variant-of | no description | Page | optional |
Authors | authors | Authors of this project, separated by commas. | User | suggested |
Status | status | Project status.
| Page | optional |
Made? | made | Was this project actually made?
| Boolean | optional |
Replicated? | replicated | Was this project replicated without the help of the original authors?
| Boolean | optional |
Date completed | date-completed | Date on which this project was completed.
| Date | optional |
Date published | date-published | Date on which this project was published.
| Date | optional |
Date updated | date-updated | Date on which this project was last updated.
| Date | optional |
Countries of design | countries-of-design | Countries where this project was designed, separated by commas.
| Page | optional |
Countries of replication | countries-of-replication | Countries where this project was replicated, separated by commas.
| Page | optional |
Affiliations | affiliations | Organizations affiliated to this project, separated by commas. | String | optional |
Materials | materials | Materials involved in this project, separated by commas. | String | optional |
Estimated cost currency | estimated-cost-currency | Currency of the estimated cost.
| String | optional |
Estimated cost amount | estimated-cost-amount | Amount of the estimated cost.
| Number | optional |
Sustainable Development Goals | sdg | Sustainable Development Goals to which this project contributes, separated by commas.
| Page | optional |
Documentation-home | documentation-home | no description | Unknown | optional |
Documentation-language | documentation-language | no description | Unknown | optional |
Documentation-is-translation-title | documentation-is-translation-title | no description | Unknown | optional |
Documentation-is-translation-manifest | documentation-is-translation-manifest | no description | Unknown | optional |
Documentation-is-translation-web | documentation-is-translation-web | no description | Unknown | optional |
Documentation-is-translation-language | documentation-is-translation-language | no description | Unknown | optional |
Manifest-language | manifest-language | no description | Unknown | optional |
Manifest-date-updated | manifest-date-updated | no description | Unknown | optional |
Manifest-author-name | manifest-author-name | no description | Unknown | optional |
Manifest-author-affiliation | manifest-author-affiliation | no description | Unknown | optional |
Manifest-author-email | manifest-author-email | no description | Unknown | optional |