Jump to content

Template:Cat List: Difference between revisions

From The Petit Planet Wiki
ReisuDesign (talk | contribs)
No edit summary
ReisuDesign (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{Array|{{{1}}}|;|[[Category:{{{2}}}]]{{#if:{{{3|}}}|{{{3}}}}}|array2={{#if:{{{array2|}}}|{{{array2}}}}}}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>
<includeonly>{{Array|1={{{1}}}|2=;|3=[[Category:{{{2}}}]]{{#if:{{{3|}}}|{{{3|}}}}}|array2={{#if:{{{array2|}}}|{{{array2|}}}}}}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>

Latest revision as of 13:33, 27 August 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

Template for creation of List of Categories

Syntax

[edit source]

{{Cat List|Categories|Array format|ifs within the array}}

Example

[edit source]
{{Cat List|{{{tags}}}|{item} Clothing|{{#if:{{{category|}}}|[[Category:{item} {{{category}}}]]}}{{#if:{{{type|}}}|[[Category:{item} {{{type}}}]]}}}}