Editing
Module:Sports table/styledoc
(section)
From Thetacola Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Matches=== {| class="wikitable" style="background:white;" |- |'''What you type''' |{{#tag:pre|<nowiki>{{#invoke:Sports table|main|</nowiki>style={{{style_option|WDL}}} <nowiki>|show_matches=true</nowiki> <nowiki>|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE</nowiki> <nowiki>|name_AAA=Team A |short_AAA=AAA</nowiki> <nowiki>|name_BBB=Team B |short_BBB=BBB</nowiki> <nowiki>|name_CCC=Team C |short_CCC=CCC</nowiki> <nowiki>|name_DDD=Team D |short_DDD=DDD</nowiki> <nowiki>|name_EEE=Team E |short_EEE=EEE</nowiki> <nowiki>|match_AAA_BBB=1–0</nowiki> <nowiki>|match_AAA_CCC=0–1</nowiki> <nowiki>|match_AAA_DDD=<small>16 Nov '14</small></nowiki> <nowiki>|match_AAA_EEE=<small>3 Sep '15</small></nowiki> <nowiki>|match_BBB_AAA=</nowiki> <nowiki>|match_BBB_CCC=<small>3 Sep '15</small></nowiki> <nowiki>|match_BBB_DDD=B–D</nowiki> <nowiki>|match_BBB_EEE=<small>3 Sep '15</small></nowiki> <nowiki>|match_CCC_AAA=<small>16 Nov '14</small></nowiki> <nowiki>|match_CCC_BBB=C–B</nowiki> <nowiki>|match_CCC_DDD=<small>16 Nov '14</small></nowiki> <nowiki>|match_CCC_EEE=C–E</nowiki> <nowiki>|match_DDD_AAA=D–A</nowiki> <nowiki>|match_DDD_BBB=<small>3 Sep '15</small></nowiki> <nowiki>|match_DDD_CCC=D–C</nowiki> <nowiki>|match_DDD_EEE=<small>3 Sep '15</small></nowiki> <nowiki>|match_EEE_AAA=</nowiki> <nowiki>|match_EEE_BBB=9–5</nowiki> <nowiki>|match_EEE_CCC=<small>16 Nov '14</small></nowiki> <nowiki>|match_EEE_DDD=E–D |match_EEE_DDD_note=Pitch was taken by [[Martian|Martians]], the match will be played in [[Iani Chaos]] instead.</nowiki> <nowiki>}}</nowiki>}} |- |'''What it looks like''' |{{#invoke:Sports table|main|style={{{style_option|WDL}}} |show_matches=true |team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE |name_AAA=Team A |short_AAA=AAA |name_BBB=Team B |short_BBB=BBB |name_CCC=Team C |short_CCC=CCC |name_DDD=Team D |short_DDD=DDD |name_EEE=Team E |short_EEE=EEE |match_AAA_BBB=1–0 |match_AAA_CCC=0–1 |match_AAA_DDD=<small>16 Nov '14</small> |match_AAA_EEE=<small>3 Sep '15</small> |match_BBB_AAA= |match_BBB_CCC=<small>3 Sep '15</small> |match_BBB_DDD=B–D |match_BBB_EEE=<small>3 Sep '15</small> |match_CCC_AAA=<small>16 Nov '14</small> |match_CCC_BBB=C–B |match_CCC_DDD=<small>16 Nov '14</small> |match_CCC_EEE=C–E |match_DDD_AAA=D–A |match_DDD_BBB=<small>3 Sep '15</small> |match_DDD_CCC=D–C |match_DDD_EEE=<small>3 Sep '15</small> |match_EEE_AAA= |match_EEE_BBB=9–5 |match_EEE_CCC=<small>16 Nov '14</small> |match_EEE_DDD=E–D |match_EEE_DDD_note=Pitch was taken by [[Martian|Martians]], the match will be played in [[Iani Chaos]] instead. }} |} The match list can be added by displayed by defining {{para|show_matches|yes}} (or y, t, true or 1 or upper case variant of those). The column headers for the match results are defined by {{para|short_TTT}} for team TTT. The results for the game TTT vs. SSS can now be input by {{para|match_TTT_SSS}}. Future games can be listed with their date (possibly between small tags) or they can be left blank. (Note that this calls [[Module:Sports results]] to build the match table.) A note can be added to a result using {{para|match_TTT_SSS_note}}, this note can be shared with team TTT note by setting {{para|match_TTT_SSS_note|TTT}} when {{para|note_TTT}} is set. The width of the match columns can be customized by setting {{para|match_col_width}} to the desired width. <includeonly> <!-- Categories go here and interwikis go in Wikidata. --> {{When pagename is | /doc = | /sandbox = | other = [[Category:Fb templates]] }}</includeonly>
Summary:
Please note that all contributions to Thetacola Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Module
Discussion
Read
Edit source
History
Page actions
Module
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information