Difference between revisions of "Template:Categorize-image"

From Second Life Wiki
Jump to navigation Jump to search
(/me crosses fingers)
 
m (added cat)
 
Line 17: Line 17:
* <nowiki>{{categorize-image|| of Second Life Volunteers}}</nowiki> produces the necessary code to list an article under [[:Category:Images of Second Life Volunteers]]
* <nowiki>{{categorize-image|| of Second Life Volunteers}}</nowiki> produces the necessary code to list an article under [[:Category:Images of Second Life Volunteers]]
* <nowiki>{{categorize-image|| of Lindens}}</nowiki> produces the necessary code to list an article under [[:Category:Images of Lindens]]
* <nowiki>{{categorize-image|| of Lindens}}</nowiki> produces the necessary code to list an article under [[:Category:Images of Lindens]]
[[Category:Images| ]]
</noinclude>
</noinclude>

Latest revision as of 07:43, 19 October 2007

Usage Guide

This template takes two arguments; a prefix and a suffix:

  • {{categorize-image|foo|bar}} produces the necessary code to list an article under Category:fooImagesbar
  • {{categorize-image|foo}} produces the necessary code to list an article under Category:fooImages
  • {{categorize-image||bar}} produces the necessary code to list an article under Category:Imagesbar

You can see from the above examples that the template doesn't add in spaces, so you would need to add the spaces to the parameters yourself:

  • {{categorize-image|foo | bar}} produces the necessary code to list an article under Category:foo Images bar
  • {{categorize-image|foo }} produces the necessary code to list an article under Category:foo Images
  • {{categorize-image|| bar}} produces the necessary code to list an article under Category:Images bar

Practical Examples