|
|
(12 intermediate revisions by the same user not shown) |
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
| | {{#subobject:Road |
| -->[[:File:{{{filename}}}|{{#tag:nowiki|{{{title}}}}}<!--
| | |Badge/Name=Im just putting anything |
| -->{{#ifeq:{{{speed|}}}|100<!--
| | |Has subobject={{#subobject:User:Connection-Road-Dense Woods A |
| -->|<!--
| | |Connection/Origin=User:ZASNK/Test#Road |
| -->| <span style="font-size:85%">({{#if:{{{speed|}}}|{{{speed|}}}|??}}%)</span><!--
| | |Connection/Location=User:ZASNK/Test#Dense Woods A |
| -->}}<!--
| | }} |
| -->]]<!-- 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>
| |