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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
m (typos)
imported>BrownHairedGirl
(remove diagnostic messages)
Line 1: Line 1:
 
{{#if: {{{subject|}}}  
 
{{#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 photographs 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 photographs 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 photographs of {{{subject|}}} | <!-- exists, so do nothing --> | [[Category:Wikipedia requested photographs 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 --> }}

Revision as of 15:14, 16 February 2017