Difference between revisions of "Template:PageNameTemplate"

From PKC
Jump to navigation Jump to search
Line 9: Line 9:




[[{{#if:  {{#len:{{{url}}} }} >0 | {{{url}}} | wikipedia:{{PAGENAME}}}}]]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
[[{{#if:  {{#len:{{{url}}} }} >0 | {{{url}}} | wikipedia:{{PAGENAME}}}} |{{PAGENAME}} ]] ([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])

Revision as of 02:34, 2 July 2022

This template can be used as follows:

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



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