Template:Infobox room: Difference between revisions

From Warwick Wiki
No edit summary
No edit summary
Line 5: Line 5:
<group>
<group>
<header>Information</header>
<header>Information</header>
<data source="capacity"><label>Capacity</label></data>
<data source="capacity"><label>Capacity</label><format>{{{capacity}}} people{{{capacity ref|{{#if:{{{av page|}}}|{{ref|{{cite|title={{{title|{{PAGENAME}}}}}|author=[[IDG]]|url={{{av page|}}}}}}}}}}}}</data>
<data source="controlled by"><label>Controlled by</label></data>
<data source="controlled by"><label>Controlled by</label></data>
<data source="bookable through"><label>Bookable through</label><format>{{{bookable through}}}{{#if:{{{booking url|}}}|, [{{{booking url}}} link]}}{{#if:{{{bookable through2|}}}|{{{bookable through2}}}{{#if:{{{booking url2|}}}|, [{{{booking url2}}} link]}}}}</format></data>
<data source="bookable through"><label>Bookable through</label><format>{{{bookable through}}}{{#if:{{{booking url|}}}|, [{{{booking url}}} link]}}{{#if:{{{bookable through2|}}}|{{{bookable through2}}}{{#if:{{{booking url2|}}}|, [{{{booking url2}}} link]}}}}</format></data>

Revision as of 20:41, 15 July 2025

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="title"><default>{{PAGENAME}}</default></title>
  • 2
    <image source="image"/>
  • 3
  • 4
    <group>
  • 5
    <header>Information</header>
  • 6
    <data source="capacity"><label>Capacity</label><format>{{{capacity}}} people{{{capacity ref|{{#if:{{{av page|}}}|{{ref|{{cite|title={{{title|{{PAGENAME}}}}}|author=[[IDG]]|url={{{av page|}}}}}}}}}}}}</data>
  • 7
    <data source="controlled by"><label>Controlled by</label></data>

    Opening and ending tag mismatch

  • 8
    <data source="bookable through"><label>Bookable through</label><format>{{{bookable through}}}{{#if:{{{booking url|}}}|, [{{{booking url}}} link]}}{{#if:{{{bookable through2|}}}|{{{bookable through2}}}{{#if:{{{booking url2|}}}|, [{{{booking url2}}} link]}}}}</format></data>

    Incorrect XML markup. Please validate your XML

  • 9
    </group>
  • 10
  • 11
    <group>
  • 12
    <header>Location</header>
  • 13
    <data source="campus"><label>Campus</label>
  • 14
    </data><data source="building"><label>Building</label></data>
  • 15
    <data source="floor"><label>Floor</label></data>
  • 16
    <data source="campus map"><format><center>[{{{campus map}}} View on campus map]</center></format></data>
  • 17
    <data source="map"><format><center>{{#display_map:{{{map}}}|height=150}}</center></format></data>
  • 18
    </group>
  • 19