Template:Instrument Sidebar: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude><pre>{{Instrument Sidebar |
<noinclude>
manufacturer={{{manufacturer}}} |
This is the "Instrument" template.
model={{{model}}} |
It should be called in the following format:
summary={{{summary}}} |
<pre>{{Instrument Sidebar  
image={{{image}}} |
|manufacturer=
caption={{{caption}}} |
|model=
introduced={{{introduced}}} |
|class=
discontinued={{{discontinued}}} |
|summary=
manuals={{{manuals}}}
|image=
|caption=
|introduced=
|discontinued=
|manuals=
}}
}}
</pre>
{{#cargo_attach:
{{#cargo_attach:
_table = Products
_table = Products
}}
}}
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
Line 34: Line 38:
<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>
<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>
{{#cargo_store:_table=Products
{{#cargo_store:_table=Products
|Manufacturer={{{Manufacturer|}}}
|Manufacturer={{{manufacturer|}}}
|Model={{{Model|}}}
|Model={{{model|}}}
|Class={{{Class|}}}
|Class={{{class|}}}
|Description={{{Description|}}}
|Description={{{summary|}}}
|Series={{{Series|}}}
|Series={{{series|}}}
|Affiliations={{{Affiliations|}}}
|Introduced={{{introduced|}}}
|Introduced={{{Introduced|}}}
|Discontinued={{{discontinued|}}}
|Discontinued={{{Discontinued|}}}
}}</includeonly>
}}</includeonly>

Revision as of 08:59, 8 August 2021

This is the "Instrument" template. It should be called in the following format:

{{Instrument Sidebar 
|manufacturer=
|model=
|class=
|summary=
|image=
|caption=
|introduced=
|discontinued=
|manuals=
}}

This template adds rows to the table "Products", which is declared by the template Product. View table. Edit the page to see the template text.