Template:Domestic News: Difference between revisions

From aquila
Jump to navigation Jump to search
m Replaced content with "<noinclude>{{Documentation}}</noinclude><includeonly>{{#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|}}} | Day1_2_Post = {{{Day1_2_Post|}}} | Day1_2_Char = {{{Day1_2_Char|}}} | Day1_2_Date = {{{Day1_2_Date|}}} | Day1_3_Post = {{{Day1_3_Post|}}} | Day1_3_Char = {{{Day1_3_Char|}}} | Day1_3_Date = {{{Day1_3_Date|}}} | Day2_1_Post = {{{Day2_1_Pos..."
Tag: Replaced
m Replaced content with "<includeonly>{{#invoke:Timeline|render|Category=Domestic}}</includeonly><noinclude>{{News Timeline/doc}}</noinclude>"
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude><includeonly>{{#invoke:Timeline|renderTable
<includeonly>{{#invoke:Timeline|render|Category=Domestic}}</includeonly><noinclude>{{News Timeline/doc}}</noinclude>
| Year = {{{Year|}}}
| Category = Domestic
| Day1_1_Post = {{{Day1_1_Post|}}} | Day1_1_Char = {{{Day1_1_Char|}}} | Day1_1_Date = {{{Day1_1_Date|}}}
| Day1_2_Post = {{{Day1_2_Post|}}} | Day1_2_Char = {{{Day1_2_Char|}}} | Day1_2_Date = {{{Day1_2_Date|}}}
| Day1_3_Post = {{{Day1_3_Post|}}} | Day1_3_Char = {{{Day1_3_Char|}}} | Day1_3_Date = {{{Day1_3_Date|}}}
| Day2_1_Post = {{{Day2_1_Post|}}} | Day2_1_Char = {{{Day2_1_Char|}}} | Day2_1_Date = {{{Day2_1_Date|}}}
| Day2_2_Post = {{{Day2_2_Post|}}} | Day2_2_Char = {{{Day2_2_Char|}}} | Day2_2_Date = {{{Day2_2_Date|}}}
| Day3_1_Post = {{{Day3_1_Post|}}} | Day3_1_Char = {{{Day3_1_Char|}}} | Day3_1_Date = {{{Day3_1_Date|}}}
| Day3_2_Post = {{{Day3_2_Post|}}} | Day3_2_Char = {{{Day3_2_Char|}}} | Day3_2_Date = {{{Day3_2_Date|}}}
| Day4_1_Post = {{{Day4_1_Post|}}} | Day4_1_Char = {{{Day4_1_Char|}}} | Day4_1_Date = {{{Day4_1_Date|}}}
| Day4_2_Post = {{{Day4_2_Post|}}} | Day4_2_Char = {{{Day4_2_Char|}}} | Day4_2_Date = {{{Day4_2_Date|}}}
| Day5_1_Post = {{{Day5_1_Post|}}} | Day5_1_Char = {{{Day5_1_Char|}}} | Day5_1_Date = {{{Day5_1_Date|}}}
| Day5_2_Post = {{{Day5_2_Post|}}} | Day5_2_Char = {{{Day5_2_Char|}}} | Day5_2_Date = {{{Day5_2_Date|}}}
| Day6_1_Post = {{{Day6_1_Post|}}} | Day6_1_Char = {{{Day6_1_Char|}}} | Day6_1_Date = {{{Day6_1_Date|}}}
| Day6_2_Post = {{{Day6_2_Post|}}} | Day6_2_Char = {{{Day6_2_Char|}}} | Day6_2_Date = {{{Day6_2_Date|}}}
| Day7_1_Post = {{{Day7_1_Post|}}} | Day7_1_Char = {{{Day7_1_Char|}}} | Day7_1_Date = {{{Day7_1_Date|}}}
| Day7_2_Post = {{{Day7_2_Post|}}} | Day7_2_Char = {{{Day7_2_Char|}}} | Day7_2_Date = {{{Day7_2_Date|}}}
| Day8_1_Post = {{{Day8_1_Post|}}} | Day8_1_Char = {{{Day8_1_Char|}}} | Day8_1_Date = {{{Day8_1_Date|}}}
| Day8_2_Post = {{{Day8_2_Post|}}} | Day8_2_Char = {{{Day8_2_Char|}}} | Day8_2_Date = {{{Day8_2_Date|}}}
| Day9_1_Post = {{{Day9_1_Post|}}} | Day9_1_Char = {{{Day9_1_Char|}}} | Day9_1_Date = {{{Day9_1_Date|}}}
| Day9_2_Post = {{{Day9_2_Post|}}} | Day9_2_Char = {{{Day9_2_Char|}}} | Day9_2_Date = {{{Day9_2_Date|}}}
| Day10_1_Post = {{{Day10_1_Post|}}} | Day10_1_Char = {{{Day10_1_Char|}}} | Day10_1_Date = {{{Day10_1_Date|}}}
| Day10_2_Post = {{{Day10_2_Post|}}} | Day10_2_Char = {{{Day10_2_Char|}}} | Day10_2_Date = {{{Day10_2_Date|}}}
| Day11_1_Post = {{{Day11_1_Post|}}} | Day11_1_Char = {{{Day11_1_Char|}}} | Day11_1_Date = {{{Day11_1_Date|}}}
| Day11_2_Post = {{{Day11_2_Post|}}} | Day11_2_Char = {{{Day11_2_Char|}}} | Day11_2_Date = {{{Day11_2_Date|}}}
| Day12_1_Post = {{{Day12_1_Post|}}} | Day12_1_Date = {{{Day12_1_Date|}}}
| Day12_2_Post = {{{Day12_2_Post|}}} | Day12_2_Char = {{{Day12_2_Char|}}} | Day12_2_Date = {{{Day12_2_Date|}}}
| Day13_1_Post = {{{Day13_1_Post|}}} | Day13_1_Char = {{{Day13_1_Char|}}} | Day13_1_Date = {{{Day13_1_Date|}}}
| Day13_2_Post = {{{Day13_2_Post|}}} | Day13_2_Char = {{{Day13_2_Char|}}} | Day13_2_Date = {{{Day13_2_Date|}}}
| Day14_1_Post = {{{Day14_1_Post|}}} | Day14_1_Char = {{{Day14_1_Char|}}} | Day14_1_Date = {{{Day14_1_Date|}}}
| Day14_2_Post = {{{Day14_2_Post|}}} | Day14_2_Char = {{{Day14_2_Char|}}} | Day14_2_Date = {{{Day14_2_Date|}}}
}}</includeonly><noinclude><templatedata>{
"description": "Renders Global News timeline rows for an Era Nova year page, auto-calculating real dates.",
"params": {
"Year": { "label": "Lore Year", "type": "number", "required": true },
"Day1_1_Post": { "label": "Early January - Event 1 Post", "type": "string" },
"Day1_1_Char": { "label": "Early January - Event 1 Character/Nation", "type": "string" },
"Day1_1_Date": { "label": "Early January - Event 1 Custom Date Override (Optional)", "type": "string" }
}
}</templatedata></noinclude>

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 valid RealDate.
  • Year pages are cached: after a new post is saved, purge the year page to see it straight away.
  • Auto=no turns 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Lore yearYear

The Era Nova year as a whole number (1, 2, 3...).

Example
1
Numberrequired
Extra events, day 1: Early JanuaryDay1

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 2: January–FebruaryDay2

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 3: February–MarchDay3

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 4: March–AprilDay4

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 5: April–MayDay5

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 6: May–JuneDay6

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 7: JuneDay7

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 8: June–JulyDay8

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 9: July–AugustDay9

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 10: August–SeptemberDay10

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 11: September–OctoberDay11

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 12: October–NovemberDay12

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 13: November–DecemberDay13

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.

Example
Era Nova Begins; High Council
Stringoptional
Extra events, day 14: Late DecemberDay14

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.

Example
Era Nova Begins; High Council
Stringoptional
Read posts automaticallyAuto

Leave blank to list posts from the news database. Write 'no' to show only the lines typed here.

Suggested values
no
Stringoptional