Changes

325 bytes added ,  23:17, 27 October 2020
doc for space param
Line 13: Line 13:  
Complete argument list:
 
Complete argument list:
 
  <nowiki>{{</nowiki>[[Template:Season|Season]] | ''season'' | ''day''
 
  <nowiki>{{</nowiki>[[Template:Season|Season]] | ''season'' | ''day''
           | size=''px'' | width=''widthpluspx'' | all=''text_for_all'' | sortkey=true
+
           | size=''px'' | width=''widthpluspx'' | all=''text_for_all'' | sortkey=true | space=''value''
 
           | text_only=true | no_translate=true <nowiki>}}</nowiki>
 
           | text_only=true | no_translate=true <nowiki>}}</nowiki>
   Line 44: Line 44:     
* '''sortkey=true'''
 
* '''sortkey=true'''
** If set, a hidden span containing a numeric sortkey will be added to the output, to improve table sorting. (Seasons will be sorted in order Spring, Summer, Fall, Winter, instead of being sorted alphabetically).
+
** If set, a hidden span containing a numeric sortkey will be added to the output, to improve table sorting. The sortkey will causes seasons to be sorted in order Spring, Summer, Fall, Winter, instead of being sorted alphabetically. Plus any provided <tt>day</tt> will be included in the sortkey.
 +
 
 +
* '''space=''value'''
 +
** Provide the text that will separate multiple seasons.  Default value is "&#32;•&#32;".
    
* '''text_only=true'''
 
* '''text_only=true'''
Line 61: Line 64:  
{{Season|All|do_short=true}}
 
{{Season|All|do_short=true}}
 
{{Season|All|size=48}}
 
{{Season|All|size=48}}
{{Season|Summer|24}}</pre>
+
{{Season|Summer|24}}
 +
{{Season|Spring,Summer|space=/|sortkey=true}}
 +
</pre>
    
Results:<br/>
 
Results:<br/>
Line 70: Line 75:  
{{Season|All|do_short=true}}<br/>
 
{{Season|All|do_short=true}}<br/>
 
{{Season|All|size=48}}<br/>
 
{{Season|All|size=48}}<br/>
{{Season|Summer|24}}
+
{{Season|Summer|24}}<br/>
 +
{{Season|Spring,Summer|space=&#32;/&#32;|sortkey=true}}
    
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>