Difference between revisions of "Template:Updates/core"
Line 79: | Line 79: | ||
}} | }} | ||
− | | #default = <span class="error small">ERROR {{[[Template:latest updates|latest updates]]}} 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 {{[[Template:latest updates|latest updates]]}} failure: no type specified.}}</span> |
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 00:32, 4 September 2010
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, de, fr, hu, pl, ru (add) |
- 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 = | blog-month = | blog-day = | blog-year = | blog-id =
- Formatting type parameters:
type=
patch
for a language link to the patch article for that date.blog
for a link to the blog post (specified byblog-id
).patch-daysago
andblog-daysago
for processing of date input parameters into{{Days ago}}
.
- Localized text parameters: