×
Create a new article
Write your page title here:
We currently have 3,031 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,031Articles

Template:BGMFileData: Difference between revisions

(properly check for empty values)
(use infoicon)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#set: Has BGM={{{title|}}};{{filepath:{{{filename}}}}};File:{{{filename}}};{{#rsplit:{{{#userinput}}}|;|0}};{{#invoke:SoundtrackTable|formatRecord|{{#rsplit:{{{#userinput}}}|;|1}}}};{{{speed|}}};{{{author|}}}}}<span tabindex="0" style="font-size:125%; line-height:1em;" title="{{#if:{{{author|}}}|By {{{author}}} –&#32;}}Plays at {{#if:{{{speed|}}}|{{{speed}}}%|unknown}} speed">🔊 </span>{{#if:{{{title|}}}|{{{title}}}|{{{filename}}}}}</includeonly><noinclude>
<includeonly>{{#set: Has BGM={{#if:{{#rsplit:{{{#userparam}}}|;|0}}|{{#rsplit:{{{#userparam}}}|;|0}}|{{{title}}}}};{{filepath:{{#rsplit:{{{#userparam}}}|;|1}}}};{{{filename}}};{{#rsplit:{{{#userparam}}}|;|2}};{{#invoke:SoundtrackTable|formatRecord|{{#rsplit:{{{#userparam}}}|;|3}}}};{{#if:{{{speed|}}}|{{{speed}}}|{{#rsplit:{{{#userparam}}}|;|4}}}};{{#if:{{{author|}}}|{{{author}}}|{{#rsplit:{{{#userparam}}}|;|5}}}}}}<span tabindex="0" class="infoicon" title="{{#if:{{#if:{{{author|}}}|{{{author}}}|{{#rsplit:{{{#userparam}}}|;|5}}}}|By {{#if:{{{author|}}}|{{{author}}}|{{#rsplit:{{{#userparam}}}|;|5}}}} –&#32;}}Plays at {{#if:{{#if:{{{speed|}}}|{{{speed}}}|{{#rsplit:{{{#userparam}}}|;|4}}}}|{{#if:{{{speed|}}}|{{{speed}}}|{{#rsplit:{{{#userparam}}}|;|4}}}}%|unknown}} speed">🔊 </span>[[:{{{filename}}}|{{#if:{{#rsplit:{{{#userparam}}}|;|0}}|{{#rsplit:{{{#userparam}}}|;|0}}|{{{title}}}}}]]</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 20:10, 6 October 2024

Documentation (for the above template, sometimes hidden or invisible)