Template:Global News: Difference between revisions

From aquila
Jump to navigation Jump to search
mNo edit summary
m Replaced content with "<includeonly>{{#invoke:Timeline|render|Category=Global}}</includeonly><noinclude>{{News Timeline/doc}}</noinclude>"
Tag: Replaced
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Timeline|renderTable
<includeonly>{{#invoke:Timeline|render|Category=Global}}</includeonly><noinclude>{{News Timeline/doc}}</noinclude>
|Year={{{Year|}}}
|Category=Global
|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_Post|}}} |Day5_1_Char={{{Day5_1_Char|}}} |Day5_1_Date={{{Day5_1_Date|}}}
|Day6_1_Post={{{Day6_1_Post|}}} |Day6_1_Char={{{Day6_1_Char|}}} |Day6_1_Date={{{Day6_1_Date|}}}
|Day7_1_Post={{{Day7_1_Post|}}} |Day7_1_Char={{{Day7_1_Char|}}} |Day7_1_Date={{{Day7_1_Date|}}}
|Day8_1_Post={{{Day8_1_Post|}}} |Day8_1_Char={{{Day8_1_Char|}}} |Day8_1_Date={{{Day8_1_Date|}}}
|Day9_1_Post={{{Day9_1_Post|}}} |Day9_1_Char={{{Day9_1_Char|}}} |Day9_1_Date={{{Day9_1_Date|}}}
|Day10_1_Post={{{Day10_1_Post|}}} |Day10_1_Char={{{Day10_1_Char|}}} |Day10_1_Date={{{Day10_1_Date|}}}
|Day11_1_Post={{{Day11_1_Post|}}} |Day11_1_Char={{{Day11_1_Char|}}} |Day11_1_Date={{{Day11_1_Date|}}}
|Day12_1_Post={{{Day12_1_Post|}}} |Day12_1_Char={{{Day12_1_Char|}}} |Day12_1_Date={{{Day12_1_Date|}}}
|Day13_1_Post={{{Day13_1_Post|}}} |Day13_1_Char={{{Day13_1_Char|}}} |Day13_1_Date={{{Day13_1_Date|}}}
|Day14_1_Post={{{Day14_1_Post|}}} |Day14_1_Char={{{Day14_1_Char|}}} |Day14_1_Date={{{Day14_1_Date|}}}
}}

Latest revision as of 21:28, 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