Difference between revisions of "Template:Historical record"
From SDA Knowledge Base
m (removed attempt at conditional link include.) |
m (going back to conditional for console to handle blank parameters, adding copy/paste) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |- | + | <includeonly>|- |
− | | {{{runner}}} || {{{game}}} || {{{date}}} || {{{time}}} || {{{category}}} | + | | {{{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. | ||
+ | <pre>{{historical record|runner=|game=|date=|link=|time=|category=|console=}}</pre> | ||
+ | |||
+ | ;Parameters | ||
+ | *<tt>runner</tt>: The name of the runner. | ||
+ | *<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>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>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> |
Latest revision as of 03: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.)