m (test records again) |
(comparing an old revision of BGM to a new one) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | |||
-->{{#if:{{{title|}}}<!-- Check for title | |||
-->| {{#if:{{{filename|}}}<!-- Check for filename | |||
-->| {{#set: Has BGM={{{title}}};{{filepath:{{{filename}}}}};File:{{{filename}}};{{{label|}}};{{#invoke:SoundtrackTable|formatRecord|{{{soundroom|}}}}};{{{speed|}}};{{{author|}}} }}<!-- Create record | |||
-->[[:File:{{{filename}}}|{{#tag:nowiki|{{{title}}}}}<!-- | |||
-->{{#ifeq:{{{speed|}}}|100<!-- | |||
-->|<!-- | |||
-->| <span style="font-size:85%">({{#if:{{{speed|}}}|{{{speed|}}}|??}}%)</span><!-- | |||
-->}}<!-- | |||
-->]]<!-- Visible file link | |||
-->|{{{title}}}<!-- No filename, title is still shown | |||
-->{{#ifeq:{{{speed|100}}}|100|<!-- | |||
-->| <span style="font-size:85%">({{#if:{{{speed|}}}|{{{speed|}}}|??}}%)</span><!-- | |||
-->}}<!-- | |||
-->}}<!-- End filename check | |||
-->{{#if:{{{soundroom|}}}<!-- Soundroom number check | |||
-->| <span style="white-space:nowrap;">(No. <!-- Beginning part | |||
-->{{#arraymap:{{{soundroom|}}}|,|x|x|,\s|and}}<!-- List of numbers | |||
-->)</span><!-- end part | |||
-->}}<!-- End soundroom check | |||
-->{{#if:{{{author|}}}<!-- Check for author | |||
-->| by {{{author}}}<!-- | |||
-->}}<!-- End author check | |||
-->{{#if:{{{label|}}}<!-- Check for label | |||
-->|<nowiki />: {{{label}}}<!-- Add label | |||
-->}}<!-- End label check | |||
-->|Please specify the BGM's title.<!-- If no title, output error | |||
-->}}<!-- End title check | |||
-->{{#ifexpr: {{NAMESPACENUMBER}} = 3018<!-- Limit to CoUn | |||
-->| {{#if: {{{author|}}}<!-- Check if author has any value | |||
-->|<!-- | |||
-->|[[Category:Missing BGM author]]<!-- If empty add category | |||
-->}}<!-- End author check | |||
-->}}<!-- End namespace check | |||
--><br></includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> |
Revision as of 23:56, 3 August 2024
Documentation (for the above template, sometimes hidden or invisible)