Crew:WorldEvent: Difference between revisions
From Menhirs Fate Wiki
More actions
Created page with " {{Crew:WorldEvent | name = <human-readable name; can match the page title> | year = <year or year.chunk — REQUIRED> | type = <one of war / battle / discovery / disaster / founding / treaty / expedition> | summary = <one or two sentences shown on the timeline card> | description = <longer body for the "Read more" sidebar. Use blank lines between paragraphs.> | nation = <on..." |
HANDOFF-001: Implement template with age subcategories and display logic |
||
| Line 1: | Line 1: | ||
<includeonly><div style="background:#1a1a2e; border:1px solid #3a3a5e; border-radius:8px; padding:16px; margin-bottom:16px; color:#e0e0e0;"> | |||
<div style="font-size:1.4em; font-weight:bold; color:#c9a84c; margin-bottom:4px;">{{{name|{{PAGENAME}}}}}</div> | |||
<div style="font-size:0.9em; color:#999; margin-bottom:12px;">{{#if:{{{age|}}}|{{{age}}} · }}Year {{{year}}} · '''{{{type}}}'''{{#if:{{{nation|}}}| · {{{nation}}}}}</div> | |||
<div style="font-style:italic; margin-bottom:12px; color:#b0b0d0;">{{{summary|}}}</div> | |||
{{#if:{{{description|}}}|<div style="line-height:1.6;">{{{description}}}</div>}} | |||
</div> | |||
[[Category:Crew World Events]]{{#if:{{{age|}}}|[[Category:Crew World Events - {{{age}}}]]}} | |||
</includeonly><noinclude> | |||
== Crew:WorldEvent Template == | |||
This template creates a formatted World Event entry for the interactive map timeline. | |||
=== Parameters === | |||
{| class="wikitable" | |||
|- | |||
! Parameter !! Required !! Description | |||
|- | |||
| <code>name</code> || Yes || Human-readable event name | |||
|- | |||
| <code>year</code> || Yes || Year or year.chunk (e.g. 1025 or 1025.2) | |||
|- | |||
| <code>type</code> || Yes || One of: war, battle, discovery, disaster, founding, treaty, expedition, political | |||
|- | |||
| <code>summary</code> || Yes || One or two sentences for the timeline card | |||
|- | |||
| <code>description</code> || No || Longer body text for the sidebar | |||
|- | |||
| <code>nation</code> || No || Canonical nation name, or blank | |||
|- | |||
| <code>age</code> || No || Age of Myth, Age of Legend, Age of Heroes, Age of Calamity, or Age of Hope | |||
|} | |||
=== Example === | |||
<pre> | |||
{{Crew:WorldEvent | |||
| name = The Battle of Naxara | |||
| year = 1022 | |||
| type = battle | |||
| age = Age of Calamity | |||
| summary = The Corrupted attack Naxara, the capital of Kairos, but are beaten back by the Kolossi. | |||
| description = In 1022, the Corrupted launched a major assault on the capital... | |||
| nation = Kairos | |||
}} | |||
</pre> | |||
[[Category:Crew Wiki Templates]] | |||
</noinclude> | |||
Revision as of 15:59, 23 May 2026
Crew:WorldEvent Template
This template creates a formatted World Event entry for the interactive map timeline.
Parameters
| Parameter | Required | Description |
|---|---|---|
name |
Yes | Human-readable event name |
year |
Yes | Year or year.chunk (e.g. 1025 or 1025.2) |
type |
Yes | One of: war, battle, discovery, disaster, founding, treaty, expedition, political |
summary |
Yes | One or two sentences for the timeline card |
description |
No | Longer body text for the sidebar |
nation |
No | Canonical nation name, or blank |
age |
No | Age of Myth, Age of Legend, Age of Heroes, Age of Calamity, or Age of Hope |
Example
{{Crew:WorldEvent
| name = The Battle of Naxara
| year = 1022
| type = battle
| age = Age of Calamity
| summary = The Corrupted attack Naxara, the capital of Kairos, but are beaten back by the Kolossi.
| description = In 1022, the Corrupted launched a major assault on the capital...
| nation = Kairos
}}