Template:Inventory: Difference between revisions

From stencil.wiki
(Created page with "<noinclude>This template displays any associated ink or machine data stored in the page it is transcluded into as Chip containers. The data must be stored as semantic properties {{code|Has ink}} or {{code|Has machine}}.</noinclude><includeonly></includeonly>")
 
m (Reverted edits by IssuePress (talk) to last revision by Robertbaxter)
Tag: Rollback
 
(14 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 [[Chip container]]s. The data must be stored as semantic properties {{code|Has ink}} or {{code|Has machine}}.</noinclude><includeonly></includeonly>
<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><!--
-->{{#if:{{#show:{{PAGENAME}}|?Has ink#}}
    | {{Chip container
        | {{#show:{{PAGENAME}}|?Has ink#}}
        | template = Ink chip
        | title = Available inks
    }}
}}<!--
-->{{#if:{{#show:{{PAGENAME}}|?Has machine#}}
    | {{Chip container
        | {{#show:{{PAGENAME}}|?Has machine#}}
        | template = Machine chip
        | title = Machines
    }}
}}<!--
--></includeonly>

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.