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

From blackwiki
Jump to navigation Jump to search
imported>TheGrappler
(Better documentation of parameters)
imported>GregManninLB
Line 1: Line 1:
 +
{{Documentation subpage}}
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 +
 +
== Usage ==
 
This template is used to give a common text to all the regional subcategories [[:Category:Wikipedia requested photographs of places]]. Just include <nowiki>{{Howtoreqphotoin|first parameter|second parameter}}</nowiki> at the top of the category page.
 
This template is used to give a common text to all the regional subcategories [[:Category:Wikipedia requested photographs of places]]. Just include <nowiki>{{Howtoreqphotoin|first parameter|second parameter}}</nowiki> at the top of the category page.
  
Line 6: Line 10:
  
 
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>
 +
<!-- ADD CATEGORIES BELOW THIS LINE -->
 +
[[Category:Image request templates]]
 +
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 +
[[Category:WikiProject banners|{{PAGENAME}}]]
 +
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 +
 +
</includeonly>

Revision as of 21:03, 9 April 2008

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").

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