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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(photographs)
imported>BrownHairedGirl
(photographs)
Line 1: Line 1:
 
{{#if: {{{subject|}}}  
 
{{#if: {{{subject|}}}  
| <!-- we have a subject, so categorise by subject --> '''SUBJECT={{{subject|}}}''' [[Category:Wikipedia requested images of {{{subject|}}}]]<!--  
+
| <!-- we have a subject, so categorise by subject --> '''SUBJECT={{{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 images 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 --> '''NO SUBJECT''' }}  <!--  
 
-->{{#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 --> '''LOCATION={{{location|}}}''' [[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 images 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 --> '''NO LOCATION''' }}

Revision as of 15:06, 16 February 2017

NO SUBJECT NO LOCATION