Template:PornBaseData Infobox/core: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
PeaceDeadC (talk | contribs) No edit summary |
PeaceDeadC (talk | contribs) Undo revision 1718 by PeaceDeadC (talk) Tag: Undo |
||
Line 58:
description and image --><tr><td colspan=2 style="text-align: center;" class="pbdinfo_nomobile"><div style="text-align: center;">{{#invoke:PornBaseDataIB | getDescription | pornbasedata | qid={{{qid|}}}}}</div><!--
--><div class="switcher-container">{{#if:{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=
Only show the switching labels if we also have other images to show-->{{#if:{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P524}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P525}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P526}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P527}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P528}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P529}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P532}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P533}}|<span class="switcher-label" style="display:none">{{#invoke:PornBaseDataIB | getLabel | P470 }}</span>}}</div> | {{#ifeq:{{{trackingcats | yes}}} | yes | <!--
avoid P1=Q1060 (family name), Q1061 (given name), Q220 (disambig), Q24 (Wikimedia-category), Q12308941 (male given name), Q11879590 (female given name), Q3409032 (unisex given name) -->
{{#if:{{#invoke:PornBaseDataIB|checkvalue | val=Q220 | P1 | qid={{{qid|}}}}}{{#invoke:PornBaseDataIB|checkvalue | val=Q1060 | P1 | qid={{{qid|}}}}}{{#invoke:PornBaseDataIB|checkvalue | val=Q1061 | P1 | qid={{{qid|}}}}}
| |||