From WikiChip
Difference between revisions of "Template:abbr"

Line 25: Line 25:
 
-->|if:cs=[[amd/infinity fabric|<abbr title="Coherent Slave">{{#explode:{{{1}}}|:|1|2}}</abbr>]]<!--
 
-->|if:cs=[[amd/infinity fabric|<abbr title="Coherent Slave">{{#explode:{{{1}}}|:|1|2}}</abbr>]]<!--
 
-->|ctdp=[[tdp|<abbr title="Configurable Thermal Design Power>{{{1}}}</abbr>]]<!--
 
-->|ctdp=[[tdp|<abbr title="Configurable Thermal Design Power>{{{1}}}</abbr>]]<!--
-->|cxl=[[wikipedia:Compute eXpress Link|{{{1}}}]]<!--
+
-->|cxl=[[wikipedia:Compute Express Link|{{{1}}}]]<!--
 
-->|dap=<abbr title="Debug And Power measuring platform">{{{1}}}</abbr><!--
 
-->|dap=<abbr title="Debug And Power measuring platform">{{{1}}}</abbr><!--
 
-->|dce=<abbr title="Display Control Engine">{{{1}}}</abbr><!-- AMD
 
-->|dce=<abbr title="Display Control Engine">{{{1}}}</abbr><!-- AMD
 
-->|ddi=<abbr title="Digital Display Interface">{{{1}}}</abbr><!--
 
-->|ddi=<abbr title="Digital Display Interface">{{{1}}}</abbr><!--
 
-->|ddr=[[wikipedia:Double data rate|{{{1}}}]]<!--
 
-->|ddr=[[wikipedia:Double data rate|{{{1}}}]]<!--
 +
-->|dected|dec-ted=<abbr title="Double Error Correction, Triple Error Detection">{{{1}}}</abbr>]]<!--
 
-->|devslp=[[wikipedia:DevSlp|<abbr title="SATA Device Sleep">{{{1}}}</abbr>]]<!--
 
-->|devslp=[[wikipedia:DevSlp|<abbr title="SATA Device Sleep">{{{1}}}</abbr>]]<!--
 
-->|dfc=<abbr title="Device Facing Connector">{{{1}}}</abbr><!--
 
-->|dfc=<abbr title="Device Facing Connector">{{{1}}}</abbr><!--
Line 95: Line 96:
 
-->|sdxc=[[wikipedia:SD card#SDXC|<abbr title="Secure Digital eXtended Capacity card">{{{1}}}</abbr>]]<!--
 
-->|sdxc=[[wikipedia:SD card#SDXC|<abbr title="Secure Digital eXtended Capacity card">{{{1}}}</abbr>]]<!--
 
-->|sdio=[[wikipedia:SD card#SDIO|<abbr title="Secure Digital Input/Output card">{{{1}}}</abbr>]]<!--
 
-->|sdio=[[wikipedia:SD card#SDIO|<abbr title="Secure Digital Input/Output card">{{{1}}}</abbr>]]<!--
 +
-->|secded|sec-ded=<abbr title="Single Error Correction, Double Error Detection">{{{1}}}</abbr>]]<!--
 
-->|serdes=[[wikipedia:SerDes|<abbr title="Serializer/Deserializer">{{{1}}}</abbr>]]<!--
 
-->|serdes=[[wikipedia:SerDes|<abbr title="Serializer/Deserializer">{{{1}}}</abbr>]]<!--
 +
-->|sfh=<abbr title="Sensor Fusion Hub">[https://docs.kernel.org/hid/amd-sfh-hid.html SFH]</abbr><!-- AMD
 
-->|sfp=[[wikipedia:Small form-factor pluggable transceiver|{{{1}}}]]<!--
 
-->|sfp=[[wikipedia:Small form-factor pluggable transceiver|{{{1}}}]]<!--
 
-->|sgpio=[[wikipedia:SGPIO|{{{1}}}]]<!--
 
-->|sgpio=[[wikipedia:SGPIO|{{{1}}}]]<!--
Line 143: Line 146:
 
<tr><td><nowiki>{{abbr|I2C}}, {{abbr|I²c}}, {{abbr|i<sup>2</sup>C}}</nowiki></td><td>{{abbr|I2C}}, {{abbr|I²c}}, {{abbr|i<sup>2</sup>C}}</td></tr>
 
<tr><td><nowiki>{{abbr|I2C}}, {{abbr|I²c}}, {{abbr|i<sup>2</sup>C}}</nowiki></td><td>{{abbr|I2C}}, {{abbr|I²c}}, {{abbr|i<sup>2</sup>C}}</td></tr>
 
<tr><td><nowiki>{{abbr|xGMI}}</nowiki></td><td>{{abbr|xGMI}}</td></tr>
 
<tr><td><nowiki>{{abbr|xGMI}}</nowiki></td><td>{{abbr|xGMI}}</td></tr>
 +
<tr><td><nowiki>{{abbr|SFH}}</nowiki></td><td>{{abbr|SFH}}</td></tr>
 
<tr><td><nowiki>{{abbr|RDIMM}}s</nowiki></td><td>{{abbr|RDIMM}}s</td></tr>
 
<tr><td><nowiki>{{abbr|RDIMM}}s</nowiki></td><td>{{abbr|RDIMM}}s</td></tr>
 
</table></noinclude>
 
</table></noinclude>

Revision as of 14:47, 23 April 2022

This template is a wrapper around the HTML <abbr> tag similar to https://en.wikipedia.org/wiki/Template:Abbr and it knows a few common abbreviations to save typing.

Test
{{abbr|WMF|Wikimedia Foundation}}WMF
[[meta:Wikimedia Foundation|{{abbr|WMF|Wikimedia Foundation}}]]WMF
{{abbr|WMF}}WMF
x{{abbr| SMROM }}xx SMROM x
{{abbr|I2C}}, {{abbr|I²c}}, {{abbr|i<sup>2</sup>C}}I2C, I²c, i2C
{{abbr|xGMI}}xGMI
{{abbr|SFH}}SFH
{{abbr|RDIMM}}sRDIMMs