Template:SupportDetails

From National Gallery Research Wiki
Revision as of 16:48, 31 July 2012 by ApiUser (talk | contribs) (Created page with "<noinclude>__NOTOC__ {|cellpadding="10" cellspacing="0" border="1" style="border-style: solid; border-color: #F00" | ==Template Example== This template has been set-up to allo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template Example

This template has been set-up to allow users to define the details of sub-sections of a painting support being discussed on a given page. As an example on the NG1: Support page this template could be used define the Original Support and the Auxiliary Support:

Example Code Options

{{SupportDetails
 |class=Enter one group term: Original, Secondary, Auxiliary
 |removed=If this is true then the support section will be defined 
as previous part of the support. If blank the default is to define 
this section as a current part of the support.
 |type=Enter an appropriate support material type, this will link to a 
separately defined description page: Poplar Panel, Stretcher, 
Canvas, Linen, etc.
 |note=Free text description of this specific section of the support.
}}

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

P46F.is_composed_of
{{#set_internal:PN18B-was_incorporated_in OR P45B-is_incorporated_in
|P2F-has_type={{{class|}}} Support
|P45F-consists_of={{{type|}}}
|P3F-has_note={{{note|}}}
}}

Example Code

{{SupportDetails
 |class=Original
 |type=Poplar Panel 
 |note=Five boards of poplar with a vertical grain. Appears to have 
had 3 (original??) horizontal tapering dovetail battens.
}}

Original Support: Poplar Panel

Five boards of poplar with a vertical grain. Appears to have had 3 (original??) horizontal tapering dovetail battens.{{#set_internal:P45B-is_incorporated_in

P2F-has_type=Original Support P45F-consists_of=Poplar Panel P3F-has_note=Five boards of poplar with a vertical grain. Appears to have had 3 (original??) horizontal tapering dovetail battens.

}}