Template:Instrument Sidebar: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><pre>{{Instrument Sidebar |
<noinclude>
manufacturer={{#if: {{{manufacturer}}} | {{{manufacturer}}} | Tektronix }} |
'''This is the "Instrument Sidebar" template.'''
model={{{model}}} |
 
summary={{{summary}}} |
: ''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. ''
image={{{image}}} |
: ''Instead, please go back to the instrument's page and edit that.''
caption={{{caption}}} |
 
introduced={{{introduced}}} |
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.
discontinued={{{discontinued}}} |
 
manuals={{{manuals}}}
{| cellpadding="5"
}}</pre></noinclude><includeonly>
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>{{Instrument Sidebar  
|manufacturer=
|model=
|class=
|series=
|summary=
|image=
|caption=
|introduced=
|discontinued=
|designers=
|manuals=
}}
</pre>
|
<pre>
{{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]]
}}
</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.
 
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:
_table = Products
}}
 
'''See [[Article templates]] for details on other templates available in TekWiki.'''
</noinclude><includeonly>
<div class="noprint" style="width:265px; max-width:265px; float:right; margin-left: 1em; margin-bottom: 1em; border: 1px #aaaaaa solid; border-collapse: collapse;">
<div class="noprint" style="width:265px; max-width:265px; float:right; margin-left: 1em; margin-bottom: 1em; border: 1px #aaaaaa solid; border-collapse: collapse;">
{| 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}}} {{{model}}}
!colspan=2 style="background-color: rgb(184, 200, 255); font-size: 120%;"|{{{manufacturer}}} {{{model}}}
|-
|-
|
|
<center>'''{{{summary}}}'''</center>
<center><span style="text-transform:capitalize;font-weight:bold;">{{{summary}}}</span></center>
[[Image:{{{image}}}|thumb|center|250px|{{{caption}}}]]
[[Image:{{{image}}}|thumb|center|250px|{{{caption}}}]]
<center>
<center>
Line 21: Line 69:
</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;">
<span id="Manuals" style="font-size:110%; padding-top:3px;">'''Manuals'''</span></div><div style="padding-left: 1em;">
<span id="Manuals" style="font-size:110%; padding-top:3px;">'''Manuals'''</span></div><div style="padding-left: 0.5em;font-size:90%;">
{{{manuals}}}
{{{manuals}}}
</div>[[Category:Introduced in {{{introduced}}}]]
<div style="margin-top:12px;padding-bottom:1px;padding-top:1px;background-color:#F0F0F8;">
:<small>(All manuals in PDF format unless noted otherwise)</small>
</div></div>[[Category:Introduced in {{{introduced}}}]]
|}
|}
</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; padding-left:10px; padding-right: 10px; text-align:center;margin-bottom:12px;">[[#Manuals|Manuals]]&nbsp;&ndash;&nbsp;[[#Key_Specifications|Specifications]]&nbsp;&ndash;&nbsp;[[#Links|Links]]&nbsp;&ndash;&nbsp;[[#Pictures|Pictures]]</div>
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Products
|Manufacturer={{{manufacturer|}}}
|Model={{{model|}}}
|Class={{{class|}}}
|Description={{{summary|}}}
|Series={{{series|}}}
|Introduced={{{introduced|}}}
|Discontinued={{{discontinued|}}}
|Designers={{{designers|}}}
}}}}</includeonly>

Navigation menu