Template:Frames: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Added plural.)
(European P1 conversion.)
Line 1: Line 1:
<includeonly>{{tt|{{{1}}}|{{#expr:{{{1}}} / {{{2}}}}} second{{#ifeq:{{#expr:{{{1}}}/{{{2}}}}}|1||s}}, at {{{2}}} frames per second.}}</includeonly><noinclude>
<includeonly>{{tt|{{{1}}}|{{#expr:{{{1}}} / 30}} second{{#ifeq:{{#expr:{{{1}}}/30}}|1||s}} (at 30 frames per second).{{#if:{{{2|}}}|&nbsp;{{#expr:{{{1}}}/25}} second{{#ifeq:{{#expr:{{{1}}}/25}}|1||s}} in the European version of Pikmin (25 frames per second).}}}}</includeonly><noinclude>


==Info==
==Info==
This template is to be used whenever frames are being used. This provides a tooltip with a conversion to seconds.
This template is to be used whenever an amount of frames is being written. This provides a tooltip with a conversion to seconds.


The first parameter is the number to be displayed &ndash; the number of frames. The second parameter is the framerate. ''Pikmin'' and ''Pikmin 2'' run at 30 FPS, regardless of region or settings.
The first parameter is the number to be displayed &ndash; the number of frames. The conversion happens to 30 FPS (frames per second), but if the second parameter exists, it'll also convert to 25 FPS, which is the framerate on the European [[region|version]] of ''[[Pikmin (game)|Pikmin]]''. Besides that, all games run at 30 FPS, regardless of region or settings (''[[Pikmin 3]]'''s framerate is unknown).
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 11:31, August 5, 2014


Info

This template is to be used whenever an amount of frames is being written. This provides a tooltip with a conversion to seconds.

The first parameter is the number to be displayed – the number of frames. The conversion happens to 30 FPS (frames per second), but if the second parameter exists, it'll also convert to 25 FPS, which is the framerate on the European version of Pikmin. Besides that, all games run at 30 FPS, regardless of region or settings (Pikmin 3's framerate is unknown).