Template:Frames: Difference between revisions
Jump to navigation
Jump to search
m (Linked to Frame.) |
(New documentation style.) |
||
Line 2: | Line 2: | ||
==Info== | ==Info== | ||
This template is to be used whenever an amount of [[frame]]s is being written. This provides a tooltip with a conversion to seconds. | This template is to be used whenever an amount of [[frame]]s is being written. This provides a tooltip with a conversion to seconds. Because it's only really possible to accurately measure frames in the first two games, these conversions are made at 30 FPS (the framerate those games run at). A parameter allows a another conversion to also be made at 25 FPS (for the European [[Region|version]] of ''[[Pikmin (game)|Pikmin]]''). | ||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Purpose || Detailed description | |||
|- | |||
! 1 | |||
| '''Yes''' || || Number of frames || The number of frames to be displayed. | |||
|- | |||
! 2 | |||
| No || || Use 25 FPS || If it has a value (like "y"), the number of frames will also be converted to seconds at 25 FPS. | |||
|} | |||
==Template== | |||
<pre> | |||
{{frames|<number>|<25fps>}} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |||
| <pre>{{frames|54}}</pre> | |||
| {{frames|54}} | |||
|- | |||
| <pre>{{frames|77|y}}</pre> | |||
| {{frames|77|y}} | |||
|} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 04:56, October 17, 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. Because it's only really possible to accurately measure frames in the first two games, these conversions are made at 30 FPS (the framerate those games run at). A parameter allows a another conversion to also be made at 25 FPS (for the European version of Pikmin).
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Number of frames | The number of frames to be displayed. | |
2 | No | Use 25 FPS | If it has a value (like "y"), the number of frames will also be converted to seconds at 25 FPS. |
Template
{{frames|<number>|<25fps>}}
Examples
Code | Result |
---|---|
{{frames|54}} |
54 |
{{frames|77|y}} |
77 |