Difference between revisions of "User:Subfader/Examples"

From FollowTheScore
Jump to: navigation, search
Line 1: Line 1:
 
=Gallery of images in a cetagory=
 
=Gallery of images in a cetagory=
This returns a gallery for images in a certain category with a focus on their usage.
+
This returns a gallery for images in a certain category with a focus on their usage on articles.
  
  
Line 17: Line 17:
 
¦²{#ifexpr:²{User:Subfader/Examples/Images used/Template/Res¦%PAGE%}² = 1
 
¦²{#ifexpr:²{User:Subfader/Examples/Images used/Template/Res¦%PAGE%}² = 1
 
¦²{User:Subfader/Examples/Images used/Template¦%PAGE%}²
 
¦²{User:Subfader/Examples/Images used/Template¦%PAGE%}²
¦([[:%PAGE%#filelinks|²{User:Subfader/Examples/Images used/Template/Res¦%PAGE%}² pages use this image.]])
+
¦([[:%PAGE%#filelinks|²{User:Subfader/Examples/Images used/Template/Res¦%PAGE%}² articles use this image.]])
 
}²}²,,\n«/gallery»
 
}²}²,,\n«/gallery»
 
}}
 
}}

Revision as of 20:10, 5 July 2009

Gallery of images in a cetagory

This returns a gallery for images in a certain category with a focus on their usage on articles.


Version 1 (Returning a page link only if there's one page using the image)



There are 4 images in this category.



Version 2 (Returning all links to the pages that use image)



There are 4 images in this category.