From WikiChip
Difference between revisions of "Template:abbr"
(A few more common abbreviations.) |
|||
Line 2: | Line 2: | ||
The arraymap-explode below eats tags like <sup>, don't scare it. | The arraymap-explode below eats tags like <sup>, don't scare it. | ||
-->|{{#switch:{{lc:{{#arraymap:{{{1|}}}|>|@|{{#explode:@|<}}|}}}}<!-- | -->|{{#switch:{{lc:{{#arraymap:{{{1|}}}|>|@|{{#explode:@|<}}|}}}}<!-- | ||
+ | -->|1dpc=<abbr title="One DIMM Per Channel">{{{1}}}</abbr><!-- | ||
+ | -->|2dpc=<abbr title="Two DIMMs Per Channel">{{{1}}}</abbr><!-- | ||
-->|3ds dimm=[[3DS DIMM|<abbr title="3D-Stacked Dual In-line Memory Module">{{{1}}}</abbr>]]<!-- | -->|3ds dimm=[[3DS DIMM|<abbr title="3D-Stacked Dual In-line Memory Module">{{{1}}}</abbr>]]<!-- | ||
-->|3ds rdimm=[[3DS DIMM|<abbr title="3D-Stacked Registered Dual In-line Memory Module">{{{1}}}</abbr>]]<!-- | -->|3ds rdimm=[[3DS DIMM|<abbr title="3D-Stacked Registered Dual In-line Memory Module">{{{1}}}</abbr>]]<!-- | ||
Line 17: | Line 19: | ||
-->|cake=[[amd/infinity fabric|<abbr title="Coherent AMD socKet Extender">{{{1}}}</abbr>]]<!-- AMD | -->|cake=[[amd/infinity fabric|<abbr title="Coherent AMD socKet Extender">{{{1}}}</abbr>]]<!-- AMD | ||
-->|ccix=[[ccix|<abbr title="Cache Coherent Interconnect for accelerators">{{{1}}}</abbr>]]<!-- | -->|ccix=[[ccix|<abbr title="Cache Coherent Interconnect for accelerators">{{{1}}}</abbr>]]<!-- | ||
+ | -->|if:ccm=[[amd/infinity fabric|<abbr title="CPU/CCX/Core/Cache Coherent Master">{{#explode:{{{1}}}|:|1|2}}</abbr>]]<!-- also "CPU Coherent Module" or "Coherent Core Master"; e.g. doi:10.1109/ISSCC19947.2020.9063103, AMD-54954-3.00-NDA, AMD-55803-0.93 | ||
+ | -->|ccx=<abbr title="Core Complex">{{{1}}}</abbr><!-- AMD | ||
-->|cir=[[wikipedia:Consumer IR|{{{1}}}]]<!-- | -->|cir=[[wikipedia:Consumer IR|{{{1}}}]]<!-- | ||
-->|crt=[[wikipedia:Cathode-ray tube|<abbr title="Cathode-Ray Tube">{{{1}}}</abbr>]]<!-- | -->|crt=[[wikipedia:Cathode-ray tube|<abbr title="Cathode-Ray Tube">{{{1}}}</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>]]<!-- | ||
-->|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><!-- | ||
Line 89: | Line 95: | ||
-->|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>]]<!-- | ||
+ | -->|serdes=[[wikipedia:SerDes|<abbr title="Serializer/Deserializer">{{{1}}}</abbr>]]<!-- | ||
-->|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 106: | Line 113: | ||
-->|ssi=[[wikipedia:Synchronous Serial Interface|{{{1}}}]]<!-- | -->|ssi=[[wikipedia:Synchronous Serial Interface|{{{1}}}]]<!-- | ||
-->|tdm=[[wikipedia:Time-division multiplexing|{{{1}}}]]<!-- | -->|tdm=[[wikipedia:Time-division multiplexing|{{{1}}}]]<!-- | ||
− | -->|tdp=[[ | + | -->|tdp=[[tdp|<abbr title="Thermal Design Power>{{{1}}}</abbr>]]<!-- |
-->|tim=[[wikipedia:Thermal interface material|{{{1}}}]]<!-- | -->|tim=[[wikipedia:Thermal interface material|{{{1}}}]]<!-- | ||
-->|tmds=[[wikipedia:Transition-minimized differential signaling|{{{1}}}]]<!-- | -->|tmds=[[wikipedia:Transition-minimized differential signaling|{{{1}}}]]<!-- | ||
Line 124: | Line 131: | ||
-->|wov=[[wikipedia:Wake-on-Voice|{{{1}}}]]<!-- | -->|wov=[[wikipedia:Wake-on-Voice|{{{1}}}]]<!-- | ||
-->|xgmi=[[amd/infinity fabric|<abbr title="eXternal Global Memory Interconnect (AMD Scalable Data Fabric inter-socket link)">{{{1}}}</abbr>]]<!-- | -->|xgmi=[[amd/infinity fabric|<abbr title="eXternal Global Memory Interconnect (AMD Scalable Data Fabric inter-socket link)">{{{1}}}</abbr>]]<!-- | ||
+ | -->|xhci=[[wikipedia:Extensible Host Controller Interface|{{{1}}}]]<!-- | ||
The nowikis below preserve whitespace like the abbr tag in the first line does, although whitespace around the template parameters should be avoided. | The nowikis below preserve whitespace like the abbr tag in the first line does, although whitespace around the template parameters should be avoided. | ||
-->|#default=<nowiki/>{{{1}}}<nowiki/>}}}}</includeonly><noinclude> | -->|#default=<nowiki/>{{{1}}}<nowiki/>}}}}</includeonly><noinclude> |
Revision as of 17:20, 14 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 }}x | x SMROM x |
{{abbr|I2C}}, {{abbr|I²c}}, {{abbr|i<sup>2</sup>C}} | I2C, I²c, i2C |
{{abbr|xGMI}} | xGMI |
{{abbr|RDIMM}}s | RDIMMs |