Page protected

Difference between revisions of "Template:ExhibitionInfoBox"

From Life After BOB Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> {{#invoke:Protection banner|main|small=yes}} This is the template for Exhibition infoboxes {{#cargo_declare:_table=Exhibitions | Exhibition=Page | Location=Strin...")
 
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
{{#invoke:Protection banner|main|small=yes}}
 
{{#invoke:Protection banner|main|small=yes}}
This is the template for Exhibition infoboxes
+
This is the template for Exhibition infoboxes.
 
{{#cargo_declare:_table=Exhibitions
 
{{#cargo_declare:_table=Exhibitions
 +
| Image=File
 +
| Exhibition_name=String
 
  | Exhibition=Page
 
  | Exhibition=Page
 
  | Location=String
 
  | Location=String
  | Start_date=Start date
+
  | Start_date=String
  | End_date=End date
+
  | End_date=String
 +
| Website=URL
 
}}
 
}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#cargo_store: _table=Objects
+
{{#cargo_store: _table=Exhibitions
 +
| Image={{{image}}}
 +
| Exhibition_name={{{Exhibition name}}}
 
  | 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">
 
   <title source="name">
 
   <title source="name">
     <default>{{PAGENAME}}</default>
+
     <default>{{{Exhibition name}}}</default>
 
   </title>
 
   </title>
 +
  <image source="image" />
 
   <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"><label>Website:</label></data>
 
</infobox>
 
</infobox>
 +
[[Category:Exhibitions]]
 
</includeonly>
 
</includeonly>

Latest revision as of 19:56, 3 September 2021

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