Template:Quantity: Difference between revisions
From MaRDI portal
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<!-- Line break for readability | <!-- 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|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| | -->{{#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| | -->{{#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|}}}} }} | ||
| Line 28: | Line 28: | ||
}} | }} | ||
<!-- P1459 refers to property description --> | <!-- P1459 refers to property description --> | ||
| Line 36: | Line 37: | ||
<div class="keywords-line"></div> | <div class="keywords-line"></div> | ||
</div> | </div> | ||
<!-- Render the raw content of the property in | <!-- Render the raw content of the property/properties | ||
{{#invoke: | separate possible multiple values of property P1459 with xxxx in addition to the default "," and then replace ,xxxx with new line --> | ||
<br/> | {{#invoke:MathModDBHelperMethods|replace_pattern|{{#invoke:Wd|properties|P1459|sep=xxxx}}|<br/>}} | ||
<hr/> | <hr/> | ||
| | | | ||
}} | }} | ||
| Line 53: | Line 53: | ||
| | | | ||
}} | }} | ||
<!-- 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}} | {{DeepChat}} | ||
Latest revision as of 14:07, 25 July 2025
Available identifiers