Template:ROM Images: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
This is the '''ROM Images''' template.
It should be placed in an instrument sidebar, where it inserts a heading and a table that lists ROM images relevant for a specific instrument.
Call it as
<pre>
{{ROM Images}}
</pre>
Note: The table data comes from the ''Software'' [[special:CargoTables|CargoTable]]. To change the table data, please edit the respective file page.  To force the table to be updated, it may be necessary to [https://www.mediawiki.org/wiki/Manual:Purge purge the page cache] by appending ''?action=purge'' to the URL of the page that includes this template.
</noinclude><includeonly>
</div>
</div>
<div style="background-color:rgb(240,240,255); width: 100%; text-align:center;margin-top:6px;padding-bottom:3px;">
<div style="background-color:rgb(240,240,255); width: 100%; text-align:center;margin-top:6px;padding-bottom:3px;">
<span id="ROMs" style="font-size:110%; padding-top:6px;">'''ROM Images'''</span></div><div style="padding-left: 0.5em;font-size:90%;">
<span id="ROMs" style="font-size:110%; padding-top:6px;">'''ROM Images'''</span></div><div style="padding-left: 0.5em;font-size:90%;">
{{#cargo_query:tables=Software
|fields=_pageName=File,Identifier=Part Number,SubIdentifier=Location
|where=Class='ROM Image' and Used_in HOLDS '{{{1}}}'
|limit=200
|offset=0
|default=
}}</div> __NOEDITSECTION__
</includeonly>

Revision as of 04:05, 6 May 2024

This is the ROM Images template.

It should be placed in an instrument sidebar, where it inserts a heading and a table that lists ROM images relevant for a specific instrument.

Call it as

 {{ROM Images}}

Note: The table data comes from the Software CargoTable. To change the table data, please edit the respective file page. To force the table to be updated, it may be necessary to purge the page cache by appending ?action=purge to the URL of the page that includes this template.