Template:Inventory: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 1: | Line 1: | ||
| <noinclude>This template displays any associated ink or machine data stored in the page it is transcluded into as [[Template:Chip container]]s. The data must be stored as semantic properties {{code|inline=y|Has ink}} or {{code|inline=y|Has machine}}.</noinclude><includeonly></includeonly> | <noinclude>This template displays any associated ink or machine data stored in the page it is transcluded into as [[Template:Chip container]]s. The data must be stored as semantic properties {{code|inline=y|Has ink}} or {{code|inline=y|Has machine}}.</noinclude><!-- | ||
| --><includeonly> | |||
| {{#show:Colour Code Printing|?Has ink}} | |||
| {{#if:{{{inks|}}} | |||
|     | {{Chip container | |||
|         | {{{inks}}} | |||
|         | template = Color chip | |||
|         | title = Available Inks | |||
|     }} | |||
| }}<!-- | |||
| -->{{#if:{{{machines|}}} | |||
|     | {{Chip container | |||
|         | {{{machines}}} | |||
|         | template = Machine chip | |||
|         | title = Machines | |||
|     }} | |||
| }}<!-- | |||
| --></includeonly> | |||
Revision as of 16:06, 8 December 2024
This template displays any associated ink or machine data stored in the page it is transcluded into as Template:Chip containers. The data must be stored as semantic properties Template:Code or Template:Code.