Difference between revisions of "Template:PageNameTemplate"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
[{{# | [ | ||
{{#switch: {{#len:{{{url}}} }} | 0 = wikipedia:{{PAGENAME}} | {{{url}}} }} {{PAGENAME}} | |||
] | |||
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) |
Revision as of 13:35, 4 July 2022
This template can be used as follows:
{{PageNameTemplate |qCode=Q[0-9]* |url={{{url}}} }}
[
{{{url}}} PageNameTemplate
]
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])