Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Sports table/styledoc
(section)
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!
====Team highlighting and partial table==== {| class="wikitable" style="background:white;" |- |'''What you type''' |{{#tag:pre|<nowiki>{{#invoke:Sports table|main|</nowiki>style={{{style_option|WDL}}} <nowiki>|showteam=DDD</nowiki> <nowiki>|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE</nowiki> <nowiki>|name_AAA=Team A</nowiki> <nowiki>|name_BBB=Team B</nowiki> <nowiki>|name_CCC=Team C</nowiki> <nowiki>|name_DDD=Team D</nowiki> <nowiki>|name_EEE=Team E</nowiki> <nowiki>|show_limit=3</nowiki> <nowiki>}}</nowiki>}} |- |'''What it looks like''' |{{#invoke:Sports table|main|style={{{style_option|WDL}}} |showteam=DDD |team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE |name_AAA=Team A |name_BBB=Team B |name_CCC=Team C |name_DDD=Team D |name_EEE=Team E |show_limit=3 }} |} When using a table on a team (season) page, you might want to highlight the team (and possibly only show part of the table), especially after a template call to a long league table. Team TTT is highlighted by {{para|showteam|TTT}}. A limited part of the table is shown by {{para|show_limit}}, with the number indicating the number of position to show (if this is an even number, and it is in the middle of the table, then this number will be rounded up to the next odd number to show symmetry above and below). A table can also start at position N, by using {{para|highest_pos|N}} in the module call.
Summary:
Please note that all contributions to Stockhub 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
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)