Jump to content

Template:DatedObjects: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
Modify the date, which wasn't displaying
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 12: Line 12:


[[Category:Semantic Templates]]</noinclude><includeonly>{{#if: {{Has objectClass|Year}}|{{SMWDocSection
[[Category:Semantic Templates]]</noinclude><includeonly>{{#if: {{Has objectClass|Year}}|{{SMWDocSection
|expression=[[Has objectClass::Event]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]] OR [[Has objectClass::Event]][[Start::<<{{PAGENAME}}]][[End::>{{#expr: {{PAGENAME}}}}]]
|expression=Event>{{PAGENAME}}<<{{#expr: {{PAGENAME}}+1}} OR Event<<{{PAGENAME}}>{{#expr: {{PAGENAME}}}}
|sort=Start
|sort=Start
|caption_singular=Event
|caption_singular=Event
Line 20: Line 20:
|headers=Start/End/Description
|headers=Start/End/Description
}}{{SMWDocSection
}}{{SMWDocSection
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]
|expression=Group>{{PAGENAME}}<<{{#expr: {{PAGENAME}}+1}}
|sort=Start
|sort=Start
|caption_singular=A New Group
|caption_singular=A New Group
Line 28: Line 28:
|headers=Image/Date/Type/Description
|headers=Image/Date/Type/Description
}}{{SMWDocSection
}}{{SMWDocSection
|expression=[[Has objectClass::Website]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]
|expression=Website>{{PAGENAME}}<<{{#expr: {{PAGENAME}}+1}}
|sort=Start
|sort=Start
|caption_singular=New Website
|caption_singular=New Website
Line 36: Line 36:
|headers=Image/Date/URL/Description
|headers=Image/Date/URL/Description
}}{{SMWDocSection
}}{{SMWDocSection
|expression=[[Has objectClass::Group]][[End::>{{PAGENAME}}]][[End::<<{{#expr: {{PAGENAME}}+1}}]]
|expression=Group>{{PAGENAME}}<<{{#expr: {{PAGENAME}}+1}}
|sort=Start
|sort=Start
|caption_singular=A Group that was Wound Up
|caption_singular=A Group that was Wound Up
Line 44: Line 44:
|headers=Image/Date/Type/Description
|headers=Image/Date/Type/Description
}}{{SMWDocSection
}}{{SMWDocSection
|expression=[[Has objectClass::Website]][[End::>{{PAGENAME}}]][[End::<<{{#expr: {{PAGENAME}}+1}}]]
|expression=Website>{{PAGENAME}}<<{{#expr: {{PAGENAME}}+1}}
|sort=Start
|sort=Start
|caption_singular=A Website that Closed
|caption_singular=A Website that Closed
Line 52: Line 52:
|headers=Image/Date/URL/Description
|headers=Image/Date/URL/Description
}}{{SMWDocSection
}}{{SMWDocSection
|expression=[[Has objectClass::Quotation]][[Has publicationDate::>{{PAGENAME}}]][[Has publicationDate::<<{{#expr: {{PAGENAME}}+1}}]]
|expression=Quotation>{{PAGENAME}}<<{{#expr: {{PAGENAME}}+1}}
|sort=Start
|sort=Start
|caption_singular=A Quotation
|caption_singular=A Quotation
Line 60: Line 60:
|headers=Date/Author(s)/Text
|headers=Date/Author(s)/Text
}}{{SMWDocSection
}}{{SMWDocSection
|expression=[[Died on::~*{{PAGENAME}}*]]
|expression=~*{{PAGENAME}}*
|sort=Died on
|sort=Died on
|caption_singular=A Death
|caption_singular=A Death
Line 68: Line 68:
|headers=Born/Died/Place of death/Cause of death/Summary/Description
|headers=Born/Died/Place of death/Cause of death/Summary/Description
}}{{SMWDocSection
}}{{SMWDocSection
|expression=[[Born on::~*{{PAGENAME}}*]]
|expression=~*{{PAGENAME}}*
|sort=Born on
|sort=Born on
|caption_singular=A Birth
|caption_singular=A Birth

Latest revision as of 22:34, 24 September 2026

The template should only be used on pages which are numerical, e.g. "1967". It does not yet support pages such as 1967/May, but might do one day.
It takes no parameters and makes some or all of the following sections:

New Group(s)

Group(s) that were wound up

Event(s)

New Website(s)

Website(s) that closed

Death(s)

Birth(s)

The pages are listed underneath, sorted by date.