Difference between revisions of "Template:Documentation/4.0/module-footer"
From Slicer Wiki
Line 1: | Line 1: | ||
<includeonly>[[Category:Documentation/{{documentation/version}}/Modules|{{PAGENAME}}]] | <includeonly>[[Category:Documentation/{{documentation/version}}/Modules|{{PAGENAME}}]] | ||
+ | <!-- The following category will be 'MainCategory' assuming category parameter was 'MainCategory.SubCategory'--> | ||
+ | [[Category:Documentation/{{documentation/version}}/Modules/{{Strloc_prefix|{{{category}}}|strloc= {{strfind_short|{{{category}}}|.|1|lenstr={{strlen_quick|{{{category}}}}}|}}-1}}|{{PAGENAME}}]] | ||
[[Category:Documentation/{{documentation/version}}/Modules/{{{category}}}|{{PAGENAME}}]]</includeonly><noinclude> | [[Category:Documentation/{{documentation/version}}/Modules/{{{category}}}|{{PAGENAME}}]]</includeonly><noinclude> | ||
Line 7: | Line 9: | ||
<!-- To avoid the template to be listed in the different categories, no example is added ! --> | <!-- To avoid the template to be listed in the different categories, no example is added ! --> | ||
− | |||
− | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 06:35, 25 August 2011
Home < Template:Documentation < 4.0 < module-footer
Usage
{{documentation/{{documentation/version}}/module-footer|category=Example}}