Template:News Header: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<!-- CARGO STORAGE CALL --> | <!-- CARGO STORAGE CALL --> | ||
{{#cargo_store: _table=NewsPosts | {{#cargo_store: _table=NewsPosts | ||
| Line 75: | Line 62: | ||
{{#if: {{{Author|}}} | [[Category:{{{Author}}}]] | }} | {{#if: {{{Author|}}} | [[Category:{{{Author}}}]] | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
<!-- CARGO DATABASE DECLARATION --> | |||
{{#cargo_declare: | |||
| _table=NewsPosts | |||
| Page_Name=String | |||
| Type=String | |||
| Subheading=String | |||
| RealDate=Date | |||
| Author=String | |||
| Publisher=String | |||
| Year=String | |||
| Period=String | |||
}} | |||
<div style="background-color: #ffe6e6; border: 2px solid #ff0000; padding: 15px; margin-bottom: 15px; border-radius: 5px;"> | <div style="background-color: #ffe6e6; border: 2px solid #ff0000; padding: 15px; margin-bottom: 15px; border-radius: 5px;"> | ||
<span style="color: #cc0000; font-weight: bold; font-size: 110%;">CRITICAL DATE FORMAT WARNING</span><br> | <span style="color: #cc0000; font-weight: bold; font-size: 110%;">CRITICAL DATE FORMAT WARNING</span><br> | ||
Revision as of 20:26, 26 August 2026
This template defines the table "NewsPosts". View table. A replacement table has been generated for this table; View replacement table.
CRITICAL DATE FORMAT WARNING
When using the RealDate parameter, you MUST write it in strict YYYY-MM-DD format (e.g., 2026-08-26).
DO NOT use slashes or short-hand like 26/08/26.
Usage
{{News Header
| Type = Character News <!-- Options: Character News, Global News, Domestic News -->
| Subheading = Basil's Story, Part I
| RealDate = 2026-07-29
| Author = Basil Blight <!-- Use 'Author' for character news, or 'Publisher'/'Agency' for news outlets -->
}}
== The Story Begins ==
Write your raw text, add multiple images, use custom headers, or layout the page however you want below the header!
Universal automated news and dispatch header for Project Aquila.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| News Category Type | Type | Defines the main category. Suggested values: Character News, Global News, Domestic News
| String | required |
| Subheading / Headline | Subheading | Optional title or headline displayed at the top of the header box. | String | suggested |
| Real-world date (REQUIRED) | RealDate | MUST BE YYYY-MM-DD (e.g. 2026-07-29). Do NOT use slashes! | String | required |
| Author (Character) | Author | Character author name (creates an author category and wiki link). Leave blank if using a news Publisher/Agency. | Page name | suggested |
| Publisher / Agency | Publisher | Name of the news outlet (use this instead of Author for Global/Domestic news). | String | suggested |