Difference between revisions of "Template:Image requested/Category helper"
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 --> | + | | <!-- 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, so do nothing --> }} <!-- |
-->{{#if: {{{location|}}} | -->{{#if: {{{location|}}} | ||
| − | | <!-- we have a subject, so categorise by subject --> | + | | <!-- 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 subject, so do nothing --> }} |