Module:Sports series/doc: Difference between revisions

Content deleted Content added
Line 93:
|style="text-align:center;vertical-align:top"|{{TOC tab|type}}
|style="background-color:#fff"|Determines the type of competition to be featured. Valid values are <code>club</code> (default, for club competitions) or <code>NT</code> (for national team competitions).
 
Using <code>WNT</code> instead of <code>NT</code> allows for the default flag template being changed to {{tl|fbw}} without setting {{para|flag}}. Using <code>MNT</code> acts as an alias for <code>NT</code>. Note that while the documentation will make mention of what setting {{para|type|NT}} does to the output, it will be equally true for also setting it to <code>WNT</code> or <code>MNT</code>.
|style="background-color:#fff"|String
 
Line 98 ⟶ 100:
 
|style="text-align:center;vertical-align:top"|{{TOC tab|flag}}
|style="background-color:#fff"|Determines the [[Wikipedia:WikiProject Flag Template|flag icon template]] which will be used in the table. The default for {{para|type|club}} is {{tl|fbaicon}}, while the default for {{para|type|NT}} is {{tl|fb}}, and the default for {{para|type|WNT}} is {{tl|fbw}}. If set to a negative value (e.g. n, no, 0), no flags will be displayed for {{para|type|club}} (this will have no impact if {{para|type|NT}}). For {{para|type|NT}}, the text "-rt" is always added to the end of the template name for the first team column, allowing for the flag to be aligned to the right side of the cell.
 
For {{para|type|club}}, flags are displayed next to club names, while for {{para|type|NT}} the national team codes/names are wrapped into the national team flag template. To support national team flag templates that use the first parameter to pass a special value (e.g. for youth team templates, such as {{tl|fbu}} which passes the age level), use a "+" in between the template name and the first parameter value (e.g. {{para|flag|fbu+17}} generates code for <code><nowiki>{{fbu|17|<country>}}</nowiki></code>).