Difference between revisions of "Template:Image requested/Category helper"
Jump to navigation
Jump to search
imported>BrownHairedGirl (graffiti) |
imported>BrownHairedGirl m (typos) |
||
| Line 2: | Line 2: | ||
| <!-- we have a subject, so categorise by subject --> '''SUBJECT={{{subject|}}}''' [[Category:Wikipedia requested photographs 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 photographs of {{{subject|}}} | + | -->{{#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 photographs in {{{location|}}} | + | -->{{#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:10, 16 February 2017
NO SUBJECT NO LOCATION ######