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
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}}}|;|[[Category:{{{2}}}]]{{#if:{{{3|}}}|{{{3|}}}}}|array2={{#if:{{{array2|}}}|{{{array2|}}}}}}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>

Revision as of 13:32, 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

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

Example

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