Template:Probe Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Probe Sidebar" template.
'''This is the "Probe Sidebar" template.'''
It should be called in the following format:
 
: ''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.''
 
{| cellpadding="5"
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>
<pre>
{{Probe Sidebar
{{Probe Sidebar
Line 12: Line 21:
|introduced=
|introduced=
|discontinued=
|discontinued=
|designers=
|manuals=
}}
}}
</pre>
</pre>
Example:
|
<pre>
<pre>
{{Probe Sidebar
{{Probe Sidebar
Line 25: Line 36:
|introduced=1966
|introduced=1966
|discontinued=(?)
|discontinued=(?)
|designers=John Doe;Jane Smith
|manuals=
* [[Media:000-0000-00.pdf|Type XYZ manual]] (PDF)
}}
}}
</pre>
</pre>
|}
<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).
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>.
{{#cargo_attach:
{{#cargo_attach:
_table = Products
_table = Products
}}
}}
Edit the page to see the template text.
 
'''See [[Article templates]] for details on other templates available in TekWiki.'''
</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;">
</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;">
{| border="0" cellpadding="2" cellspacing="0"
{| border="0" cellpadding="2" cellspacing="0"
|-
|-
!colspan=2 style="background-color: rgb(184, 200, 255); font-size: 120%;"|{{{manufacturer}}} {{{type}}}
!colspan=2 style="background-color: rgb(184, 200, 255); font-size: 120%;"|{{{manufacturer}}} {{{model}}}
|-
|-
|
|
Line 40: Line 61:
[[Image:{{{image}}}|thumb|center|220px|{{{caption}}}]]
[[Image:{{{image}}}|thumb|center|220px|{{{caption}}}]]
<center>
<center>
'''Compatible with [[{{{series}}}]]'''
{{#if: {{{for|}}} |'''Compatible with [[{{{for|}}}]]''' | }}


'''Produced from ''' {{{introduced}}} to {{{discontinued}}}
'''Produced from ''' {{{introduced|}}} to {{{discontinued|}}}
</center>
</center>
<div style="background-color:rgb(240,240,255); width: 100%; text-align:center;padding-bottom:3px;">
<div style="background-color:rgb(240,240,255); width: 100%; text-align:center;padding-bottom:3px;">
Line 52: Line 73:
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Products
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Products
|Manufacturer={{{manufacturer|}}}
|Manufacturer={{{manufacturer|}}}
|Model={{{type|}}}
|Model={{{model|}}}
|Class=Probe
|Class=Probe
|Description={{{summary|}}}
|Description={{{summary|}}}
Line 58: Line 79:
|Introduced={{{introduced|}}}
|Introduced={{{introduced|}}}
|Discontinued={{{discontinued|}}}
|Discontinued={{{discontinued|}}}
|Designers={{{designers|}}}
}}}}
}}}}
__NOEDITSECTION__
__NOEDITSECTION__
</div>
</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>
<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.