Template:ListEvents
Template ExampleThis template has been set-up to produced ordered lists of events listed on a specific Object Subpage. As an example on the NG1: Treatment page this template could be used to list all of the defined treatments carried out on NG1: Example Code Options{{ListEvents |no=Specify maximum number of issues to be listed, the default value is 10. |page=name of the page on which the conditions issues have been defined, default value is {{PAGENAME}}. Defining "page" as "+" will return all modifications. |list=Which modifications to list, default is to list all, options can be: support, preparation, paint or surface. in the table. |fsr=Further search restrictions to be added to the ask query. }} Example Code{{ListEvents |title=Test Modifications |which=P31F-has_modified |no=10 |page=NG807: Other |psp=: Treatment |list= }} {{ListEvents |title=Test Conditions |which=P35F-has_identified |no=5 |page=NG807: Other |psp=: Condition |fsr=PN19F-is_considered_to_be_complete::Yes |list= }} | ||||||||||||||||||||||||||||
Test Modifications{{#ask:[[P31F-has_modified::{{#ngimport:what=getObject|which=NG807: Other|extra=: Treatment}}]]
|
?PN12F-has start date | ?PN13F-has end date | ?P3F-has_note | ?P14F-carried out by | ?P32F-used general technique | ?PN15F-is_related_to | ?P2F-has_type | format = template | template = Modification_ul | limit=5 | sort=PN12F-has start date | searchlabel= ... further results |
link=none | order=ASC
}} Test Conditions{{#ask:[[P35F-has_identified::{{#ngimport:what=getObject|which=NG807: Other|extra=: Condition}}]] PN19F-is_considered_to_be_complete::Yes
|
?PN12F-has start date | ?PN13F-has end date | ?P3F-has_note | ?P14F-carried out by | ?P32F-used general technique | ?PN15F-is_related_to | ?P2F-has_type | format = template | template = Condition_ul | limit=5 | sort=PN12F-has start date | searchlabel= ... further results |
link=none | order=ASC
}} |