Template:Probe Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(Created page with "<noinclude>'''This is the "Probe" 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...")
 
No edit summary
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>'''This is the "Probe" template.'''
<noinclude>
'''This is the "Probe 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; please go back to the instrument's page and edit that.
: ''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 specific to probes''', and should be invoked in the following format:
{| cellpadding="5"
<pre>{{Probe Sidebar  
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>
{{Probe Sidebar
|manufacturer=
|manufacturer=
|series=
|model=
|model=
|summary=
|summary=
|image=
|image=
|caption=
|caption=
|for=
|introduced=
|introduced=
|discontinued=
|discontinued=
|designers=
|manuals=
|manuals=
}}
}}
</pre>
</pre>
 
|
Example:
<pre>
<pre>
{{Probe Sidebar
{{Probe Sidebar
|manufacturer=Tektronix
|manufacturer=Tektronix
|series=XY-900 series probe
|model=XYZ
|model=XY699
|summary=25 MΩ probe
|summary=1.4 MHZ wireless probe
|image=Picture of XYZ Probe.jpg
|image=Picture of Tek 699 probe.jpg
|caption=Description of the above picture
|caption=Description of the above picture
|series=690-series probes
|for=50 Ω scope inputs
|introduced=1996
|introduced=1966
|discontinued=(?)
|discontinued=(?)
|manuals=<nowiki>
|designers=John Doe;Jane Smith
* [[Media:070-8765-43.pdf|Tek 699 Manual]] (PDF)
|manuals=
</nowiki>
* [[Media:000-0000-00.pdf|Type XYZ manual]] (PDF)
}}
}}
</pre>
</pre>
<code><nowiki>manufacturer=</nowiki></code> and <code><nowiki>series=</nowiki></code> should be page names, <code><nowiki>designers=</nowiki></code> a semicolon-delimited list of page names.
|}
<code><nowiki>manufacturer=</nowiki></code> should be a page name, <code><nowiki>for=</nowiki></code> should be a page name (of the series or model this plug-in is compatible with, such as "50 Ω scope inputs", "1 MΩ scope inputs", or a particular instrument).


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


</noinclude><includeonly>{{Instrument Sidebar
{{#cargo_attach:
|manufacturer={{#if: {{{manufacturer}}} | {{{manufacturer}}} | Tektronix}}
_table = Products
|model={{{model}}}
}}
|class=Probe
 
|series={{{series}}}
'''See [[Article templates]] for details on other templates available in TekWiki.'''
|summary={{{summary}}}
</noinclude><includeonly><div class="noprint" width="255" style="float:right; margin-left: 1em; margin-bottom: 1em; border: 1px #aaaaaa solid; border-collapse: collapse; max-width:255px;">
|image={{{image}}}
{| border="0" cellpadding="2" cellspacing="0"
|caption={{{caption}}}
|-
|introduced={{{introduced}}}
!colspan=2 style="background-color: rgb(184, 200, 255); font-size: 120%;"|{{{manufacturer}}} {{{model}}}
|discontinued={{{discontinued}}}
|-
|designers=|manuals={{{manuals}}}
|
}}</includeonly>
<center>'''{{{summary}}}'''</center>
[[Image:{{{image}}}|thumb|center|220px|{{{caption}}}]]
<center>
{{#if: {{{for|}}} |'''Compatible with [[{{{for|}}}]]''' | }}
 
'''Produced from ''' {{{introduced|}}} to {{{discontinued|}}}
</center>
<div style="background-color:rgb(240,240,255); width: 100%; text-align:center;padding-bottom:3px;">
<span id="Manuals" style="font-size:110%; padding-top:3px;">'''Manuals'''</span></div><div style="padding-left: 1em;">
</div><div style="padding-left: 1em;">
{{{manuals}}}
</div>[[Category:Introduced in {{{introduced}}}]]
|}
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Products
|Manufacturer={{{manufacturer|}}}
|Model={{{model|}}}
|Class=Probe
|Description={{{summary|}}}
|Series={{{for|}}}
|Introduced={{{introduced|}}}
|Discontinued={{{discontinued|}}}
|Designers={{{designers|}}}
}}}}
__NOEDITSECTION__
</div>
<div style="background-color:rgb(240,240,255);font-style:italic; width: 50em; text-align:center;margin-bottom:12px;">[[#Manuals|Manuals]]&nbsp;&ndash;&nbsp;[[#Specifications|Specifications]]&nbsp;&ndash;&nbsp;[[#Links|Links]]&nbsp;&ndash;&nbsp;[[#Pictures|Pictures]]</div></includeonly>

Revision as of 10:37, 10 October 2021

This is the "Probe 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 should be invoked in the following format: Example:
{{Probe Sidebar
|manufacturer=
|model=
|summary=
|image=
|caption=
|for=
|introduced=
|discontinued=
|designers=
|manuals=
}}
{{Probe Sidebar
|manufacturer=Tektronix
|model=XYZ
|summary=25 MΩ probe
|image=Picture of XYZ Probe.jpg
|caption=Description of the above picture
|for=50 Ω scope inputs
|introduced=1966
|discontinued=(?)
|designers=John Doe;Jane Smith
|manuals=
* [[Media:000-0000-00.pdf|Type XYZ manual]] (PDF)
}}

manufacturer= should be a page name, for= should be a page name (of the series or model this plug-in is compatible with, such as "50 Ω scope inputs", "1 MΩ scope inputs", or a particular instrument).

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.