Template:Birth date: Difference between revisions
From WikiMD's Wellness Encyclopedia
|
|
| Line 4: |
Line 4: |
| }} | | }} |
| </includeonly> | | </includeonly> |
| <noinclude>
| |
| == Documentation ==
| |
| This template outputs a formatted birth date.
| |
|
| |
| === Usage ===
| |
| <syntaxhighlight lang="mediawiki">
| |
| {{birth|YYYY|MM|DD}}
| |
| </syntaxhighlight>
| |
|
| |
| * `YYYY` - Year of birth (e.g., 1928)
| |
| * `MM` - Month of birth (e.g., 10)
| |
| * `DD` - Day of birth (e.g., 10)
| |
|
| |
| === Example ===
| |
| <syntaxhighlight lang="mediawiki">
| |
| {{birth|1928|10|10}}
| |
| </syntaxhighlight>
| |
|
| |
| Produces:
| |
| ```plaintext
| |
| 1928-10-10
| |
Revision as of 00:59, 7 January 2025