Template:ConditionIssue

From National Gallery Research Wiki
Jump to navigation Jump to search

Template Example

This template has been set-up to allow users to define the details of specific condition examination issues in relation to a given painting. As an example on the NG1: Condition page this template could be used multiple times to identify each condition issue identified on NG1:

Example Code Options

{{ConditionIssue
 |date=Indicate the date, or time span with which this event took place.
 |(not really needed)number=1,2,3,4,etc : Sequential number of issues raised on a particular 
   date. For new dates i.e. for new examination the number for each set 
   of issues should start again at 1.
 |name=The name of the person carrying out the check.
 |note=Free text description of the actual modification event including 
   all of the required details.
 |display=Yes or No: This template is used to define an internal object, 
   part of it can be displayed directly or lists can be displayed 
   separately using #ask: queries.
 |pending=Yes or No: Does the check describe an issue that requires some 
   action which is still pending.
 |rtSupport=Yes or No, Issue is related to the support
 |rtPrep=Yes or No, Issue is related to the preparation layers
 |rtPaint=Yes or No, Issue is related to the paint layers
 |rtSurface=Yes or No, Issue is related to the surface coatings
}}

In addition to displaying the details entered the following internal semantic object will also be created with the defined semantic properties.

{{#set_internal:P35F-has_identified
|P14F-carried out by#list={{{name|}}}
|PN12F-has start date={{{date|}}}
|PN19F-is_considered_to_be_complete={{#ifeq: {{{pending|}}} | Yes | No | Yes}}
|P3F-has_note={{{note|}}}
|P2F-has_type=Category:E14-Condition_Assessment 
|P34F-concerned={{#ask: [[P44F-has condition::{{PAGENAME}}]] }}
|PN15F-is_related_to={{#ifeq: {{{rtSupport|}}}| Yes |Category:EN13-Support|}}
|PN15F-is_related_to={{#ifeq: {{{rtPrep|}}}| Yes |Category:EN48-Preparation_Layers|}}
|PN15F-is_related_to={{#ifeq: {{{rtPaint|}}}| Yes |Category:EN46-Paint_Layers|}}
|PN15F-is_related_to={{#ifeq: {{{rtSurface|}}}| Yes |Category:EN47-Surface_Coatings|}}
}}

Example Code

{{ConditionIssue
 |date=2011
 |name=Joseph Padfield
 |note=Free text description of the actual modification event including 
   all of the required details.
 |display=Yes
 |pending=No
 |rtSupport=Yes
 |rtPrep=No
 |rtPaint=No
 |rtSurface=Yes
}}
  • 2011: Free text description of the actual modification event including all of the required details. (Joseph Padfield){{#set_internal:P35F-has_identified
P14F-carried out by#list=Joseph Padfield PN12F-has start date=2011 PN19F-is_considered_to_be_complete=Yes P3F-has_note=Free text description of the actual modification event including all of the required details. P2F-has_type=Category:E14-Condition_Assessment P34F-concerned={{#ask: P44F-has condition::ConditionIssue|link=none }} PN15F-is_related_to=Category:EN13-Support PN15F-is_related_to= PN15F-is_related_to= PN15F-is_related_to=Category:EN47-Surface_Coatings

}}