Difference between revisions of "Template:PageNameTemplate"

From PKC
Jump to navigation Jump to search
Line 12: Line 12:
]]
]]
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
{{#switch: {{#ifeq: {{#len:{{{url}}} }} | 0 | equal | not equal}} | not equal = {{{url}}} | equal = wikipedia:{{PAGENAME}} }}

Revision as of 01:44, 7 July 2022

This template can be used as follows:

{{PageNameTemplate
 |qCode=Q[0-9]*
 |url={{{url}}}
 }}


[[ wikipedia:PageNameTemplate PageNameTemplate ]] ([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])


{{{url}}}