Template:Quantity: Difference between revisions
From MaRDI portal
EloiFerrer (talk | contribs) Created page with "{{DISPLAYTITLE:{{#invoke:Wd|label}}}} <b> {{#invoke:Wd|description}} </b>" |
No edit summary |
||
| (16 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{#invoke:Wd|label}}}} | {{DISPLAYTITLE:{{#invoke:Wd|label}}}} | ||
== Available identifiers == | |||
<!-- Line break for readability | |||
-->{{#if:{{#invoke:Wd|property|P12|}} | {{Template:Badge|Wikidata|https://www.wikidata.org/wiki/{{#invoke:Wd|property|P12|}}|{{#invoke:Wd|property|P12|}}}} {{Template:Badge|Scholia|https://scholia.toolforge.org/topic/{{#invoke:Wd|property|P12|}}|{{#invoke:Wd|property|P12|}}}} }}<!-- Line break for readability | |||
-->{{#if:{{#invoke:Wd|property|P1654|}} | {{Template:Badge|QUDT quantity kind ID|https://qudt.org/vocab/quantitykind/{{#invoke:Wd|property|P1654|}}|{{#invoke:Wd|property|P1654|}}}} }}<!-- Line break for readability | |||
-->{{#if: {{#invoke:Wd|label|raw|}} | {{Template:Badge|[[Help:MaRDI QID|MaRDI QID]]|https://portal.mardi4nfdi.de/wiki/Item:{{#invoke:Wd|label|raw|}}|{{#invoke:Wd|label|raw|}}}} }} | |||
<b> | <b> | ||
{{#invoke:Wd|description}} | {{#invoke:Wd|description}} | ||
</b> | </b> | ||
<!-- P356 refers to property image --> | |||
{{#if:{{#invoke:Wd|property|P356|}} | | |||
<!-- Show image if property exists --> | |||
{{#invoke:Quantity|getImageWithLegend|{{#invoke:Wd|label|raw|}}}} | |||
| | |||
}} | |||
<!-- P797 refers to property video --> | |||
{{#if:{{#invoke:Wd|property|P797|}} | | |||
<!-- Show video if property exists --> | |||
{{#invoke:Quantity|getVideoWithLegend|{{#invoke:Wd|label|raw|}}}} | |||
| | |||
}} | |||
<!-- P1459 refers to property description --> | |||
{{#if:{{#invoke:Wd|property|P1459|}} | | |||
<!-- Show description section if property exists --> | |||
<div class="keywords-header"> | |||
<span class="keywords-title">[[Property:P1459|{{ucfirst:{{#invoke:Wd|label|P1459}}}}]]</span> | |||
<div class="keywords-line"></div> | |||
</div> | |||
<!-- Render the raw content of the property/properties | |||
separate possible multiple values of property P1459 with xxxx in addition to the default "," and then replace ,xxxx with new line --> | |||
{{#invoke:MathModDBHelperMethods|replace_pattern|{{#invoke:Wd|properties|P1459|sep=xxxx}}|<br/>}} | |||
<hr/> | |||
| | |||
}} | |||
<!-- P989 refers to property defining formula --> | |||
{{#if:{{#invoke:Wd|property|P989|}} | | |||
<!-- Show mathematical expressions if property exists --> | |||
{{#invoke:Quantity|extractDefiningFormulationWithQuantities|{{#invoke:Wd|label|raw|}}}} | |||
<br/> | |||
<hr/> | |||
| | |||
}} | |||
<!-- P1684 refers to property specialized by --> | |||
{{#if:{{#invoke:Wd|property|P1684 |}} | | |||
<!-- Show quantities by which this quantity is specialized --> | |||
== Quantities specializing {{#invoke:Wd|label}} == | |||
{{#invoke:Quantity|getSpecializedQuantities|{{#invoke:Wd|label|raw|}}}} | |||
<br/> | |||
<hr/> | |||
| | |||
}} | |||
<!-- P1690 refers to property related URL --> | |||
{{#if:{{#invoke:Wd|property|P1690|}} | | |||
== Related URL == | |||
<!-- Show related URL section if property exists --> | |||
<!-- Render the raw content of the related URL(s) | |||
separate possible multiple values of property P1690 with xxxx in addition to the default "," and then replace ,xxxx with new line --> | |||
{{#invoke:MathModDBHelperMethods|replace_pattern|{{#invoke:Wd|properties|P1690 |sep=xxxx}}|<br/>}} | |||
<hr/> | |||
| | |||
}} | |||
{{DeepChat}} | |||
Latest revision as of 14:07, 25 July 2025
Available identifiers