Template:Football League: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="founded"> <label>Founded</label> </data> <data source="numberteams"> <label>Number of teams</label> </data> <data source="internationalcups"> <label>International cup(s)</label> </data> <data source="currentchampions"> <label>Current champions</label> </data> <data source="...")
 
No edit summary
 
Line 31: Line 31:
   <data source="currentseason">
   <data source="currentseason">
     <label>Current:</label>
     <label>Current:</label>
  </data>
   </data>
   </data>
</infobox>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
{{Better Town Infobox (EMC)
|title1=Example
|image1=Example
|caption1=Example
|founded=Example
|numberteams=Example
|internationalcups=Example
|currentchampions=Example
|mostchampionships=Example
|mostappearances=Example
|topgoalscorer=Example
|discord=Example
|currentseason=Example
}}
</pre>
</noinclude>
</noinclude>

Latest revision as of 20:38, 24 February 2023

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="title1">
  • 2
    <default>{{PAGENAME}}</default>
  • 3
    </title>
  • 4
    <image source="image1">
  • 5
    <caption source="caption1"/>
  • 6
    </image>
  • 7
    <data source="founded">
  • 8
    <label>Founded</label>
  • 9
    </data>
  • 10
    <data source="numberteams">
  • 11
    <label>Number of teams</label>
  • 12
    </data>
  • 13
    <data source="internationalcups">
  • 14
    <label>International cup(s)</label>
  • 15
    </data>
  • 16
    <data source="currentchampions">
  • 17
    <label>Current champions</label>
  • 18
    </data>
  • 19
    <data source="mostchampionships">
  • 20
    <label>Most championships</label>
  • 21
    </data>
  • 22
    <data source="mostappearances">
  • 23
    <label>Most appearances</label>
  • 24
    </data>
  • 25
    <data source="topgoalscorer">
  • 26
    <label>Top goalscorer</label>
  • 27
    <data source="discord">
  • 28
    <label>Discord server</label>
  • 29
    </data>
  • 30
    <data source="currentseason">
  • 31
    <label>Current:</label>
  • 32
    </data>
  • 33

    Opening and ending tag mismatch

    Premature end of tag

Example usage:

{{Better Town Infobox (EMC)
|title1=Example
|image1=Example
|caption1=Example
|founded=Example
|numberteams=Example
|internationalcups=Example
|currentchampions=Example
|mostchampionships=Example
|mostappearances=Example
|topgoalscorer=Example
|discord=Example
|currentseason=Example
}}