Difference between revisions of "Template:CH8rDOB"

From Crystal Path
Jump to navigationJump to search
 
Line 1: Line 1:
{{#if:{{{1|}}}|{{CH8rBirthdate|{{{1}}}}}|}} {{#if:{{{2|}}}|{{{2}}}|}}{{#ifeq:{{{3|}}}|0|, {{{3}}}|}}<noinclude>
+
{{#if:{{{1|}}}|{{CH8rBirthdate|{{{1}}}}}|}} {{#if:{{{2|}}}|{{{2}}}|}}{{#if:{{{3|}}}|, {{{3}}}|}}<noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Latest revision as of 15:31, 15 April 2011

Usage

{{#if:{{{1|}}}|{{CH8rBirthdate|{{{1}}}}}|}} {{#if:{{{2|}}}|{{{2}}}|}}{{#if:{{{3|}}}|, {{{3}}}|}}

Break Down
{{#if:{{{1|}}}|{{CH8rBirthdate|{{{1}}}}}}} - This is the year
{{#if:{{{2|}}}|{{{2}}}}} - This is the day
{{#if:{{{3|}}}|, {{{3}}}}} - This is the month

This template is used to display birthdates. Input is given as a year, day, and a month as a numerical value - don't use text!

Largely used in the CharInfo templates.