Difference between revisions of "Template:DLLFileListCategory"

From RadiWiki
Jump to: navigation, search
 
Line 1: Line 1:
{{#ifeq:{{{{{#explode:{{{1}}}|;|0}}|xx}}}|xx|[[Category:{{#explode:{{{1}}}|;|0}}]]}}{{#ifeq:{{{{{#explode:{{{1}}}|;|1}}|xx}}}|xx|[[Category:{{#explode:{{{1}}}|;|1}}]]}}{{#ifeq:{{{{{#explode:{{{1}}}|;|2}}|xx}}}|xx|[[Category:{{#explode:{{{1}}}|;|2}}]]}}{{#ifeq:{{{{{#explode:{{{1}}}|;|3}}|xx}}}|xx|[[Category:{{#explode:{{{1}}}|;|3}}]]}}{{#ifeq:{{{{{#explode:{{{1}}}|;|4}}|xx}}}|xx|[[Category:{{#explode:{{{1}}}|;|4}}]]}}<noinclude>
+
<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>
 
Converts a ;-seperated list (with up to 5 items) of DLL File names into one or more category links.
 
Converts a ;-seperated list (with up to 5 items) 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.