Difference between revisions of "Template:PageNameTemplate"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
}}</nowiki> | }}</nowiki> | ||
</noinclude> | </noinclude> | ||
{{#ifexpr: {{#len:{{{url|}}} }} >0 | | {{#ifexpr: {{#len:{{{url|}}} }} >0 | | ||
[{{{url}}} {{PAGENAME}}]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) | [{{{url}}} {{PAGENAME}}]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) |
Revision as of 13:50, 17 June 2022
This template can be used as follows:
{{PageNameTemplate |qCode=Q[0-9]* |url={{{url}}} }}
{{#ifexpr: 0 >0 | [{{{url}}} PageNameTemplate]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])