Template:Ink card: Difference between revisions

From stencil.wiki
m (IssuePress moved page Template:Color ramp to Template:Ink card)
No edit summary
 
Line 6: Line 6:
===Simple===
===Simple===
<pre>
<pre>
{{Color ramp|Burgundy}}
{{Ink card|Burgundy}}
</pre>
</pre>
{{Color ramp|Burgundy}}
{{Ink card|Burgundy}}


===Advanced===
===Advanced===
You can also use this template to pull in full categories of inks, such as all [[:Category:Riso inks|Riso inks]]:
You can also use this template to pull in full categories of inks, such as all Standard-series [[:Category:Riso inks|Riso inks]]:
<pre>
<pre>
{{#arraymaptemplate:{{#ask:[[Category:Riso_inks]]
{{#arraymaptemplate:{{#ask:[[Category:Riso_inks]]
  [[Has series::Standard]]
   |format=plainlist
   |format=plainlist
   |headers=hide
   |headers=hide
   |link=none
   |link=none
   |limit=100
   |limit=100
}}|Color ramp|,|}}
}}|Ink card|,|}}
</pre>
</pre>
{{#arraymaptemplate:{{#ask:[[Category:Riso_inks]]
{{#arraymaptemplate:{{#ask:[[Category:Riso_inks]]
  [[Has series::Standard]]
   |format=plainlist
   |format=plainlist
   |headers=hide
   |headers=hide
   |link=none
   |link=none
   |limit=100
   |limit=100
}}|Color ramp|,|}}
}}|Ink card|,|}}
</noinclude>
</noinclude>
<includeonly><div class="ink-card-wrapper" style="position:relative; margin-bottom: 1rem; background: #f8f9fa;border-radius:.75rem; overflow: hidden;border: 1px solid #F1F3F5;">
<includeonly><div class="ink-card-wrapper" style="position:relative; margin-bottom: 1rem; background: #f8f9fa;border-radius:.75rem; overflow: hidden;border: 1px solid #F1F3F5;">

Latest revision as of 15:38, 11 December 2024

A template for displaying inks as simple color ramps.

Usage

Simple

{{Ink card|Burgundy}}
75%
50%
25%


Advanced

You can also use this template to pull in full categories of inks, such as all Standard-series Riso inks:

{{#arraymaptemplate:{{#ask:[[Category:Riso_inks]]
  [[Has series::Standard]]
  |format=plainlist
  |headers=hide
  |link=none
  |limit=100
}}|Ink card|,|}}
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%
75%
50%
25%