Template:Infobox ERAProduct: Difference between revisions

From Goober Games
No edit summary
No edit summary
Line 9: Line 9:
<data source="code"><label>'''Code'''</label></data>
<data source="code"><label>'''Code'''</label></data>
<data source="upc"><label>'''UPC'''</label></data>
<data source="upc"><label>'''UPC'''</label></data>
<data source="available"><label>'''Available'''</label></data>
<!--- <data source="available"><label>'''Available'''</label></data> --->
</group>
</group>
    <header>[{{{buylink}}} Order this product]</header>
<!---    <header>[{{{buylink}}} Order this product]</header> --->
</infobox>
</infobox>
Line 26: Line 26:
|code          =
|code          =
|upc            =
|upc            =
<!---|available      =
|available      =
|buylink        =--->
|buylink        =
}}
}}
</pre>
</pre>

Revision as of 19:30, 21 May 2024

There is a problem with parsing the infobox

  • 0
  • 1
    <group>
  • 2
    <title source="title"><default>{{PAGENAME}}</default><format>{{{title|{{PAGENAME}}}}}</format></title>
  • 3
    <media source="image">
  • 4
    <caption source="caption"><small>{{{caption}}}</small></caption>
  • 5
    </media>
  • 6
    </group>
  • 7
    <group>
  • 8
    <data source="code"><label>'''Code'''</label></data>
  • 9
    <data source="upc"><label>'''UPC'''</label></data>
  • 10
    <!--- <data source="available"><label>'''Available'''</label></data> --->

    Incorrect XML markup. Please validate your XML

  • 11
    </group>
  • 12
    <!--- <header>[{{{buylink}}} Order this product]</header> --->

    Incorrect XML markup. Please validate your XML

  • 13
  • 14

    Incorrect XML markup. Please validate your XML

    Incorrect XML markup. Please validate your XML


Template for an ERA Product infobox.

{{Infobox Generic
|title          =
|image          =
|caption        =
|code           =
|upc            =
|available      =
|buylink        =
}}

Notes:

  • If "title" is omitted, it will default to the name of the page.