Template:Instrument Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
'''This is the "Instrument" template.'''
'''This is the "Instrument Sidebar" 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. ''
: ''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. ''
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 27:
}}
}}
</pre>
</pre>
Example:
|
<pre>
<pre>
{{Instrument Sidebar
{{Instrument Sidebar
Line 33: Line 38:
|series=96000-series scopes
|series=96000-series scopes
|introduced=1996
|introduced=1996
|discontinued=(?)
|designers=John Doe;Alice Bob
|designers=John Doe;Alice Bob
|discontinued=(?)
|manuals=
* [[070-1234-56.pdf|Tektronix XYZ Operator Manual]] (PDF)
}}
}}
</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.
Line 63: Line 71:
<span id="Manuals" style="font-size:110%; padding-top:3px;">'''Manuals'''</span></div><div style="padding-left: 0.5em;font-size:90%;">
<span id="Manuals" style="font-size:110%; padding-top:3px;">'''Manuals'''</span></div><div style="padding-left: 0.5em;font-size:90%;">
{{{manuals}}}
{{{manuals}}}
:<small>(All files in PDF format unless noted otherwise)</small>
</div>[[Category:Introduced in {{{introduced}}}]]
</div>[[Category:Introduced in {{{introduced}}}]]
|}
|}

Revision as of 02:50, 23 October 2021

This is the "Instrument Sidebar" 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
|discontinued=(?)
|designers=John Doe;Alice Bob
|manuals=
* [[070-1234-56.pdf|Tektronix XYZ Operator Manual]] (PDF)
}}

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.