Template:Inventory: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| <noinclude> | <noinclude>{{Semantic display template}} | ||
| 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>Has ink</code> or <code>Has machine</code>.</noinclude><!-- | |||
| </noinclude><!-- | |||
| --><includeonly><!-- | --><includeonly><!-- | ||
| -->{{#if:{{{ | -->{{#if:{{#show:{{PAGENAME}}|?Has ink#}} | ||
|      | {{Chip container |      | {{Chip container | ||
|          | {{{ |          | {{#show:{{PAGENAME}}|?Has ink#}} | ||
|          | template =  |          | template = Ink chip | ||
|          | title =  |          | title = Ink colors | ||
|      }} |      }} | ||
| }}<!-- | }}<!-- | ||
| -->{{#if:{{{ | -->{{#if:{{#show:{{PAGENAME}}|?Has machine#}} | ||
|      | {{Chip container |      | {{Chip container | ||
|          | {{{ |          | {{#show:{{PAGENAME}}|?Has machine#}} | ||
|          | template = Machine chip |          | template = Machine chip | ||
|          | title = Machines |          | title = Machines | ||
Latest revision as of 14:51, 7 October 2025
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 Has ink or Has machine.