Template:Modification ul: Difference between revisions

From National Gallery Research Wiki
Jump to navigation Jump to search
(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 dis...")
 
No edit summary
 
Line 6: Line 6:
'''Variables'''
'''Variables'''
* Page or internal object title.
* Page or internal object title.
* PN12F-has start date
# Pagename
* PN13F-has end date
# PN12F-has start date
* P3F-has_note
# PN13F-has end date
* P14F-carried out by
# P3F-has_note
* P32F-used general technique
# P14F-carried out by
* PN15F-is_related_to
# P32F-used general technique
# PN15F-is_related_to
# P2F-has_type


As an example:
As an example:
<pre>
<pre>
  {{Template:Modification_ul|NG54: Treatment#1|1934|1956|We did lots of great  
  {{Modification_ul|NG54: Treatment#1|1934|1956|We did lots of great  
   things during this time|Joseph Padfield}}
   things during this time|Joseph Padfield}}
</pre>
</pre>
|-
|-
|  {{Template:Modification_ul|NG54: Treatment#1|1934|1956|We did lots of great things during this time|Joseph Padfield}}
|  {{Modification_ul|NG54: Treatment#1|1934|1956|We did lots of great things during this time|Joseph Padfield}}
|}
|}
</noinclude>
</noinclude>
<includeonly>* '''{{{2|}}}{{#if: {{{3|}}}|{{#ifeq: {{{2|}}}|{{{3|}}}||-{{{3|}}}}}|}}''': {{#ngimport:what=getObject|which={{{1|}}}}}, {{#if: {{{4|}}}|{{{4}}}|}} {{#if: {{{5|}}}|({{{5|}}}).|}}</includeonly>
<includeonly>* '''{{{2|}}}{{#if: {{{3|}}}|{{#ifeq: {{{2|}}}|{{{3|}}}||-{{{3|}}}}}|}}''': [[{{#ngimport:what=getObject|which={{{1|}}}}}]], {{#if: {{{4|}}}|{{{4}}}|}} {{#if: {{{5|}}}|({{{5|}}}).|}}</includeonly>

Latest revision as of 14:24, 1 August 2012

Template Example

This template has been set-up to display the details of a given modification formatted as an item in a list.

Variables

  • Page or internal object title.
  1. Pagename
  2. PN12F-has start date
  3. PN13F-has end date
  4. P3F-has_note
  5. P14F-carried out by
  6. P32F-used general technique
  7. PN15F-is_related_to
  8. P2F-has_type

As an example:

 {{Modification_ul|NG54: Treatment#1|1934|1956|We did lots of great 
   things during this time|Joseph Padfield}}
  • 1934-1956: [[{{#ngimport:what=getObject|which=NG54: Treatment#1}}]], We did lots of great things during this time (Joseph Padfield).