Template:Plugin Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
(10 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>
{{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]] (PDF)
}}
}}
</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:
{{#cargo_attach:
_table = Products
_table = Products
}}
}}
</pre>
 
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"
Line 33: Line 71:
<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: 1em;">
</div><div style="padding-left: 1em;">
</div><div style="padding-left: 1em; font-size:90%;">
{{{manuals}}}
{{{manuals}}}
</div>[[Category:Introduced in {{{introduced}}}]]
</div>[[Category:Introduced in {{{introduced}}}]]
|}
|}
{{#cargo_store:_table=Products
{{#if:{{NAMESPACE}}||{{#cargo_store:_table=Products
|Manufacturer={{{manufacturer|}}}
|Manufacturer={{{manufacturer|}}}
|Model={{{type|}}}
|Model={{{type|}}}
Line 45: Line 83:
|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;[[#Key_Specifications|Specifications]]&nbsp;&ndash;&nbsp;[[#Links|Links]]&nbsp;&ndash;&nbsp;[[#Pictures|Pictures]]</div></includeonly>

Revision as of 01:08, 11 April 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]] (PDF)
}}

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.