Template:Updates/core: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Implemented platform specific entries. Somebody else do the doc, I really cba.)
m (Typo)
Line 102: Line 102:
| 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-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}}}}}
| 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}}}}}

Revision as of 01:39, 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