Difference between revisions of "Template:Updates/core"
m (moved Template:Latest updates to Template:Updates/core) |
(fixes, remove languages that didn't have translations from the list) |
||
Line 2: | Line 2: | ||
| patch = [[{{lang date|force=en|1={{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}} Patch{{if lang}}|{{lang | | patch = [[{{lang date|force=en|1={{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}} Patch{{if lang}}|{{lang | ||
− | + | | cs = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | de = {{{patch-day}}}. {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | en = {{lang date|{{{patch-month}}}}} {{{patch-day}}}, {{{patch-year}}} | |
− | + | | es = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | fr = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | pl = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | pt = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | pt-br = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | ro = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | | ru = {{{patch-day}}} {{lang date|{{{patch-month}}}}} {{{patch-year}}} | |
− | + | }}]] | |
| patch-beta = [[Patches (Beta){{if lang}}|{{lang | | patch-beta = [[Patches (Beta){{if lang}}|{{lang | ||
Line 59: | Line 59: | ||
| wiki-cap-recipient = {{{wiki-cap-recipient|}}} | | wiki-cap-recipient = {{{wiki-cap-recipient|}}} | ||
− | | #default = <span class="error small">ERROR {{tl| | + | | #default = <span class="error small">ERROR {{tl|Updates/core}}: type doesn't match.</span> |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | {{translation switching|cs, es, de, fr | + | {{translation switching|cs, es, de, fr, pl, pt, pt-br, ro, ru}} |
{{doc begin}} | {{doc begin}} | ||
This template takes values from '''{{tl|Updates}}''' and displays them in different ways. | This template takes values from '''{{tl|Updates}}''' and displays them in different ways. | ||
Line 108: | Line 108: | ||
* {{tl|Days ago}} | * {{tl|Days ago}} | ||
− | [[Category:Templates| | + | [[Category:Templates|Updates/core]] |
[[Category:Main Page]] | [[Category:Main Page]] | ||
</noinclude> | </noinclude> |
Revision as of 05:01, 13 February 2011
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Updates/core/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: cs, es, de, fr, pl, pt, pt-br, ro, ru (add) |
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.
- patch-beta
- 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
- patch-daysago, patch-beta-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.
- The following raw values are available as they are given in
| patch-month = | patch-day = | patch-year = | patch-beta-month = | patch-beta-day = | patch-beta-year = | blog-month = | blog-day = | blog-year = | blog-id = | wiki-cap-recipient =