Changes
update with align variable to fix linter problems
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Shows a formatted version of the current date, yesterday's date, or tomorrow's date
=== Usage ===
* <code><nowiki>{{Today cell}}</nowiki></code>
{{Today cell}}
{{-}}
* <code><nowiki>{{Today cell|align=right}}</nowiki></code> (default is left-aligned)
{{Today cell|align=right}}
{{-}}
* <code><nowiki>{{Today cell|+1 day}}</nowiki></code>
{{Today cell|+1 day}}
{{-}}
* <code><nowiki>{{Today cell|-1 day}}</nowiki></code>
{{Today cell|-1 day}}
{{-}}
* <code><nowiki>{{Today cell|+1 month|label=Next month:}}</nowiki></code>
{{Today cell|+1 month|label=Next month:}}
{{-}}
* <code><nowiki>{{Today cell|-1 month|label=Last month:}}</nowiki></code>
{{Today cell|-1 month|label=Last month:}}
{{-}}
* <code><nowiki>{{Today cell|-1 month|label=Last month:|align=right}}</nowiki></code>
{{Today cell|-1 month|label=Last month:|align=right}}
{{-}}
=== Technical details ===
This template uses the <code>#date</code> parserfunction to compute the current, previous, and future dates. Any offset accepted by this parserfunction can be used here. See the MediaWiki [[mw:Help:Extension:ParserFunctions|Help:Extension:ParserFunctions]] page for more details.
=== See also ===
* {{tl|Tomorrow cell}}
* {{tl|Yesterday cell}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Date-computing templates based on current time]]
</includeonly>
<includeonly>
[[ru:Участник:Box/Календарик]]
</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Shows a formatted version of the current date, yesterday's date, or tomorrow's date
=== Usage ===
* <code><nowiki>{{Today cell}}</nowiki></code>
{{Today cell}}
{{-}}
* <code><nowiki>{{Today cell|align=right}}</nowiki></code> (default is left-aligned)
{{Today cell|align=right}}
{{-}}
* <code><nowiki>{{Today cell|+1 day}}</nowiki></code>
{{Today cell|+1 day}}
{{-}}
* <code><nowiki>{{Today cell|-1 day}}</nowiki></code>
{{Today cell|-1 day}}
{{-}}
* <code><nowiki>{{Today cell|+1 month|label=Next month:}}</nowiki></code>
{{Today cell|+1 month|label=Next month:}}
{{-}}
* <code><nowiki>{{Today cell|-1 month|label=Last month:}}</nowiki></code>
{{Today cell|-1 month|label=Last month:}}
{{-}}
* <code><nowiki>{{Today cell|-1 month|label=Last month:|align=right}}</nowiki></code>
{{Today cell|-1 month|label=Last month:|align=right}}
{{-}}
=== Technical details ===
This template uses the <code>#date</code> parserfunction to compute the current, previous, and future dates. Any offset accepted by this parserfunction can be used here. See the MediaWiki [[mw:Help:Extension:ParserFunctions|Help:Extension:ParserFunctions]] page for more details.
=== See also ===
* {{tl|Tomorrow cell}}
* {{tl|Yesterday cell}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Date-computing templates based on current time]]
</includeonly>
<includeonly>
[[ru:Участник:Box/Календарик]]
</includeonly>