Template:Domestic News: Difference between revisions
Created page with "{{#invoke:Timeline|renderTable |Year={{{Year|}}} |Category=Domestic |Day1_1_Post={{{Day1_1_Post|}}} |Day1_1_Char={{{Day1_1_Char|}}} |Day1_1_Date={{{Day1_1_Date|}}} |Day2_1_Post={{{Day2_1_Post|}}} |Day2_1_Char={{{Day2_1_Char|}}} |Day2_1_Date={{{Day2_1_Date|}}} |Day3_1_Post={{{Day3_1_Post|}}} |Day3_1_Char={{{Day3_1_Char|}}} |Day3_1_Date={{{Day3_1_Date|}}} |Day4_1_Post={{{Day4_1_Post|}}} |Day4_1_Char={{{Day4_1_Char|}}} |Day4_1_Date={{{Day4_1_Date|}}} |Day5_1_Post={{{Day5_1_..." |
m Replaced content with "<includeonly>{{#invoke:Timeline|render|Category=Domestic}}</includeonly><noinclude>{{News Timeline/doc}}</noinclude>" Tag: Replaced |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#invoke:Timeline| | <includeonly>{{#invoke:Timeline|render|Category=Domestic}}</includeonly><noinclude>{{News Timeline/doc}}</noinclude> | ||
|Category=Domestic | |||
}} | |||
Latest revision as of 21:30, 23 October 2026
This is the shared documentation and TemplateData for the three news timeline templates (Template:Global News, Template:Domestic News, Template:Character News). Each adds one table to an Era Nova year page. They are powered by Module:Timeline and Module:Calendar.
How to use
{{Global News
| Year = 1
}}
That is all most year pages need: every post written with {{News Header}} appears here automatically, on the day its RealDate falls in, and days with nothing are merged into one row.
Events that have no page of their own
For something staff-only (like "Era Nova Begins") fill in the day's box, one event per line:
Post title; Character or nation; optional real-world date
{{Global News
| Year = 1
| Day1 = <span>Era Nova Begins</span>
}}
A plain name becomes a link automatically; wrap it in <span>...</span> to keep plain text. If a typed line is for a post that also has a page, the typed line is dropped so nothing appears twice.
Notes
- A post only appears if it uses
{{News Header}}with a validRealDate. - Year pages are cached: after a new post is saved, purge the year page to see it straight away.
Auto=noturns the automatic list off (handy for testing).
Adds one news section (Global, Domestic or Character) to an Era Nova year page. Posts that use {{News Header}} are listed automatically; empty days are merged.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Lore year | Year | The Era Nova year as a whole number (1, 2, 3...).
| Number | required |
| Extra events, day 1: Early January | Day1 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 2: January–February | Day2 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 3: February–March | Day3 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 4: March–April | Day4 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 5: April–May | Day5 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 6: May–June | Day6 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 7: June | Day7 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 8: June–July | Day8 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 9: July–August | Day9 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 10: August–September | Day10 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 11: September–October | Day11 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 12: October–November | Day12 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 13: November–December | Day13 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Extra events, day 14: Late December | Day14 | Only for events that do NOT have their own page. Posts that use {{News Header}} appear automatically. One event per line: Post title; Character or nation; optional real-world date.
| String | optional |
| Read posts automatically | Auto | Leave blank to list posts from the news database. Write 'no' to show only the lines typed here.
| String | optional |