Difference between revisions of "Template:PageNameTemplate"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
{{#switch: test | Bar | | {{#switch: test | Bar | {{#len:{{{url}}} }} >0 = Foo | baz = Baz }} |
Revision as of 14:12, 1 July 2022
This template can be used as follows:
{{PageNameTemplate |qCode=Q[0-9]* |url={{{url}}} }}
[ PageNameTemplate]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
This expression is 1
- switch
default result