Template:Oscilloscope Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(span element as link target)
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="noprint" border="1" width="280" cellpadding="2" cellspacing="0" align="right" style="margin-left: 1em; margin-bottom: 1em; border: 1px #aaaaaa solid; border-collapse: collapse;"
<noinclude>'''This is the "Oscilloscope" template.'''
|-
 
!colspan=2 style="background-color: rgb(184, 200, 255); font-size: 120%;"|{{{title}}}
: ''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 ''[[: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]]
* [[Media:070-9876-54.pdf|Tek 699 Service Manual]]</nowiki>
}}
</pre>
|}
|}
<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>
<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.
 
This template adds <code><nowiki>[[Category:Introduced in YYYY]]</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>, otherwise please enter ''only'' the year (the fields are used to populate a database).
 
'''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>

Latest revision as of 03:24, 4 May 2024

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]]
* [[Media:070-9876-54.pdf|Tek 699 Service Manual]]
}}

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

This template adds [[Category:Introduced in YYYY]] to the article. If the introduction or discontinuation year is unknown, please use (?) in its place, e.g. introduced=(?), otherwise please enter only the year (the fields are used to populate a database).

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