Template:PornBaseData Infobox/core: Difference between revisions

Undo revision 1718 by PeaceDeadC (talk)
[checked revision][checked revision]
No edit summary
(Undo revision 1718 by PeaceDeadC (talk))
Tag: Undo
 
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=P524P470}} | <div class="center">{{#invoke:PornBaseDataImageNoteControl Infobox|checkProplist caption=off |fpbd type={{{fpbd}}}inline |name img=P525}}[[File:{{#invoke:PornBaseDataPornBaseDataIB Infobox|checkProplist getValue |fpbd rank={{{fpbd}}}best | P470 | name=P526}}{{#invoke:PornBaseDataP470 Infobox|checkProplist|fpbd qid={{{fpbdqid|}}} |name=P527}}{{#invoke:PornBaseData Infobox|checkProplist|fpbdspf={{{fpbdspf|}}} |name=P528}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd|ALL}}} |name osd=P529}}{{#invoke:PornBaseDatano Infobox|checkProplist|fpbd noicon={{{fpbd}}}yes |name maxvals=P5321}}{{#invoke:PornBaseData Infobox|checkProplist|fpbd= {{{fpbdconf_imagewidth|200px}}}|name=P533}}|]]<spandiv classstyle="switchertext-label"align: style="display:nonecenter;">{{#invoke:PornBaseDataIB |getValue getLabel| rank=best |P470 |name=P470 |qid={{{qid|}}</span>}}</div> | fpbd={{#ifeq:{{{trackingcats fpbd| yesALL}}} |osd=no |noicon=y |qual=P523 |qualsonly=yes | maxvals=1}}</div>}}<!--
 
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|}}}}}