Template:News/core: Difference between revisions
Template page
More actions
changed default date format to ISO 8601 and respect user preference |
m 1 revision imported |
(No difference)
| |
Latest revision as of 13:57, 22 March 2026
English • čeština • Deutsch • español • français • italiano • 日本語 • 한국어 • polski • português • português do Brasil • русский • ไทย • Türkçe • українська • Tiếng Việt • 中文(简体) • 中文(繁體)
File:Notebook.pngDocumentation
This is the core template used in {{News}} to control all the styling.
Usage
This template has three different types, used with the title parameter.
These are:
releaseblogwiki
Releases
{{News/core|type=release
|date=
|text=
|link=
}}
Blogs
{{News/core|type=blog
|date=
|text=
|link=
}}
Wiki news
{{News/core|type=wiki
|date=
|text=
}}
Parameters
Each parameter with have a different styling, depending on the type.
1- Defines the formatting and parameters used.
Can be either one ofrelease,blogorwiki. text- Used as a brief description of the article. Displayed as the announcement heading.
link- External URL.
Only used withreleaseandblog. date- Used to display the date the article was published.
Examples
Releases
{{News/core
| release
| date = 2022-12-12
| text = Hotfix 41.78.16
| link = 61699-4178-released
}}
- Displays:
- 2022-12-12
- Hotfix 41.78.16
Blogs
{{News/core
| blog
| date = 2024-06-27
| text = The Biomic Man
| link = 2024/06/the-biomic-man
}}
- Displays:
- 2024-06-27
- The Biomic Man
Wiki news
{{News/core
| wiki
| date = 2024-06-02
| text = May 2024 summary
}}
- Displays:
- 2024-06-02
- May 2024 summary
How to translate
This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:
- Create a subpage of this template with the language code of the language you want to translate to.
- Copy the code wrapped in the
<noinclude>tag in this template into the page you created.{{Translation guide}}template should be removed from the translated documentation.
- Translate the page according to the translation requirements of normal pages.
See also
Editors can experiment in this template's sandbox.