Changes

Line 49: Line 49:     
<nowiki>{{{myage|car}}}</nowiki> creates a parameter named myage for a template whose default is car
 
<nowiki>{{{myage|car}}}</nowiki> creates a parameter named myage for a template whose default is car
 +
 +
 +
named parameters for example <nowiki>{{myage}}</nowiki> versus <nowiki> {{{1}}} or {{{2}}} or {{{3}}}</nowiki> do not have to be put in any particular  order
      Line 55: Line 58:  
you would put <nowiki>{{User age|12}}</nowiki> for the template to display, 12 is my age
 
you would put <nowiki>{{User age|12}}</nowiki> for the template to display, 12 is my age
    +
 +
another example let us say there is a template called Template:User age, that looks like this, <nowiki>{{{1}}} is my age, I was born in the month, {{{2}}}</nowiki>
 +
 +
you would put <nowiki>{{User age|12|December}}</nowiki> for the template to display, 12 is my age I was born in the month December
      Line 60: Line 67:     
you would put <nowiki>{{User age|myage=19}}</nowiki> for the template to display, 19 is my age
 
you would put <nowiki>{{User age|myage=19}}</nowiki> for the template to display, 19 is my age
 +
 +
 +
another example let us say there is a template called Template:User age, that looks like this, <nowiki>{{{myage}}} is my age, I was born in the month, {{{mymonth}}}</nowiki>
 +
 +
you would put <nowiki>{{User age|myage=19|my month=January}}</nowiki> for the template to display, 19 is my age, I was born in the month, January    you also could put <nowiki>{{User age|my month=January|myage=19}}</nowiki> for the same result
8,728

edits