Template:ROM Images: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
<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%;">
{| class="wikitable sortable"
|-
! File
! Year
! Page
|-
{{#cargo_query:tables=Software
{{#cargo_query:tables=Software
|fields=_pageName=File,Identifier=Part Number,SubIdentifier=Location
|fields=_pageName=File,Identifier=Part Number,SubIdentifier=Location
|where=Class='ROM Image' and Used_in HOLDS '{{{1}}}'
|where=Class='ROM Image' and Links HOLDS '{{{1}}}'
|limit=200
|limit=200
|offset=0
|offset=0
|format=template
|template=ROMDisplay
|named args=yes
|default=
|default=
}}</div> __NOEDITSECTION__
}}</div> __NOEDITSECTION__
</includeonly>
</includeonly>

Revision as of 03:12, 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.