Template:Event: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | |||
{{#if: {{{hide|}}} | <div style="display: none;"> }} | {{#if: {{{hide|}}} | <div style="display: none;"> }} | ||
{{Infobox | {{Infobox | ||
|title={{Event/icon|{{{class}}}}} {{{title}}} | |title={{Event/icon|{{{class}}}}} {{{title}}} | ||
|subheader={{Event/header| | |subheader={{Event/header|{{{class}}}}} | ||
|subheader2=''Part of the [[Timeline|WormRP Timeline]]'' | |subheader2=''Part of the [[Timeline|WormRP Timeline]]'' | ||
| label1 = Date | | label1 = Date | ||
| data1 = {{time ago| | | data1 = {{time ago|{{{date}}}}} | ||
| label2 = Location | | label2 = Location | ||
| data2 = {{ | | data2 = {{{city|}}}<br />{{{area|}}} | ||
| label3 = Link | | label3 = Link | ||
| data3 = | | data3 = {{{link|}}} | ||
|below = {{{blurb|}}} | |below = {{{blurb|{{{title}}}}}} | ||
}}{{#if: {{{hide|}}} | </div> }} | |||
[[Category:World Events]] | [[Category:World Events]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{documentation}} | |||
{{#cargo_declare:_table=events | |||
|title= | |title=String (mandatory) | ||
|class=Endbringer | |class=String (mandatory;allowed values=World,Endbringer,PRT,Devilfish,Other) | ||
|city= | |city=Page (mandatory) | ||
|area= | |area=Page (mandatory) | ||
|date= | |date=date (mandatory) | ||
|blurb= | |blurb=Wikitext string | ||
|link= | |link=URL | ||
}} | |||
}}</ | </noinclude> |
Revision as of 15:40, 30 July 2024
Usage
{{event |title=Famine (II) attacks Almaty |class=Endbringer |city=Almaty |area=Unified Russian Soviet Republic |date=Dec 23 2020 |blurb=blah blah blah. (optional) |link= (optional) |hide = (put "yes" here to hide display) }}
The above documentation is transcluded from Template:Event/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
This template defines the table "events". View table.