Template:Infobox person: Difference between revisions

From Alathra Wiki
Content added Content deleted
(add an optional parameter to prevent {{Wikidata image}} from adding an article to Category:No local image but image on Wikidata, tested with /sandbox and Haider Ackermann article)
(Add tracking category for infoboxes with an image that can be imported to Wikidata per edit request. Tested in sandbox on Bhante Vimalaramsi and Ndaté Yalla Mbodj.)
Line 224: Line 224:
-->{{#if:{{{denomination|}}}|[[Category:Infobox person using denomination]]}}<!--
-->{{#if:{{{denomination|}}}|[[Category:Infobox person using denomination]]}}<!--
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!--
-->{{#if:{{{image|}}}|{{#if:{{#property:P18}}||[[Category:Pages to import images to Wikidata]]}}}}[[Category:Articles with hCards]]
}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Revision as of 21:14, 25 March 2017

Infobox person