Template:PornBaseData entity link: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
PeaceDeadC (talk | contribs) (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>(...") |
PeaceDeadC (talk | contribs) 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: |
| 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: |
| #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: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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
iterm or property number | 1 | The letter P is required when linking to properties. The letter Q is optional when linking to items.
| Line | suggested |