|
|
Line 1: |
Line 1: |
| <includeonly><!-- | | <noinclude>{{User:ZASNK/Signature/s}}</noinclude><!-- |
| -->{{#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>
| |