Difference between revisions of "Template:Updates/core"

From Team Fortress Wiki
Jump to: navigation, search
(raw numbers)
(Push new changes.)
Line 81: Line 81:
  
 
-->
 
-->
| patch-daysago = {{Days ago|1={{{patch-month}}}|2={{{patch-day}}}}}
+
| patch-daysago     = {{Days ago|1={{{patch-year}}}|2={{{patch-month}}}|3={{{patch-day}}}}}
| patch-beta-daysago = {{Days ago|1={{{patch-beta-month|}}}|2={{{patch-beta-day|}}}}}
+
| patch-beta-daysago = {{Days ago|1={{{patch-beta-year}}}|2={{{patch-beta-month}}}|3={{{patch-beta-day}}}}}
| blog-daysago = {{Days ago|1={{{blog-month}}}|2={{{blog-day}}}}}<!--  
+
| blog-daysago       = {{Days ago|1={{{blog-year}}}|2={{{blog-month}}}|3={{{blog-day}}}}}<!--  
  
 
// Raw numbers
 
// Raw numbers

Revision as of 10:03, 2 January 2011

  • Generates patch & blog update links and text plainly based on the parameter type (or the first unnamed parameter).
  • To update dates of blog updates & patches, see Template:Updates.

Usage

  • Date input parameters:
| patch-month = 
| patch-day   = 
| patch-year  = 

| patch-beta-month = 
| patch-beta-day   = 
| patch-beta-year  = 

| blog-month  = 
| blog-day    = 
| blog-year   = 
| blog-id     = 
  • Formatting type parameters: type=
    • patch for a language link to the patch article for that date.
    • patch-beta for a language link to Patches (Beta), no anchor.
    • blog for a link to the blog post (specified by blog-id).
    • patch-daysago, patch-beta-daysago and blog-daysago for processing of date input parameters into {{Days ago}}.
  • Localized text parameters (unused):
    • patch-text for a localized version of "The latest patch was on" (language link)
    • blog-text for a localized version of "The blog was last updated on" (language link)