Template:Quantity: Difference between revisions

From MaRDI portal
TA4Shehu (talk | contribs)
No edit summary
TA4Shehu (talk | contribs)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
== Available identifiers ==
== Available identifiers ==
<!-- 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|}}}} }}{{#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|}}}} }}
-->{{#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|property|P1654|}} | {{Template:Badge|Quantity Kind ID|https://qudt.org/vocab/quantitykind/{{#invoke:Wd|property|P1654|}}|{{#invoke:Wd|property|P1654|}}}} }}  
-->{{#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 11: Line 11:
{{#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|}}}}
|
}}




Line 20: Line 37:
<div class="keywords-line"></div>
<div class="keywords-line"></div>
</div>
</div>
  <!-- Render the raw content of the property in markdown -->
  <!-- Render the raw content of the property/properties
{{#invoke:HelperMethods|markdownToMediawiki|{{#invoke:Wd|property|raw|P1459|}}}}
  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 37: 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