Difference between revisions of "Template:PageNameTemplate"

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


[[
[[
{{#switch: {{{url}}} | 0 = wikipedia:{{PAGENAME}} | {{{url}}} }}  {{PAGENAME}}
{{#switch: {{{url}}} | wikipedia:{{PAGENAME}} | {{{url}}} }}  {{PAGENAME}}
]]
]]
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])

Revision as of 13:38, 4 July 2022

This template can be used as follows:

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


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