Template:Infobox product: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
Blanked the page
Tag: Blanking
Line 1: Line 1:
<includeonly>{{Infobox
| bodyclass = hproduct
| titleclass = fn
| titlestyle = padding-bottom:0.2em;<!--(to prevent title touching box's border)-->
| title = {{{title|{{PAGENAMEBASE}}}}}
| imageclass = logo
| imagestyle =
| image = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:WikidataIB |getValue |rank=best |P154 |name=logo |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=no |noicon=yes |maxvals=1 |{{{logo|{{{product_logo|}}}}}} }} |size={{{logo_size|}}} |sizedefault=frameless |alt={{{logo_alt|{{{alt|}}}}}} }}
| caption = {{{logo_caption|}}}
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{image|}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| captionstyle = display:block;margin-bottom:0.4em;
| caption2 = {{{caption|}}}
| labelstyle = padding-right: 0.5em;<!-- to ensure gap between (long/unwrapped) label and subsequent data on same line -->
| datastyle = line-height: 1.35em;


| label1  = Type
|  data1  = {{#invoke:WikidataIB |getValue |P31 |name=type |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|}}} |onlysourced={{{onlysourced|yes}}} |noicon={{{noicon|}}} | {{{type|}}} }}
| label2  = Inventor
|  data2  = {{#invoke:WikidataIB |getValue |P61 |name=inventor |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|yes}}} |noicon={{{noicon|}}} | {{{inventor|}}} }}
| label3  = Inception
|  data3  = {{#invoke:WikidataIB |getValue |P571 |name=inception |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|yes}}} |noicon={{{noicon|}}} | {{{launch year|{{{inception|}}}}}} }}
| class4  = brand
| label4  = Manufacturer
|  data4  = {{#invoke:WikidataIB |getValue |P176 |name= manufacturer |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|yes}}} |noicon={{{noicon|}}} | {{{manufacturer|{{{company|}}}}}} }}
| label5  = Available
|  data5  = {{{available|}}}
| label6  = Current supplier
|  data6  = {{{current supplier|}}}
| label7  = Last production year
|  data7  = {{{last production|}}}
| label8  = Models made
|  data8  = {{{models|}}}
| label9  = Slogan
|  data9  = {{{slogan|{{{tagline|}}}}}}
| class11 = url
| label11 = Website
|  data11 = {{#invoke:WikidataIB |getValue |P856 |name=website |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced={{{onlysourced|no}}} |noicon={{{noicon|}}} | {{{website|{{{url|}}}}}} }}
| class12 = description
|  data12 = {{#if:{{{notes|}}} |'''Notes'''<br/>{{{notes}}} }}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|}}|preview =Page using [[Template:Infobox product]] with unknown parameter "_VALUE_"|ignoreblank=y| title | logo | product_logo | logo_alt | alt | logo_caption | image | image_size | image size | imagesize | image_upright | caption | type | inventor | inception | launch year | manufacturer | company| available | current supplier | last production | models | slogan | tagline | website | url | notes | suppressfields | fetchwikidata | qid | onlysourced | noicon }}</includeonly><noinclude>
{{Documentation}}<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
{{no-index-template}}

Revision as of 17:49, 6 January 2025