Difference between revisions of "Template:USBID"

From ThinkWiki
Jump to: navigation, search
(trying without if/then/else)
(removing the trailing "USB ID" text in the link)
Line 1: Line 1:
 
<!-- Don't know why this doesn't work:
 
<!-- Don't know why this doesn't work:
{{#if | {{{1|}}} | {{#if | {{{2|}}} | [https://usb-ids.gowdy.us/read/UD/{{{1}}}/{{{2}}} USB ID {{{1}}}:{{{2}}}] | [https://usb-ids.gowdy.us/read/UD/{{{1}}} USB ID {{{1}}}]| }} | USB ID | }}
+
{{#if | {{{1|}}} | {{#if | {{{2|}}} | [https://usb-ids.gowdy.us/read/UD/{{{1}}}/{{{2}}} {{{1}}}:{{{2}}}] | [https://usb-ids.gowdy.us/read/UD/{{{1}}} {{{1}}}]| }} | USB ID | }}
 
-->
 
-->
[https://usb-ids.gowdy.us/read/UD/{{{1}}}/{{{2}}} USB ID {{{1}}}:{{{2}}}]
+
[https://usb-ids.gowdy.us/read/UD/{{{1}}}/{{{2}}} {{{1}}}:{{{2}}}]

Revision as of 18:18, 2 February 2022