(create for use in queries) |
(shorten) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--> | -->{{#if: {{filepath:{{{filename|}}}}}<!-- Check for filename | ||
-->|[{{filepath:{{{filename|}}}}} {{#tag:nowiki|{{{id|}}}{{#ifeq:{{{title|}}}|{{{id|}}}|||{{{title|}}}}}}}]<!-- Visible file link | |||
-->|{{#tag:nowiki|{{{id|}}}{{#ifeq:{{{title|}}}|{{{id|}}}|||{{{title|}}}}}}}<!-- No filename, title only | |||
-->|{{#tag:nowiki|{{{ | |||
-->}}<!-- End filename check | -->}}<!-- End filename check | ||
--> – <!-- sep between listen link and label | --> – <!-- sep between listen link and label | ||
-->{{#if:{{{label|}}}<!-- Check for label | -->{{#if:{{{label|}}}<!-- Check for label | ||
-->|({{{label}}})<!-- Add label in parentheses | -->| {{#ifeq:{{{label}}}|{{{id|}}}||({{{label}}})}}<!-- Add label in parentheses, only if it does not match id | ||
-->}}<!-- End label check | -->}}<!-- End label check | ||
--> <!-- Space between label and author | --> <!-- Space between label and author | ||
Line 17: | Line 12: | ||
-->by {{{author}}}<!-- | -->by {{{author}}}<!-- | ||
-->}}<!-- End author check | -->}}<!-- End author check | ||
--></includeonly><noinclude> | --></includeonly><noinclude>{{documentation}} | ||
{{ | |||
</noinclude> | </noinclude> |
Latest revision as of 11:47, 16 July 2024
Documentation (for the above template, sometimes hidden or invisible)