Template:Updates/core: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
(Implemented platform specific entries. Somebody else do the doc, I really cba.)
Line 13: Line 13:
  | ro = {{{portal2-patch-day}}} {{lang date|{{{portal2-patch-month}}}}} {{{portal2-patch-year}}}
  | ro = {{{portal2-patch-day}}} {{lang date|{{{portal2-patch-month}}}}} {{{portal2-patch-year}}}
  | ru = {{{portal2-patch-day}}} {{lang date|{{{portal2-patch-month}}}}} {{{portal2-patch-year}}}
  | ru = {{{portal2-patch-day}}} {{lang date|{{{portal2-patch-month}}}}} {{{portal2-patch-year}}}
}}]]
| patch-ps3 = [[{{lang date|force=en|1={{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-day}}}, {{{portal2-ps3-patch-year}}} Patch{{if lang}}|{{lang
| cs = {{{portal2-ps3-patch-day}}} {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
| de = {{{portal2-ps3-patch-day}}}. {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
| en = {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-day}}}, {{{portal2-ps3-patch-year}}}
| it = {{{portal2-ps3-patch-day}}} {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
| es = {{{portal2-ps3-patch-day}}} {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
| fr = {{{portal2-ps3-patch-day}}} {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
| pl = {{{portal2-ps3-patch-day}}} {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
| pt = {{{portal2-ps3-patch-day}}} de {{lang date|{{{portal2-ps3-patch-month}}}}} de {{{portal2-ps3-patch-year}}}
| pt-br = {{{portal2-ps3-patch-day}}} de {{lang date|{{{portal2-ps3-patch-month}}}}} de {{{portal2-ps3-patch-year}}}
| ro = {{{portal2-ps3-patch-day}}} {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
| ru = {{{portal2-ps3-patch-day}}} {{lang date|{{{portal2-ps3-patch-month}}}}} {{{portal2-ps3-patch-year}}}
}}]]
| patch-xbox = [[{{lang date|force=en|1={{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-day}}}, {{{portal2-xbox-patch-year}}} Patch{{if lang}}|{{lang
| cs = {{{portal2-xbox-patch-day}}} {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
| de = {{{portal2-xbox-patch-day}}}. {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
| en = {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-day}}}, {{{portal2-xbox-patch-year}}}
| it = {{{portal2-xbox-patch-day}}} {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
| es = {{{portal2-xbox-patch-day}}} {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
| fr = {{{portal2-xbox-patch-day}}} {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
| pl = {{{portal2-xbox-patch-day}}} {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
| pt = {{{portal2-xbox-patch-day}}} de {{lang date|{{{portal2-xbox-patch-month}}}}} de {{{portal2-xbox-patch-year}}}
| pt-br = {{{portal2-xbox-patch-day}}} de {{lang date|{{{portal2-xbox-patch-month}}}}} de {{{portal2-xbox-patch-year}}}
| ro = {{{portal2-xbox-patch-day}}} {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
| ru = {{{portal2-xbox-patch-day}}} {{lang date|{{{portal2-xbox-patch-month}}}}} {{{portal2-xbox-patch-year}}}
}}]]
| portal-patch-ps3 = [[{{lang date|force=en|1={{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-day}}}, {{{portal-ps3-patch-year}}} Patch (Portal){{if lang}}|{{lang
| cs = {{{portal-ps3-patch-day}}} {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
| de = {{{portal-ps3-patch-day}}}. {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
| en = {{lang date|1={{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-day}}}, {{{portal-ps3-patch-year}}}
| it = {{{portal-ps3-patch-day}}} {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
| es = {{{portal-ps3-patch-day}}} {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
| fr = {{{portal-ps3-patch-day}}} {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
| pl = {{{portal-ps3-patch-day}}} {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
| pt = {{{portal-ps3-patch-day}}} de {{lang date|{{{portal-ps3-patch-month}}}}} de {{{portal-ps3-patch-year}}}
| pt-br = {{{portal-ps3-patch-day}}} de {{lang date|{{{portal-ps3-patch-month}}}}} de {{{portal-ps3-patch-year}}}
| ro = {{{portal-ps3-patch-day}}} {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
| ru = {{{portal-ps3-patch-day}}} {{lang date|{{{portal-ps3-patch-month}}}}} {{{portal-ps3-patch-year}}}
}}]]
| portal-patch-xbox = [[{{lang date|force=en|1={{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-day}}}, {{{portal-xbox-patch-year}}} Patch (Portal){{if lang}}|{{lang
| cs = {{{portal-xbox-patch-day}}} {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
| de = {{{portal-xbox-patch-day}}}. {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
| en = {{lang date|1={{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-day}}}, {{{portal-xbox-patch-year}}}
| it = {{{portal-xbox-patch-day}}} {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
| es = {{{portal-xbox-patch-day}}} {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
| fr = {{{portal-xbox-patch-day}}} {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
| pl = {{{portal-xbox-patch-day}}} {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
| pt = {{{portal-xbox-patch-day}}} de {{lang date|{{{portal-xbox-patch-month}}}}} de {{{portal-xbox-patch-year}}}
| pt-br = {{{portal-xbox-patch-day}}} de {{lang date|{{{portal-xbox-patch-month}}}}} de {{{portal-xbox-patch-year}}}
| ro = {{{portal-xbox-patch-day}}} {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
| ru = {{{portal-xbox-patch-day}}} {{lang date|{{{portal-xbox-patch-month}}}}} {{{portal-xbox-patch-year}}}
  }}]]
  }}]]


| portal-patch = [[{{lang date|force=en|1={{{portal-patch-month}}}}} {{{portal-patch-day}}}, {{{portal-patch-year}}} Patch (Portal){{if lang}}|{{lang
| portal-patch = [[{{lang date|force=en|1={{{portal-patch-month}}}}} {{{portal-patch-day}}}, {{{portal-patch-year}}} Patch (Portal){{if lang}}|{{lang
  | cs = {{{portal-patch-day}}} {{lang date|{{{portal-patch-month}}}}} {{{portal-patch-year}}}
  | cs = {{{portal-patch-day}}} {{lang date|{{{portal-patch-month}}}}} {{{portal-patch-year}}}
Line 44: Line 101:


| portal2-patch-daysago      = {{Days ago|1={{{portal2-patch-year}}}|2={{{portal2-patch-month}}}|3={{{portal2-patch-day}}}}}
| portal2-patch-daysago      = {{Days ago|1={{{portal2-patch-year}}}|2={{{portal2-patch-month}}}|3={{{portal2-patch-day}}}}}
| portal2-ps3-patch-daysago      = {{Days ago|1={{{portal2-ps3-patch-year}}}|2={{{portal2-ps3-patch-month}}}|3={{{portal2-ps3-patch-day}}}}}
| portal2-xbox-patch-daysago      = {{Days ago|1={{{portal2-xbox--patch-year}}}|2={{{portal2-xbox--patch-month}}}|3={{{portal2-xbox--patch-day}}}}}
| portal-patch-daysago = {{Days ago|1={{{portal-patch-year}}}|2={{{portal-patch-month}}}|3={{{portal-patch-day}}}}}
| portal-patch-daysago = {{Days ago|1={{{portal-patch-year}}}|2={{{portal-patch-month}}}|3={{{portal-patch-day}}}}}
| portal-ps3-patch-daysago = {{Days ago|1={{{portal-ps3-patch-year}}}|2={{{portal-ps3-patch-month}}}|3={{{portal-ps3-patch-day}}}}}
| portal-xbox-patch-daysago = {{Days ago|1={{{portal-xbox-patch-year}}}|2={{{portal-xbox-patch-month}}}|3={{{portal-xbox-patch-day}}}}}
| blog-daysago      = {{Days ago|1={{{blog-year}}}|2={{{blog-month}}}|3={{{blog-day}}}}}
| blog-daysago      = {{Days ago|1={{{blog-year}}}|2={{{blog-month}}}|3={{{blog-day}}}}}


Line 50: Line 113:
| portal2-patch-day = {{{portal2-patch-day|}}}
| portal2-patch-day = {{{portal2-patch-day|}}}
| portal2-patch-year = {{{portal2-patch-year|}}}
| portal2-patch-year = {{{portal2-patch-year|}}}
| portal2-ps3-patch-month = {{{portal2-ps3-patch-month|}}}
| portal2-ps3-patch-day = {{{portal2-ps3-patch-day|}}}
| portal2-ps3-patch-year = {{{portal2-ps3-patch-year|}}}
| portal2-xbox-patch-month = {{{portal2-xbox-patch-month|}}}
| portal2-xbox-patch-day = {{{portal2-xbox-patch-day|}}}
| portal2-xbox-patch-year = {{{portal2-xbox-patch-year|}}}


| portal-patch-month = {{{portal-patch-month|}}}
| portal-patch-month = {{{portal-patch-month|}}}
| portal-patch-day = {{{portal-patch-day|}}}
| portal-patch-day = {{{portal-patch-day|}}}
| portal-patch-year = {{{portal-patch-year|}}}
| portal-patch-year = {{{portal-patch-year|}}}
| portal-ps3-patch-month = {{{portal-ps3-patch-month|}}}
| portal-ps3-patch-day = {{{portal-ps3-patch-day|}}}
| portal-ps3-patch-year = {{{portal-ps3-patch-year|}}}
| portal-xbox-patch-month = {{{portal-xbox-patch-month|}}}
| portal-xbox-patch-day = {{{portal-xbox-patch-day|}}}
| portal-xbox-patch-year = {{{portal-xbox-patch-year|}}}


| blog-month = {{{blog-month|}}}
| blog-month = {{{blog-month|}}}

Revision as of 01:21, 23 April 2011

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for Updates/core

This template takes values from {{Updates}} and displays them in different ways.

Parameters

Links

patch
Provides a lang-formatted proper link to the latest patch article.
portal-patch
Provides a lang-formatted proper link to Patches (Beta).
blog
Provides a lang-formatted proper external link to the latest blog post based on the given ID.

Days ago

portal2-patch-daysago, portal-patch-daysago, blog-daysago
Uses {{Days ago}} to render the days since the last patch / blog update (bracketed).

Raw values

The following raw values are available as they are given in {{Updates}} so they can be used anywhere.
| portal2-patch-month = 
| portal2-patch-day = 
| portal2-patch-year = 

| portal-patch-month = 
| portal-patch-day = 
| portal-patch-year = 

| blog-month = 
| blog-day = 
| blog-year = 
| blog-id = 

<!--| wiki-cap-recipient = -->

See also