Changes

Jump to navigation Jump to search
Line 45: Line 45:     
<nowiki>{{{1|car}}}</nowiki> creates a parameter for a template whose default is car
 
<nowiki>{{{1|car}}}</nowiki> creates a parameter for a template whose default is car
 +
 +
<nowiki>{{{myage}}}</nowiki> creates a parameter named myage for a template
 +
 +
<nowiki>{{{myage|car}}}</nowiki> creates a parameter named myage for a template whose default is car
      Line 50: Line 54:     
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>{{{myage}}} is my age</nowiki>
 +
 +
you would put <nowiki>{{User age|myage=19}}</nowiki> for the template to display, 19 is my age
8,728

edits

Navigation menu