Jump to content

Template:WikiProject Biography and Template:WikiProject Biography/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
some code simplification, and allow living parameter to be migrated to banner shell
 
fix
 
Line 5: Line 5:
}}<!--
}}<!--


-->{{#invoke:WikiProject banner|main
-->{{#invoke:WikiProject banner/sandbox|main
|PROJECT = Biography
|PROJECT = Biography
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
Line 26: Line 26:
|image-needed={{{needs-photo|{{{needs-image|{{{image-needed|{{{photo-needed|{{{image-requested|}}}}}}}}}}}}}}}
|image-needed={{{needs-photo|{{{needs-image|{{{image-needed|{{{photo-needed|{{{image-requested|}}}}}}}}}}}}}}}
|IM_TOPIC_CATEGORY = Wikipedia requested photographs of people
|IM_TOPIC_CATEGORY = Wikipedia requested photographs of people
|note 1={{#if:{{{living|{{{blp|{{{BLP|}}}}}}}}}
|no
|{{#ifeq:{{pagetype}}|article
|{{#ifexpr:{{Find page text|text=living%s*=|plain=f}}
|no
|{{#ifexpr:{{Find page text|text=blp%s*=|plain=f}}
|no
|yes
}}
|no<!-- Do not categorise non-articles -->
}}
}}
}}
|NOTE_1_CAT = Biography articles without living parameter
|note 2={{{needs-infobox|}}}
|note 2={{{needs-infobox|}}}
|NOTE_2_TEXT = An appropriate [[Wikipedia:Manual of Style/Infoboxes|infobox]] may need to be added to this article. Please refer to the [[Wikipedia:WikiProject Biography/Infoboxes|list of biography infoboxes]] for further information.
|NOTE_2_TEXT = An appropriate [[Wikipedia:Manual of Style/Infoboxes|infobox]] may need to be added to this article. Please refer to the [[Wikipedia:WikiProject Biography/Infoboxes|list of biography infoboxes]] for further information.
Line 248: Line 234:
|tf 10 cat 1=yes
|tf 10 cat 1=yes
|TF_10_CAT_1 = Top-importance biography articles
|TF_10_CAT_1 = Top-importance biography articles
}}{{#ifeq:{{pagetype}}|article
|{{#ifexpr:{{#ifexpr:{{Find page text|text=living%s*=|plain=f}}
|1
|{{#ifexpr:{{Find page text|text=blp%s*=|plain=f}}
|1
|0
}}
}}
|{{#if:{{{living|{{{blp|{{{BLP|}}}}}}}}}
|<!--Parameter on banner and shell-->[[Category:Pages using WikiProject Biography with redundant living parameter]]
|<!--Parameter on shell but not banner, no action required-->
}}
|{{#if:{{{living|{{{blp|{{{BLP|}}}}}}}}}
|<!--Parameter on banner but and shell, needs transferring-->[[Category:Pages using WikiProject Biography which need living parameter transferring]]
|<!--No living parameter on shell or banner-->[[Category:Biography articles without living parameter]]
}}
}}
|<!-- Do not categorise non-articles -->
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}