Difference between revisions of "Template:Image requested/Category helper"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(photographs)
imported>Vanamonde93
(Adding {{pp-template}} (TW))
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{subject|}}}  
+
<noinclude>{{pp-template|small=yes}}</noinclude>{{#if: {{{subject|}}}  
| <!-- we have a subject, so categorise by subject --> '''SUBJECT={{{subject|}}}''' [[Category:Wikipedia requested photographs of {{{subject|}}}]]<!--  
+
| <!-- we have a subject, so categorise by subject --> [[Category:Wikipedia requested images of {{{subject|}}}]]<!--  
  # If this is a red-linked category, the add to Cat:Wikipedia requested photographs in non-existent subject categories‎
+
  # If this is a red-linked category, the add to Cat:Wikipedia requested images in non-existent subject categories‎
  -->{{#ifexist: Category:Wikipedia requested photographs of {{{subject|}}}] | <!-- exists, so do nothing --> | [[Category:Wikipedia requested photographs in non-existent subject categories‎]]}}
+
  -->{{#ifexist: Category:Wikipedia requested images of {{{subject|}}} | <!-- exists, so do nothing --> | [[Category:Wikipedia requested images in non-existent subject categories‎]]}}
| <!-- no subject, so do nothing --> '''NO SUBJECT''' }}  <!--  
+
| <!-- no subject, so do nothing --> }}  <!--  
 
-->{{#if: {{{location|}}}  
 
-->{{#if: {{{location|}}}  
| <!-- we have a subject, so categorise by subject --> '''LOCATION={{{location|}}}''' [[Category:Wikipedia requested photographs in {{{location|}}}]]<!--  
+
| <!-- we have a subject, so categorise by subject --> [[Category:Wikipedia requested photographs in {{{location|}}}]]<!--  
 
  # If this is a red-linked category, the add to Cat:Wikipedia requested photographs in non-existent location categories‎
 
  # If this is a red-linked category, the add to Cat:Wikipedia requested photographs in non-existent location categories‎
  -->{{#ifexist: Category:Wikipedia requested photographs in {{{location|}}}] | <!-- exists, so do nothing --> | [[Category:Wikipedia requested photographs in non-existent location categories‎]]}}
+
  -->{{#ifexist: Category:Wikipedia requested photographs in {{{location|}}} | <!-- exists, so do nothing --> | [[Category:Wikipedia requested photographs in non-existent location categories‎]]}}
| <!-- no subject, so do nothing --> '''NO LOCATION''' }}
+
| <!-- no subject, so do nothing --> }}<noinclude>[[Category:Templates that add a tracking category]]</noinclude>

Latest revision as of 09:44, 25 April 2017