Template:Infobox tournament: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Infobox.css" />
<noinclude>
<noinclude>
{{#cargo_declare:
{{#cargo_declare:
_table = Tournaments
_table = Tournaments
|sponsors = List (,) of String
|sponsors = List (,) of String
|startdate = String
|start = Date
|enddate = String
|end = Date
|prize = String
|prize = Integer
|type = String
|type = List (,) of String
|icon = File
|participants = Integer
|organizer = List (,) of Page
|featured = Boolean
|female_only = Boolean
|educational = List (,) of String
|formatFilter = List (,) of String
|country = String
|logoAll = File
|logoLight = File
|logoDark = File
|iconAll = File
|iconLight = File
|iconDark = File
|venue = List (,) of Page
}}
}}
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table = Tournaments
<includeonly>
{{#cargo_store:
_table = Tournaments
|sponsors = {{{sponsors|}}}
|sponsors = {{{sponsors|}}}
|startdate = {{{start|}}}
|start = {{{start|}}}
|enddate = {{{end|}}}
|end = {{{end|}}}
|prize = {{{prize|}}}
|prize = {{{prize|}}}
|type = {{{type|}}}
|type = {{{type|}}}
|icon = {{#if {{{icon|}}} | {{{icon|}}} | {{{image|}}}}}
|organizer = {{Tournament/Organizer|list={{{organizer|}}} }}
}}
|participants = {{{participants|}}}
{{#invoke:Infobox tournament|main}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
|featured = {{{featured|}}}
|female_only = {{{female_only|}}}
|educational = {{{educational|}}}
|formatFilter = {{{formatFilter|}}}
|country = {{{country|}}}
|logoAll = {{{logoAll|}}}
|logoLight = {{{logoLight|}}}
|logoDark = {{{logoDark|}}}
|iconAll = {{{iconAll|}}}
|iconLight = {{{iconLight|}}}
|iconDark = {{{iconDark|}}}
|venue = {{{venue|}}}
}}{{#invoke:Infobox tournament|main}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 18:24, 26 April 2024

This template defines the table "Tournaments". View table.

Documentation (view - edit)

To add a tournament go to https://twogpedia.com/Form:Tournament and to edit a tournament just use the "Edit with form" button.

For a list of country codes / names check https://twogpedia.com/Module:Localisation/Data

For additional links check https://twogpedia.com/Module:Links