Template:TopicPage: Difference between revisions

AdamZachar (talk | contribs)
No edit summary
AdamZachar (talk | contribs)
No edit summary
Tag: Manual revert
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<strong> Topic Summary: </strong>
<noinclude>[[Category:Templates]]</noinclude>
<includeonly>[[Category:{{#external_value:parenttopic_name|source = CaseData|query = oneTopic|parameters = {{{topic_title}}}}}]]</includeonly>
'''Topic Summary:'''


{{#external_value:topic_summary|source = CaseData|query = oneTopic|parameters = {{{topic_title}}}}}
{{#external_value:topic_summary|source = CaseData|query = oneTopic|parameters = {{{topic_title}}}}}


ID #:
'''List of all child topics:'''
{{#invoke:
TestModule
|topicIDByName
|topicName={{{topic_title}}}
}}


List of all child topics:
{{#invoke:TestModule
{{#invoke:
|recurseLineageByID
TestModule
|parentID={{#invoke:TestModule|topicIDByName|topicName={{{topic_title}}}}}
|recurseLineage
|parentTopic={{{topic_title}}}
}}
}}


List of all cases with topic [[{{{topic_title}}}]]:
'''List of all cases in topic {{{topic_title}}}:'''


{| class="wikitable sortable"
{| class="wikitable"
! Date
! Case Title
! Summary
! Case Summary
! Court
! Case Status
! Case Topic
{{#for_external_table:
{{#for_external_table:
|{{!}}-
  |{{!}}-
   {{!}} {{#ifeq: {{{eventDateFiled}}} | 9999-12-31 | TBD  | {{{eventDateFiled}}} }}
   {{!}} [[{{{caseTitle}}}]]
   {{!}} {{{eventSummary}}} {{#if: {{{eventDocumentLink}}} | [{{{eventDocumentLink}}} SOURCE] | }} {{#if: {{{eventNewsLink}}} | [{{{eventNewsLink}}} NEWS] | }}
   {{!}} {{{caseSummary}}}
   {{!}} [[{{{eventDocketJurisdiction}}}]]
  {{!}} {{{caseStatus}}}
   {{!}} {{{topicName}}}
   |source = CaseData
   |source = CaseData
   |query = caseFutureEvents
   |query = topicIDCasesDescendants
   |data =
   |data = caseID=case_id, caseTitle=case_title, caseSummary=case_summary, caseStatus=case_status, topicName=topic_name
   eventDateFiled=event_datefiled,
  |parameters =
   eventSummary=event_summary,
   {{#invoke:TestModule|topicIDByName|topicName={{{topic_title}}}}},
   eventDocketJurisdiction=docket_jurisdiction,
   {{#invoke:TestModule|topicIDByName|topicName={{{topic_title}}}}},
   eventDocumentLink=event_documentlink,
   {{#invoke:TestModule|topicIDByName|topicName={{{topic_title}}}}},
   eventNewsLink=event_newslink
   {{#invoke:TestModule|topicIDByName|topicName={{{topic_title}}}}},
  |parameters = {{#invoke:
   {{#invoke:TestModule|topicIDByName|topicName={{{topic_title}}}}}
TestModule
|recurseLineage
|parentTopic={{{topic_title}}}
}}
}}
}}
|}
|}
'''List of all upcoming events in topic {{{topic_title}}}:'''
{{Template:TopicTimelineTable|start_date=0|end_date=400000|topic_title={{{topic_title}}}}}
'''List of all events in the past week in topic {{{topic_title}}}:'''
{{Template:TopicTimelineTable|start_date=7|end_date=0|topic_title={{{topic_title}}}}}
'''List of all topics:'''
{{#invoke:TestModule|recurseLineageByID|parentID=0}}