Difference between revisions of "Template:DLLFileListCategory"

From RadiWiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{{{#explode:{{{1}}}|;|0}}|x}}}|x|[[Category:{{#explode:{{{1}}}|;|0}}]]}}{{#ifeq:{{#explode:{{{1}}}|;|1}}||[[Category:{{#explode:{{{1}}}|;|1}}]]}}
+
<includeonly>{{#ifeq:{{#len:{{#explode:{{{1}}}|;|0}}}}|0||[[Category:{{#explode:{{{1}}}|;|0}}]]}}{{#ifeq:{{#len:{{#explode:{{{1}}}|;|1}}}}|0||[[Category:{{#explode:{{{1}}}|;|1}}]]}}{{#ifeq:{{#len:{{#explode:{{{1}}}|;|2}}}}|0||[[Category:{{#explode:{{{1}}}|;|2}}]]}}{{#ifeq:{{#len:{{#explode:{{{1}}}|;|3}}}}|0||[[Category:{{#explode:{{{1}}}|;|3}}]]}}{{#ifeq:{{#len:{{#explode:{{{1}}}|;|4}}}}|0||[[Category:{{#explode:{{{1}}}|;|4}}]]}}</includeonly><noinclude>
[[Category:{{{1}}}]]<noinclude>
+
Converts a ;-seperated list (with up to 5 items) of DLL File names into one or more category links.
Converts a ;-seperated list of DLL File names into one or more category links.
+
 
 +
Using the template as: <nowiki>{{DLLFileListCategory|A.DLL;B.DLL;C.DLL}}</nowiki>, will add the page to those categories.
 +
 
 +
{{DLLFileListCategory|A.DLL;B.DLL;C.DLL}}
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:22, 15 May 2020

Converts a ;-seperated list (with up to 5 items) of DLL File names into one or more category links.

Using the template as: {{DLLFileListCategory|A.DLL;B.DLL;C.DLL}}, will add the page to those categories.