Template:Instrument Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
This template is for generic instruments.  We have specialized templates [[:Template:Oscilloscope Sidebar|Template:Oscilloscope Sidebar]] and [[:Template:Probe Sidebar|Template:Probe Sidebar]] based on this one for the respective product groups.  Where applicable, please use these specialized templates instead.
This template is for generic instruments.  We have specialized templates [[:Template:Oscilloscope Sidebar|Template:Oscilloscope Sidebar]] and [[:Template:Probe Sidebar|Template:Probe Sidebar]] based on this one for the respective product groups.  Where applicable, please use these specialized templates instead.


'''This template should be invoked in the following format:'''
 
{| cellpadding="5"
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>{{Instrument Sidebar  
<pre>{{Instrument Sidebar  
|manufacturer=
|manufacturer=
Line 22: Line 28:
}}
}}
</pre>
</pre>
Example:
|
<pre>
<pre>
{{Instrument Sidebar
{{Instrument Sidebar
Line 37: Line 43:
}}
}}
</pre>
</pre>
|}


<code><nowiki>manufacturer=</nowiki></code> should be a page name, <code><nowiki>designers=</nowiki></code> a semicolon-delimited list of page names.  For <code><nowiki>class=</nowiki></code> please align with existing values in the [[Special:CargoTables/Products|Products table]] where applicable.
<code><nowiki>manufacturer=</nowiki></code> should be a page name, <code><nowiki>designers=</nowiki></code> a semicolon-delimited list of page names.  For <code><nowiki>class=</nowiki></code> please align with existing values in the [[Special:CargoTables/Products|Products table]] where applicable.

Revision as of 03:25, 25 August 2021

This is the "Instrument" template.

If you have come here looking to edit the page for a particular instrument, you took a wrong turn – please do not edit this template.
Instead, please go back to the instrument's page and edit that.

This template is for generic instruments. We have specialized templates Template:Oscilloscope Sidebar and Template:Probe Sidebar based on this one for the respective product groups. Where applicable, please use these specialized templates instead.


This template should be invoked in the following format: Example:
{{Instrument Sidebar 
|manufacturer=
|model=
|class=
|series=
|summary=
|image=
|caption=
|introduced=
|discontinued=
|designers=
|manuals=
}}
{{Instrument Sidebar
|manufacturer=Tektronix
|model=XYZ
|class=Oscilloscope
|summary=700 MHZ Oscilloscope
|image=Picture of XYZ scope.jpg
|caption=Description of the above picture
|series=96000-series scopes
|introduced=1996
|designers=John Doe;Alice Bob
|discontinued=(?)
}}

manufacturer= should be a page name, designers= a semicolon-delimited list of page names. For class= please align with existing values in the Products table where applicable.

This template adds [[Category:Introduced in (year)]] to the article. If the introduction or discontinuation year is unknown, please use (?) in its place, e.g. introduced=(?).

This template adds rows to the table "Products", which is declared by the template Product. View table.

See Article templates for details on other templates available in TekWiki.