Template:Plugin Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Plugin Sidebar" template.
'''This is the "Plugin 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.''
 
This template is for generic plug-in modules.  We have specialized templates [[:Template:TM500|Template:TM500]] and [[:Template:TM5000|Template:TM5000]] for the respective plug-in series.
Where applicable, please use these specialized templates instead.
 
{| cellpadding="5"
|-
!This template should be invoked in the following format:
!Example:
|-  valign="top"
|
<pre>
<pre>
{{Plugin Sidebar
{{Plugin Sidebar
|manufacturer=
|manufacturer=
|series=
|type=
|type=
|summary=
|summary=
|image=
|image=
|caption=
|caption=
|series=
|introduced=
|introduced=
|discontinued=
|discontinued=
|designers=
|manuals=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
|
</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;">
<pre>
{{Plugin Sidebar
|manufacturer=Tektronix
|series=500-series scopes
|type=XYZ
|summary=Amplifier
|image=Picture of XYZ Plugin.jpg
|caption=Description of the above picture
|introduced=1966
|discontinued=(?)
|designers=John Doe;Jane Doe
|manuals=
* [[Media:070-1234-56.pdf|Tektronix XYZ Instruction Manual]]
}}
</pre>
|}
 
<code><nowiki>manufacturer=</nowiki></code> should be a page name, <code><nowiki>series=</nowiki></code> should be a page name (of the series or model this plug-in is compatible with), <code><nowiki>designers=</nowiki></code> a semicolon-delimited list of page names.
 
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;">
{| border="0" cellpadding="2" cellspacing="0"
{| border="0" cellpadding="2" cellspacing="0"
|-
|-
Line 21: Line 63:
|-
|-
|
|
<center>'''{{{summary}}}'''</center>
<center><span style="text-transform:capitalize;font-weight:bold;">{{{summary}}}</span></center>
[[Image:{{{image}}}|thumb|center|220px|{{{caption}}}]]
[[Image:{{{image}}}|thumb|center|250px|{{{caption}}}]]
<center>
<center>
'''Compatible with {{{series}}}'''
'''Compatible with [[{{{series}}}]]'''


'''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;">
<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%;">
</div><div style="padding-left: 1em;">
{{{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}}}]]
|}
|}
{{#cargo_store:_table=Products
</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;[[#Key_Specifications|Specifications]]&nbsp;&ndash;&nbsp;[[#Links|Links]]&nbsp;&ndash;&nbsp;[[#Pictures|Pictures]]</div>
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Products
|Manufacturer={{{manufacturer|}}}
|Manufacturer={{{manufacturer|}}}
|Type={{{type|}}}
|Model={{{type|}}}
|Class=Plug-in
|Class=Plug-in
|Description={{{summary|}}}
|Description={{{summary|}}}
Line 42: Line 87:
|Introduced={{{introduced|}}}
|Introduced={{{introduced|}}}
|Discontinued={{{discontinued|}}}
|Discontinued={{{discontinued|}}}
}}
|Designers={{{designers|}}}
__NOEDITSECTION__
}}}}__NOEDITSECTION__</includeonly>
</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:04, 13 October 2022

This is the "Plugin 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 is for generic plug-in modules. We have specialized templates Template:TM500 and Template:TM5000 for the respective plug-in series. Where applicable, please use these specialized templates instead.

This template should be invoked in the following format: Example:
{{Plugin Sidebar
|manufacturer=
|series=
|type=
|summary=
|image=
|caption=
|introduced=
|discontinued=
|designers=
|manuals=
}}
{{Plugin Sidebar
|manufacturer=Tektronix
|series=500-series scopes
|type=XYZ
|summary=Amplifier
|image=Picture of XYZ Plugin.jpg
|caption=Description of the above picture
|introduced=1966
|discontinued=(?)
|designers=John Doe;Jane Doe
|manuals=
* [[Media:070-1234-56.pdf|Tektronix XYZ Instruction Manual]]
}}

manufacturer= should be a page name, series= should be a page name (of the series or model this plug-in is compatible with), 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=(?).

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.