Page protected

Difference between revisions of "Template:ExhibitionInfoBox"

From Life After BOB Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
This is the template for Exhibition infoboxes
 
This is the template for Exhibition infoboxes
 
{{#cargo_declare:_table=Exhibitions
 
{{#cargo_declare:_table=Exhibitions
 +
| Image=File
 +
| Image_caption=String
 
  | Exhibition=Page
 
  | Exhibition=Page
 
  | Location=String
 
  | Location=String
 
  | Start_date=Start date
 
  | Start_date=Start date
 
  | End_date=End date
 
  | End_date=End date
 +
| Website=URL
 
}}
 
}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 
{{#cargo_store: _table=Exhibitions
 
{{#cargo_store: _table=Exhibitions
 +
| Image={{Image}}
 +
| Image_caption={{Image caption}}
 
  | Exhibition={{PAGENAME}}
 
  | Exhibition={{PAGENAME}}
 
  | Location={{{Location}}}
 
  | Location={{{Location}}}
 
  | Start_date={{{Start date}}}
 
  | Start_date={{{Start date}}}
 
  | End_date={{{End date}}}
 
  | End_date={{{End date}}}
 +
| Website={{Website}}
 
}}
 
}}
 
<infobox type="exhibition">
 
<infobox type="exhibition">
Line 20: Line 26:
 
     <default>{{PAGENAME}}</default>
 
     <default>{{PAGENAME}}</default>
 
   </title>
 
   </title>
 +
  <image source="image" />
 +
  <data source="Image caption"></data>
 
   <data source="Location"><label>Location:</label></data>
 
   <data source="Location"><label>Location:</label></data>
 
   <data source="Start date"><label>Start Date:</label></data>
 
   <data source="Start date"><label>Start Date:</label></data>
 
   <data source="End date"><label>End Date:</label></data>
 
   <data source="End date"><label>End Date:</label></data>
 +
  <data source="Website"></data>
 
</infobox>
 
</infobox>
 
[[Category:Exhibitions]]
 
[[Category:Exhibitions]]
 
</includeonly>
 
</includeonly>

Revision as of 07:45, 5 June 2021

This is the template for Exhibition infoboxes This template defines the table "Exhibitions". View table.