Difference between revisions of "Template:How to request photo in/doc"

From blackwiki
Jump to navigation Jump to search
imported>Reubot
(→‎Usage: update doc)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 13: Line 13:
 
Once [[mw:Extension:StringFunctions]] is enabled on Wikipedia it will be possible to work out what country or region is being specified without using parameters, see [[Template talk:Howtoreqphotoin]]
 
Once [[mw:Extension:StringFunctions]] is enabled on Wikipedia it will be possible to work out what country or region is being specified without using parameters, see [[Template talk:Howtoreqphotoin]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Image request templates]]
 
[[Category:Image request templates]]
Line 19: Line 19:
  
 
[[sl:Predloga:Howtoreqphotoin]]
 
[[sl:Predloga:Howtoreqphotoin]]
</includeonly>
+
}}</includeonly>

Latest revision as of 17:00, 25 April 2020

Usage

This template is used to give a common text to all the regional subcategories Category:Wikipedia requested photographs of places. Just include {{Howtoreqphotoin|first parameter|second parameter}} at the top of the category page.

The first parameter is generally the full name for the region as is used to create category names e.g. "the United Kingdom".

The second parameter is optional and only needs to be put in if there is a shorter form that makes more sense in the main text e.g. "the United Kingdom-related" would sound much worse than "United Kingdom-related" so a second parameter is needed ("United Kingdom").

The third parameter is optional is an integer that will passed as the recursion level to Template:GeoGroup.

Once mw:Extension:StringFunctions is enabled on Wikipedia it will be possible to work out what country or region is being specified without using parameters, see Template talk:Howtoreqphotoin