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