Difference between revisions of "Template:Cite tektronix catalog"

From Terminals
Jump to: navigation, search
m (remove comments)
m (update from sandbox)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>==Template==
 
<noinclude>==Template==
  
</noinclude><includeonly>{{#tag:ref
+
</noinclude><includeonly>{{#if:{{{year|}}}
   |{{#if:{{{page|}}}
+
   |{{#if:{{{accessdate|}}}
      |{{cite web
+
      |{{#if:{{{page|}}}
        | url=http://manx.classiccmp.org/collections/legalize/tektronix/catalog/Tektronix_Catalog_{{{year}}}.pdf
+
        |{{cite web
        | date={{{year}}}
+
            | url={{cite tektronix catalog/url|{{{year}}}}}/Tektronix_Catalog_{{{year}}}.pdf
        | title=Tektronix Catalog
+
            | date={{{year}}}
        | publisher=Tektronix
+
            | title=Tektronix Catalog
        | accessdate={{{accessdate}}}
+
            | publisher=Tektronix
        | page={{{page}}}
+
            | accessdate={{{accessdate}}}
        }}
+
            | page={{{page}}}
      |{{cite web
+
            }}
        | url=http://manx.classiccmp.org/collections/legalize/tektronix/catalog/Tektronix_Catalog_{{{year}}}.pdf
+
        |{{cite web
        | date={{{year}}}
+
            | url={{cite tektronix catalog/url|{{{year}}}}}/Tektronix_Catalog_{{{year}}}.pdf
        | title=Tektronix Catalog
+
            | date={{{year}}}
        | publisher=Tektronix
+
            | title=Tektronix Catalog
        | accessdate={{{accessdate}}}
+
            | publisher=Tektronix
        }}
+
            | accessdate={{{accessdate}}}
 +
            }}
 
       }}
 
       }}
   }}</includeonly><noinclude>
+
   |{{template error|Missing <code>accessdate</code> argument!}}
 +
  }}
 +
  |{{template error|Missing <code>year</code> argument!}}
 +
}}</includeonly><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:43, 22 April 2012

Template

[edit] [history] [purge] Documentation icon Template documentation

This template cites a Tektronix catalog that is available online at http://manx.classiccmp.org/collections/legalize/tektronix/catalog or http://bitsavers.org/pdf/tektronix/catalog, depending on the year.

Parameters

year
Required The year of the catalog.
accessdate
Required The date when the catalog was accessed from the web.
page
Optional. If specified, cite a particular page number in the catalog.