Difference between revisions of "Template:DeviceDriverInfo"

From RadiWiki
Jump to: navigation, search
Line 1: Line 1:
<!-- Show a normal (not front, not back) picture of the front view of the device --> {{#ifexist:Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}.jpg|<!-- Picture available! -->[[Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}.jpg|thumb|{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}]]| <!-- picture not available! -->}} <!-- Show the picture of the front view of the device --> {{#ifexist:Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} front.jpg|<!-- Picture available! -->[[Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} front.jpg|thumb|Front view of a {{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}]]| <!-- picture not available! -->}} <!-- Show the picture of the back view of the device --> {{#ifexist:Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} back.jpg|<!-- Picture available! -->[[Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} back.jpg|thumb|Back view of a {{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}]]| <!-- picture not available! -->}}
+
<includeonly><!-- Show a normal (not front, not back) picture of the front view of the device --> {{#ifexist:Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}.jpg|<!-- Picture available! -->[[Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}.jpg|thumb|{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}]]| <!-- picture not available! -->}} <!-- Show the picture of the front view of the device --> {{#ifexist:Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} front.jpg|<!-- Picture available! -->[[Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} front.jpg|thumb|Front view of a {{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}]]| <!-- picture not available! -->}} <!-- Show the picture of the back view of the device --> {{#ifexist:Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} back.jpg|<!-- Picture available! -->[[Image:{{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}} back.jpg|thumb|Back view of a {{#ifeq:{{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}|{{{DeviceBrand}}}|}} {{{DeviceType}}}]]| <!-- picture not available! -->}}
 
The {{#ifeq: {{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}| [[{{{DeviceBrand}}}]] |}} {{{DeviceType}}} device driver is a [[{{DeviceTypeName|{{{SupportedDeviceTypes}}}}}]] which is supported by {{RadiMationLink}}.{{#ifeq:{{{GenericPage|+}}}|{{{GenericPage|-}}}|<br><br>{{Note|General information of this device driver can be found on the [[{{{GenericPage}}}]] page.}} }}  
 
The {{#ifeq: {{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}| [[{{{DeviceBrand}}}]] |}} {{{DeviceType}}} device driver is a [[{{DeviceTypeName|{{{SupportedDeviceTypes}}}}}]] which is supported by {{RadiMationLink}}.{{#ifeq:{{{GenericPage|+}}}|{{{GenericPage|-}}}|<br><br>{{Note|General information of this device driver can be found on the [[{{{GenericPage}}}]] page.}} }}  
 
{{#ifeq: {{{HideAutoData|0}}}|1| |
 
{{#ifeq: {{{HideAutoData|0}}}|1| |
Line 7: Line 7:
 
}}
 
}}
 
{{#ifeq: {{{HideAutoData|0}}}|1| |{{DeviceDriverStub}} }}
 
{{#ifeq: {{{HideAutoData|0}}}|1| |{{DeviceDriverStub}} }}
{{#ifeq: {{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}| [[Category:{{{DeviceBrand}}}]] |}} {{DeviceTypeCategory|{{{SupportedDeviceTypes}}}}} [[Category:{{{DLLFile}}}]]
+
{{#ifeq: {{{DeviceBrand|+}}}|{{{DeviceBrand|-}}}| [[Category:{{{DeviceBrand}}}]] |}} {{DeviceTypeCategory|{{{SupportedDeviceTypes}}}}} [[Category:{{{DLLFile}}}]]</includeonly><noinclude>
<noinclude>
 
 
This template is used to show the details of a supported device driver.
 
This template is used to show the details of a supported device driver.
 
Possible named arguments are:
 
Possible named arguments are:
Line 23: Line 22:
 
* Image:<DeviceBrand> <DeviceType> front.jpg
 
* Image:<DeviceBrand> <DeviceType> front.jpg
 
* Image:<DeviceBrand> <DeviceType> back.jpg
 
* Image:<DeviceBrand> <DeviceType> back.jpg
 +
 +
 +
An example of this template is:
 +
{{Example|
 +
{{DeviceDriverInfo
 +
|DLLFile=RADATTT.DLL
 +
|DeviceBrand=EMCO
 +
|DeviceDriverName=EMCO1090ATT
 +
|DeviceType=1090
 +
|SupportedDeviceTypes=131072
 +
}}
 +
}}
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 10:37, 18 February 2011

This template is used to show the details of a supported device driver. Possible named arguments are:

  • DeviceBrand: The brand of the device (also known as the manufacturer)
  • DeviceType: The type of the device (the type-number/description)
  • DLLFile: The name of the DLL in which the device driver is included
  • SupportedDeviceTypes: The numeric encoding of the supported device types
  • DeviceDriverName: The internal device driver name
  • HideAutoData: If the automatic 'guessed' data should be hidden (1: Hides the data)
  • GenericPage: The name of the page with some generic data of this device (which is used to group information of a serie of similar devices)

If an image of the device is also available, an image of the device will also be shown. The name of the images should match with (and case is important!):

  • Image:<DeviceBrand> <DeviceType>.jpg
  • Image:<DeviceBrand> <DeviceType> front.jpg
  • Image:<DeviceBrand> <DeviceType> back.jpg


An example of this template is:

Example:

{{{text}}}