Difference between revisions of "Template:Updates/core"

From Team Fortress Wiki
Jump to: navigation, search
(Push new changes.)
m
Line 137: Line 137:
 
   | sv = Den [[TF2 officiella bloggen | Blogg]] uppdaterades senast den
 
   | sv = Den [[TF2 officiella bloggen | Blogg]] uppdaterades senast den
 
   }}
 
   }}
 +
 +
| wiki-cap-recipient = {{{wiki-cap-recipient|}}}
  
 
| #default = <span class="error small">{{#ifeq:{{BASEPAGENAME}}|Main Page|<span style="color:#000;">''This Main Page requires updating to the [[Template:Main Page layout|new design]].''</span>|ERROR &#123;&#123;[[Template:latest updates|latest updates]]&#125;&#125; failure: no type specified.}}</span>
 
| #default = <span class="error small">{{#ifeq:{{BASEPAGENAME}}|Main Page|<span style="color:#000;">''This Main Page requires updating to the [[Template:Main Page layout|new design]].''</span>|ERROR &#123;&#123;[[Template:latest updates|latest updates]]&#125;&#125; failure: no type specified.}}</span>

Revision as of 20:13, 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)