Difference between revisions of "Template:PageNameTemplate"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
[[ | [[ | ||
{{#switch: {{{url}}} | | {{#switch: {{#len:{{{url}}} }} | {{{url}}} | wikipedia:{{PAGENAME}} }} {{PAGENAME}} | ||
]] | ]] | ||
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) | ([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) |
Revision as of 01:42, 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}}}]])