Difference between revisions of "Template:PageNameTemplate"
Jump to navigation
Jump to search
(6 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
</noinclude> | </noinclude> | ||
{{#ifeq: | {{#ifeq: | ||
{{#len:{{{url|}}} }} | 0 | {{#len:{{{url|}}} }} | 0 | ||
| wikipedia:{{PAGENAME}} | | [[wikipedia:{{PAGENAME}}|{{PAGENAME}}]] | ||
| {{ | | [{{{url}}} {{PAGENAME}}] }} | ||
([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) | |||
| | |||
}} |
Latest revision as of 12:17, 9 July 2022
This template can be used as follows:
{{PageNameTemplate |qCode=Q[0-9]* |url={{{url}}} }}
PageNameTemplate ([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])