Article templates: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(Created page with "TekWiki offers a number of '''Wiki templates''' that generate uniform information boxes, headlines, categories and the like. Here's how to use some of these. ==Oscilloscop...")
 
No edit summary
Line 16: Line 16:
   * [[Media:0970-9876-99.pdf|XYZ Operator's Manual]] (PDF, 5 MB)
   * [[Media:0970-9876-99.pdf|XYZ Operator's Manual]] (PDF, 5 MB)
</nowiki></code>
</nowiki></code>
The 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>.


Example:
Example:
Line 30: Line 32:
  manuals=
  manuals=
  * [[Media:070-1429-00.pdf|Tektronix 7603 Manual (PDF, 35 MB)]]
  * [[Media:070-1429-00.pdf|Tektronix 7603 Manual (PDF, 35 MB)]]
* ...
  }}</nowiki></code>
  }}</nowiki></code>
|
|
Line 36: Line 37:
|}
|}


==Plug-ins==
<code><nowiki>{{Plugin Sidebar 2 |
  title=Name of model  |
  summary=Short description of what it is |
  image=Photo of XYZ.jpg |
  caption=What exactly is shown in the photo |
  introduced=year the model was introduced |
  discontinued=last year the model was sold + 1 |
  series=link to the page describing the instrument(s) this plug-in fits |
  manuals=
  * [http://some.external.site XYZ Service Manual] (PDF, OCR, 13 MB)
  * [[Media:0970-9876-99.pdf|XYZ Operator's Manual]] (PDF, 5 MB)
</nowiki></code>
The 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>.
Example:
{|
|- valign="top"
|
<code><nowiki>{{Plugin Sidebar 2|
title=Tektronix 7A22 |
summary=1 MHz differential amplifier |
image=tek-7a22-front.jpg |
caption=7A22 front view |
introduced=1969 |
discontinued=1991 |
series=[[7000-series scopes]]|
manuals=
* [http://w140.com/smb/7a22_sm.pdf  Tektronix 7A22 Manual (OCR, PDF)]
}}</nowiki></code>
|
[[File:Plugin Sidebar Example.png|thumb|200px]]
|}




[[Category:TekWiki]]
[[Category:TekWiki]]

Revision as of 06:25, 7 December 2018

TekWiki offers a number of Wiki templates that generate uniform information boxes, headlines, categories and the like.

Here's how to use some of these.

Oscilloscopes and similar instruments

{{Oscilloscope Sidebar |
  title=Name of model  |
  summary=Short description of what it is |
  image=Photo of XYZ.jpg |
  caption=What exactly is shown in the photo |
  introduced=year the model was introduced |
  discontinued=last year the model was sold + 1 |
  manuals=
  * [http://some.external.site XYZ Service Manual] (PDF, OCR, 13 MB)
  * [[Media:0970-9876-99.pdf|XYZ Operator's Manual]] (PDF, 5 MB)

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

Example:

{{Oscilloscope Sidebar |
 title=Tektronix 7603 |
 summary=100 MHz non-storage mainframe |
 image=7603-4trace.jpg |
 caption=Tektronix 7603 |
 introduced=1973 |
 discontinued=1990 |
 manuals=
 * [[Media:070-1429-00.pdf|Tektronix 7603 Manual (PDF, 35 MB)]]
 }}


Plug-ins

{{Plugin Sidebar 2 |
  title=Name of model  |
  summary=Short description of what it is |
  image=Photo of XYZ.jpg |
  caption=What exactly is shown in the photo |
  introduced=year the model was introduced |
  discontinued=last year the model was sold + 1 |
  series=link to the page describing the instrument(s) this plug-in fits |
  manuals=
  * [http://some.external.site XYZ Service Manual] (PDF, OCR, 13 MB)
  * [[Media:0970-9876-99.pdf|XYZ Operator's Manual]] (PDF, 5 MB)

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

Example:

{{Plugin Sidebar 2|
 title=Tektronix 7A22 |
 summary=1 MHz differential amplifier |
 image=tek-7a22-front.jpg | 
 caption=7A22 front view | 
 introduced=1969 |
 discontinued=1991 |
 series=[[7000-series scopes]]|
 manuals=
 * [http://w140.com/smb/7a22_sm.pdf  Tektronix 7A22 Manual (OCR, PDF)]
}}