Difference between revisions of "Template:Infobox game/row/taxonomy/sports"

From PCGamingWiki, the wiki about fixing PC games
(rugby)
(added vardefines for Cargo; added row validity check)
 
Line 1: Line 1:
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<td class="template-infobox-type">Sports</td>
 
<td class="template-infobox-type">Sports</td>
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#switch: {{lc:€€€€€}}
+
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#vardefine:sports|{{#if:{{#var:sports}}|{{#var:sports}},€€€€€|€€€€€}}}}{{#switch: {{lc:€€€€€}}
 
| american football      = {{Glossary:American football|uc}}                                                  [[Category:American football]]
 
| american football      = {{Glossary:American football|uc}}                                                  [[Category:American football]]
 
| australian football    = {{Glossary:Australian football|uc}}                                                [[Category:Australian football]]
 
| australian football    = {{Glossary:Australian football|uc}}                                                [[Category:Australian football]]
Line 37: Line 37:
 
| water sports          = {{Glossary:Water sports|uc}}                                                      [[Category:Water sports]]
 
| water sports          = {{Glossary:Water sports|uc}}                                                      [[Category:Water sports]]
 
| wrestling              = {{Glossary:Wrestling|uc}}                                                          [[Category:Wrestling]]
 
| wrestling              = {{Glossary:Wrestling|uc}}                                                          [[Category:Wrestling]]
| #default              = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
+
| #default              = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (Taxonomy)]]
 
}}
 
}}
 
}}</td>
 
}}</td>
</tr>}}
+
</tr>}}{{#switch:{{#var:section}}
</includeonly><noinclude>{{Documentation}}</noinclude>
+
|Infobox game
 +
|monetization
 +
|microtransactions
 +
|modes
 +
|pacing
 +
|perspectives
 +
|controls
 +
|genres={{#vardefine:section|sports}}
 +
|#Default = [[Category:Invalid row order (Taxonomy)]]
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:50, 4 September 2021

Documentation for the above template (sometimes hidden from view).
Please refer to Taxonomy.
Category Definition Notes Examples
American football Codes of gridiron football, including American football and Canadian football. MobyGames
Australian football Also known as Australian rules football or "Aussie Rules".
Baseball Incorporates the bat-and-ball sports of baseball and softball. MobyGames
Basketball MobyGames
Bowling Usually referring to ten-pin bowling; other forms of bowling (e.g. candlepin, duckpin) are rare. Does not need to use traditional balls, lanes and/or pins (e.g. Elf Bowling). MobyGames
Boxing MobyGames
Cricket MobyGames
Darts/target shooting These games simulate target shooting with either darts, guns, bows or other projectiles for sport. MobyGames
Dodgeball MobyGames
Extreme sports
Fictional sport A fictional depicted sport.
Fishing MobyGames
Football (Soccer) Association football. MobyGames
Golf Golf or miniature golf. MobyGames
Handball
Hockey Ice hockey and field hockey. MobyGames
Horse Managing horses or horse competitions. MobyGames
Lacrosse
Martial arts Including mixed martial arts.
Mixed sports Multiple sports, similar to the Olympics. MobyGames
Paintball MobyGames
Parachuting
Pool or snooker Referring to such cue sports (billiards). MobyGames
Racquetball/squash MobyGames
Rugby Any of the rugby union, rugby league, or rugby sevens sports disciplines.
Sailing/boating These games simulate piloting or racing sailboats, wind sails, rowing boats, powerboats, etc. MobyGames
Skateboarding MobyGames
Skating Including roller skating and ice skating.
Snowboarding or skiing MobyGames
Surfing MobyGames
Table tennis MobyGames
Tennis MobyGames
Volleyball MobyGames
Water sports Jet skis, wakeboarding, scuba diving, etc. MobyGames
Wrestling Including competitive forms of wrestling (e.g. freestyle wrestling, Greco-Roman/Graeco-Roman/classical wrestling) or theatrical forms of wrestling made "real" thanks to video games (i.e. professional wrestling). MobyGames