Difference between revisions of "Template:TranslationsList"

From ChoralWiki
Jump to navigation Jump to search
(test with "Translations_by")
m (Text replacement - "Category:Templates]]" to "Category:DPL templates]] Category:Templates")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl:category=Translations_by_{{{1|{{{name|{{PAGENAME}}}}}}}}
+
<includeonly>{{#dpl:category=Translations with attribution
 +
|linksto={{{1|{{{name|{{PAGENAME}}}}}}}} translations
 
|columns={{{2|{{{cols|1}}}}}}
 
|columns={{{2|{{{cols|1}}}}}}
 
|titlemaxlength={{{3|{{{maxlen|100}}}}}}
 
|titlemaxlength={{{3|{{{maxlen|100}}}}}}
Line 6: Line 7:
 
|ordermethod=sortkey
 
|ordermethod=sortkey
 
|allowcachedresults=false
 
|allowcachedresults=false
|suppresserrors=true
+
|noresultsheader=&nbsp;
 
|listattr= style="font-style: italic;"}} [[Category:Translators]]</includeonly><noinclude><!--
 
|listattr= style="font-style: italic;"}} [[Category:Translators]]</includeonly><noinclude><!--
 
-->{{DisplayBox|bgcolor=g|text=
 
-->{{DisplayBox|bgcolor=g|text=
Line 19: Line 20:
  
 
}}
 
}}
 +
[[Category:DPL templates]]
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 04:39, 5 January 2020

Documentation

Displays a list of translations by a given translator. Only those works and text pages to which the template {{Translator}} has been applied will be listed.

Basic syntax
{{TranslationsList}}
Usage with optional parameters
{{TranslationsList|translator's_name|num_columns|max_title_length}}
Usage with named parameters (in any position)
{{TranslationsList|maxlen=max_title_length|cols=num_columns|name=lyricist_name}}