Template:Oscilloscope Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(was broken after MW upgrade, trying to fix :-))
No edit summary
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="noprint" width="280"  style="float:right; margin-left: 1em; margin-bottom: 1em; border: 1px #aaaaaa solid; border-collapse: collapse;">
<noinclude>'''This is the "Oscilloscope" template.'''
{| border="1" cellpadding="2" cellspacing="0"
 
|-
: ''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. ''
!colspan=2 style="background-color: rgb(184, 200, 255); font-size: 120%;"|{{{title}}}
: ''Instead, please go back to the instrument's page and edit that.''
 
'''This template is specific to oscilloscopes''' (for instruments other than oscilloscopes, please use the generic ''[[:Template:Instrument Sidebar|Instrument Sidebar]]'' template), and should be invoked in the following format:
 
{| cellpadding="5"
|-
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>{{Oscilloscope Sidebar
|manufacturer=
|series=
|model=
|summary=
|image=
|caption=
|introduced=
|discontinued=
|designers=
|manuals=
}}
</pre>
|
|
<center>'''{{{summary}}}'''</center>
<pre>
[[Image:{{{image}}}|thumb|center|220px|{{{caption}}}]]
{{Oscilloscope Sidebar
<center>
|manufacturer=Tektronix
'''Produced from ''' {{{introduced}}} to {{{discontinued}}}
|series=XY-900 series scopes
</center>
|model=XY699
<div style="background-color:rgb(240,240,255); width: 100%; text-align:center;padding-bottom:3px;">
|summary=1.4 MHZ Oscilloscope
<span id="Manuals" style="font-size:110%; padding-top:3px;">'''Manuals'''</span></div><div style="padding-left: 1em;">
|image=Picture of Tek 699 scope.jpg
{{{manuals}}}
|caption=Description of the above picture
</div>[[Category:Introduced in {{{introduced}}}]]
|series=690-series scopes
|introduced=1996
|discontinued=(?)
|designers=John Doe;Alice Bob
|manuals=<nowiki>
* [[Media:070-8765-43.pdf|Tek 699 Operator Manual]] (PDF)
* [[Media:070-9876-54.pdf|Tek 699 Service Manual]] (PDF)</nowiki>
}}
</pre>
|}
|}
</div>
<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.
<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>
 
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>.
 
'''See [[Article templates]] for details on other templates available in TekWiki.'''
</noinclude><includeonly>{{Instrument Sidebar
|manufacturer={{#if: {{{manufacturer}}} | {{{manufacturer}}} | Tektronix}}
|model={{{model}}}
|class=Oscilloscope
|series={{{series}}}
|summary={{{summary}}}
|image={{{image}}}
|caption={{{caption}}}
|introduced={{{introduced}}}
|discontinued={{{discontinued}}}
|designers={{{designers}}}
|manuals={{{manuals}}}
}}</includeonly>

Revision as of 03:29, 25 August 2021

This is the "Oscilloscope" 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 specific to oscilloscopes (for instruments other than oscilloscopes, please use the generic Instrument Sidebar template), and should be invoked in the following format:

This template should be invoked in the following format: Example:
{{Oscilloscope Sidebar 
|manufacturer=
|series=
|model=
|summary=
|image=
|caption=
|introduced=
|discontinued=
|designers=
|manuals=
}}
{{Oscilloscope Sidebar
|manufacturer=Tektronix
|series=XY-900 series scopes 
|model=XY699
|summary=1.4 MHZ Oscilloscope
|image=Picture of Tek 699 scope.jpg
|caption=Description of the above picture
|series=690-series scopes
|introduced=1996
|discontinued=(?)
|designers=John Doe;Alice Bob
|manuals=
* [[Media:070-8765-43.pdf|Tek 699 Operator Manual]] (PDF)
* [[Media:070-9876-54.pdf|Tek 699 Service Manual]] (PDF)
}}

manufacturer= and series= should be page names, designers= a semicolon-delimited list of page names.

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=(?).

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