Template:DOWs/doc
< Template:DOWs
Jump to navigation
Jump to search
Revision as of 20:30, 31 July 2016 by imported>Crissov (←Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==...')
| This is a documentation subpage for Template:DOWs. It contains usage information, categories and other content that is not part of the original template page. |
Usage
The templates {{Monday}}, {{Tuesday}}, {{Wednesday}}, {{Thursday}}, {{Friday}}, {{Saturday}} and {{Sunday}} output the respective names of the days of the week (alias ‘DOW’) in a specified manner, mostly for use within other (tabular) templates as a column or row header, especially {{DOWs}}.
Optional parameters {{DOWs}}
- class
- optional class name(s) for the whole table row
- style
- optional CSS for the whole table row
- left
- if supplied is used as the contents of hte first teble cell left of the DOWs
left= colspan=2| Textcan be used - letters
- passed as first argument to DOW templates
- width
- passed through to the DOW templates
Optional parameters DOW templates
- 1
- The type of the DOW designation (symbol, abbr, name, code, number) or the length of its abbreviation (1–3 letters, full) is specified by the first parameter.
- 2
- If a header table cell is desired, a literal exclamation mark
!must be supplied as a second parameter - 3 = width
- The cell and hence column width (HTML syntax, not CSS)
- 4 = title
- The hover tip for the cell defaults to the full name in Englsih, but can be set explicitly.