Difference between revisions of "Template:Historical record"
From SDA Knowledge Base
(formatting date, simplifying console parameter, noincluding table code) |
m (going back to conditional for console to handle blank parameters, adding copy/paste) |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
− | | {{{runner}}} || {{{game}}} || {{{console|Not specified | + | | {{{runner}}} || {{{game}}} || {{#if:{{{console|}}} | {{{console}}} | Not specified}} || <span style="display:none">{{{date}}}</span>{{#time:F j, Y|{{{date}}}}} || {{#if:{{{link|}}} | [{{{link}}} {{{time}}}] | {{{time}}}}} || {{{category|}}}</includeonly><noinclude> |
This template inserts a row in the [[Historical Records]] table. Please input as many of the fields as possible. | This template inserts a row in the [[Historical Records]] table. Please input as many of the fields as possible. | ||
+ | <pre>{{historical record|runner=|game=|date=|link=|time=|category=|console=}}</pre> | ||
;Parameters | ;Parameters | ||
*<tt>runner</tt>: The name of the runner. | *<tt>runner</tt>: The name of the runner. | ||
*<tt>game</tt>: The name of the game being run. | *<tt>game</tt>: The name of the game being run. | ||
− | |||
*<tt>date</tt>: Date in the format of YYYY-MM-DD (Year-Month-Date with leading zeros for single digit months and days). | *<tt>date</tt>: Date in the format of YYYY-MM-DD (Year-Month-Date with leading zeros for single digit months and days). | ||
*<tt>link</tt>: The full URL to the page where the run is hosted. (Optional) | *<tt>link</tt>: The full URL to the page where the run is hosted. (Optional) | ||
*<tt>time</tt>: The time the run was completed in, in the format of HH:MM:SS[.xx] (Hours:Minutes:Seconds.Hundredths with leading zeros for single digit numbers). | *<tt>time</tt>: The time the run was completed in, in the format of HH:MM:SS[.xx] (Hours:Minutes:Seconds.Hundredths with leading zeros for single digit numbers). | ||
*<tt>category</tt>: The category of the run (i.e. any%, low%, 100%, etc.). (Defaults to blank if omitted.) | *<tt>category</tt>: The category of the run (i.e. any%, low%, 100%, etc.). (Defaults to blank if omitted.) | ||
+ | *<tt>console</tt>: The name of the console used in the run. (Defaults to "Not specified" if omitted.) | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 04:27, 30 July 2010
This template inserts a row in the Historical Records table. Please input as many of the fields as possible.
{{historical record|runner=|game=|date=|link=|time=|category=|console=}}
- Parameters
- runner: The name of the runner.
- game: The name of the game being run.
- date: Date in the format of YYYY-MM-DD (Year-Month-Date with leading zeros for single digit months and days).
- link: The full URL to the page where the run is hosted. (Optional)
- time: The time the run was completed in, in the format of HH:MM:SS[.xx] (Hours:Minutes:Seconds.Hundredths with leading zeros for single digit numbers).
- category: The category of the run (i.e. any%, low%, 100%, etc.). (Defaults to blank if omitted.)
- console: The name of the console used in the run. (Defaults to "Not specified" if omitted.)