Template:PornBaseData Infobox/core: Difference between revisions

no edit summary
[checked revision][checked revision]
No edit summary
No edit summary
 
'''[https://data.pbcxxx.org/wiki/Special:NewItem?site=pbc&page={{urlencode:{{FULLPAGENAME}} | WIKI}}&label={{urlencode:{{PAGENAME}}}} {{PornBaseData Infobox/i18n/getMsg|newitem}}]'''</td></tr>}}<!--
 
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=P470}} | <div class="center">{{ImageNoteControl | caption=off | type=inline | img=[[File:{{#invoke:PornBaseDataIB | getValue | rank=best | P470 | name=P470 | qid={{{qid|}}} | spf={{{spf|}}} | fpbd={{{fpbd|ALL}}} | osd=no | noicon=yes | maxvals=1}} | {{{conf_imagewidth|200px}}}]]<div style="text-align: center;">{{#invoke:PornBaseDataIB |getValue | rank=best |P470 |name=P470 |qid={{{qid|}}} |fpbd={{{fpbd|ALL}}} |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|}}}}}
{{#invoke:PornBaseDataIB|checkvalue | val=Q24 | P1 | qid={{{qid|}}}}}||{{#ifeq:{{{embed|no}}}|no|[[Category:Uses of PornBaseData Infobox with no image]]}}}}}}}}<!--
 
collage image -->{{#if:{{#invoke:PornBaseData Infobox|checkProplist|fpbd={{{fpbd}}}|name=P524}} | <div class="center" style="text-align: center;">{{ImageNoteControl | caption=off | type=inline | img=[[File:{{#invoke:PornBaseDataIB | getValue | rank=best | P524 | name=P524 | qid={{{qid|}}} | spf={{{spf|}}} | fpbd={{{fpbd|ALL}}} | osd=no | noicon=yes | maxvals=1}} | 200px]]{{#invoke:PornBaseDataIB |getValue | rank=best |P524 |name=P524 |qid={{{qid|}}} |fpbd={{{fpbd|ALL}}} |osd=no |noicon=y |qual=P523 |qualsonly=yes | maxvals=1}}}}<span class="switcher-label" style="display:none; white-space:nowrap;">{{#invoke:PornBaseDataIB | getLabel | P524 }}</span></div>}}<!--