Template:ListModifications
Jump to navigation
Jump to search
Template ExampleThis template has been set-up to allow users to define the details of a modification event which occurred in relation to the thing being discussed on a given page. As an example on the NG1: Support page this template could be used multiple times to identify each change that was made to the support structure of NG1: Example Code Options{{Modification |name=Add an optional comma separated list of people involved in the event. |technique=Add an optional comma separated list of techniques used during the event. |date=Indicate the date, or time span with which this event took place. |dateTo=Optional second date to indicate the end of a range of years. |display=Display each entry. The default will be to hide all of the individual entries but then display a list using an inline query. |note=Free text description of the actual modification event including all of the required details. |rtSupport=true or false, Modification is related to the support |rtPrep=true or false, Modification is related to the preparation layers |rtPaint=true or false, Modification is related to the paint layers |rtSurface=true or false, Modification 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:P31F-has_modified |P14F-carried out by#list={{{name|}}} |P32F-used general technique#list={{{technique|}}} |PN12F-has start date={{{date|}}} |PN13F-has end date={{{dateTo|}}} |P3F-has_note={{{note|}}} |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{{Modification |name=Joseph Padfield |technique=Edited |date=2011 |dateTo=2012 |display=yes |note=I created then edited this particular template. }} |
|