Template:Inventory: Difference between revisions

From stencil.wiki
No edit summary
m (Reverted edits by IssuePress (talk) to last revision by Robertbaxter)
Tag: Rollback
 
(5 intermediate revisions by 2 users not shown)
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><!--
<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><!--
--><includeonly><!--
--><includeonly><!--
-->{{#if:{{#show:{{PAGENAME}}|?Has ink#}}
-->{{#if:{{#show:{{PAGENAME}}|?Has ink#}}
     | {{Chip container
     | {{Chip container
         | {{#show:{{PAGENAME}}|?Has ink#}}
         | {{#show:{{PAGENAME}}|?Has ink#}}
         | template = Color chip
         | template = Ink chip
         | title = Available inks
         | title = Available inks
     }}
     }}

Latest revision as of 03:46, 19 December 2024

This is a semantic display template, it takes no properties of its own.

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.