Content deleted Content added
+dab usage |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 14:
["TEAM CODE"] = {"Team full name", "Team short name", dab="Disambiguated title"},</pre>
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 34:
Sample demo: {{demo-inline|<nowiki>{{PBA team|ALA}}</nowiki>}}
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}}
}}
<includeonly>{{sandbox other | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Sports modules]]
}}</includeonly>
|