Difference between revisions of "Template:Updates/core"

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

Revision as of 02:22, 17 December 2010

  • 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)