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