Difference between revisions of "Template:SMG2 Star Time"

From SDA Knowledge Base

Jump to: navigation, search
m (minor fix)
m (adding star)
Line 1: Line 1:
<noinclude>{|
+
<noinclude>{|</noinclude>
|</noinclude>{{#if:{{{video|}}}|[{{{video}}} {{{time}}}]|{{{time|}}}}} || {{#if:{{{runner|}}}|[http://www.youtube.com/user/{{{runner}}} {{{runner}}}]}} || {{#ifeq:{{{sda|}}}|yes|{{yes}}|{{no}}}}
+
|style="text-align:left;color:#AAAAAA;"| {{{star}}} || {{#if:{{{video|}}}|[{{{video}}} {{{time}}}]|{{{time|}}}}} || {{#if:{{{runner|}}}|[http://www.youtube.com/user/{{{runner}}} {{{runner}}}]}} || {{#ifeq:{{{sda|}}}|yes|{{yes}}|{{no}}}}
 
|-<noinclude>
 
|-<noinclude>
 
|}
 
|}
Line 7: Line 7:
  
 
;Parameter
 
;Parameter
 +
* <tt>star</tt>: Name of the star (i.e. "Peewee Piranha's Temper Tantrum")
 
* <tt>video</tt>: The URL to the YouTube video (i.e. "<nowiki>http://www.youtube.com/watch?v=3mvsLcRi1sc</nowiki>")
 
* <tt>video</tt>: The URL to the YouTube video (i.e. "<nowiki>http://www.youtube.com/watch?v=3mvsLcRi1sc</nowiki>")
 
* <tt>time</tt>: The time of the run (i.e. "1:44.65")
 
* <tt>time</tt>: The time of the run (i.e. "1:44.65")
Line 13: Line 14:
  
 
;Example
 
;Example
<pre>{{SMG2 Star Time|video=http://www.youtube.com/watch?v=3mvsLcRi1sc|time=1:44.65|runner=packattack04082|sda=yes}}</pre>
+
<pre>{{SMG2 Star Time|star=Peewee Piranha's Temper Tantrum|video=http://www.youtube.com/watch?v=3mvsLcRi1sc|time=1:44.65|runner=packattack04082|sda=yes}}</pre>
  
 
This results in:
 
This results in:
 
{| class="wikitable"
 
{| class="wikitable"
| {{SMG2 Star Time|video=http://www.youtube.com/watch?v=3mvsLcRi1sc|time=1:44.65|runner=packattack04082|sda=yes}}
+
| {{SMG2 Star Time|star=Peewee Piranha's Temper Tantrum|video=http://www.youtube.com/watch?v=3mvsLcRi1sc|time=1:44.65|runner=packattack04082|sda=yes}}
 
|}
 
|}
 
[[Category:Game templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Game templates|{{PAGENAME}}]]</noinclude>

Revision as of 17:49, 26 June 2010

{{{star}}} No

Template for adding star times to Super Mario Galaxy 2/Star Times. All parameters are optional.

Parameter
  • star: Name of the star (i.e. "Peewee Piranha's Temper Tantrum")
  • video: The URL to the YouTube video (i.e. "http://www.youtube.com/watch?v=3mvsLcRi1sc")
  • time: The time of the run (i.e. "1:44.65")
  • runner: The runner's YouTube name (i.e. "packattack04082")
  • sda: Whether the run is SDA ready or not. Use "yes" or "no".
Example
{{SMG2 Star Time|star=Peewee Piranha's Temper Tantrum|video=http://www.youtube.com/watch?v=3mvsLcRi1sc|time=1:44.65|runner=packattack04082|sda=yes}}

This results in:

Peewee Piranha's Temper Tantrum 1:44.65 packattack04082 Yes
Personal tools