Content deleted Content added
(3 intermediate revisions by one other user not shown) | |||
Line 12:
For teams whose article is [[WP:DAB|disambiguated]]:
<pre>
["TEAM CODE"] = {"Team full name", "Team short name",
For teams with multiple or historical names (where {{code|XXXX}} represents the 4-digit start year and {{code|YYYY}} represents the 4-digit end year):
<pre>
["TEAM CODE"] = {"Team full name", "Team short name",
["
["
["
..
["
},</pre>
Line 31:
== Advanced structure ==
{{code|Team full name}} must match to the team's article title. For case of [[WP:DAB|disambiguation]], for example:
<pre>ALA = {"Alaska Aces", "Alaska",
Instead of linking to ambiguous article [[Alaska Aces]], the {{code|dab}} parameter will appropriately link it to [[Alaska Aces (PBA)]].
== Test table ==
{{#ifeq:{{SUBPAGENAME}}|sandbox
|{{#invoke:PHL sports team/testtable|main|league=PBA/sandbox|tname=PBA team}}
|{{#invoke:PHL sports team/testtable|main|league=PBA|tname=PBA team}}
}}
▲Then, {{demo-inline|<nowiki>{{PBA team|ALA|season=2019}}</nowiki>}}, now links to [[2019 Alaska Aces season]]
<includeonly>{{sandbox other | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Sports modules]]
}}</includeonly>
|