Template:PornBaseData entity link: Difference between revisions

From Porn Base Central
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page with "<includeonly>{{#if: {{{1|}}} | {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}} | Q | P = pbd:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:pbd|label|{{{1}}}}} <small>(...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}
<includeonly>{{#if: {{{1|}}}
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}}
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}}
| Q | P = [[pbd:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:pbd|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]]
| Q | P = [[pbd:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:PBD|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]]
| #default = [[pbd:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:pbd|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
| #default = [[pbd:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:PBD|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
}}
}}
| {{#if:{{#invoke:pbd|label|raw}}
| {{#if:{{#invoke:pbd|label|raw}}
| [[pbd:Special:EntityPage/{{#invoke:pbd|label|raw}}|{{#invoke:pbd|label}} <small>({{#invoke:pbd|label|raw}})</small>]]
| [[pbd:Special:EntityPage/{{#invoke:PBD|label|raw}}|{{#invoke:PBD|label}} <small>({{#invoke:PBD|label|raw}})</small>]]
| <small>(no entity)</small>
| <small>(no entity)</small>
}}
}}

Latest revision as of 01:21, 22 August 2020

Documentation

Usage examples

Standard usage
{{PornBaseData entity link}} ()
{{PornBaseData entity link|1}} (Q1)
{{PornBaseData entity link|Q1}} (Q1)
{{PornBaseData entity link|P681}}Goodreads version/edition ID (P681)
Leading/trailing white space
{{PornBaseData entity link | 1 }} (Q1)
{{PornBaseData entity link | Q1 }} (Q1)
{{PornBaseData entity link | P681 }}Goodreads version/edition ID (P681)
Lower case
{{PornBaseData entity link | q1 }} (q1)
{{PornBaseData entity link | p681 }}Goodreads version/edition ID (p681)
Template shortcuts
{{q|1}}Template:Q
{{wde|Q1}}Template:Pbd
{{wdq|P681}}Template:Pbdq

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
iterm or property number1

The letter P is required when linking to properties. The letter Q is optional when linking to items.

Example
Q42, 42, P23
Linesuggested