Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
User:Deborah/coding
(view source)
Revision as of 18:42, May 2, 2008
412 bytes added
,
18:42, May 2, 2008
→Making templates
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
Deborah
8,728
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
User page
talk page
Variants
Views
Read
View source
View history
More
Search
Popular Links
Main Page
Recent changes
New Pages
Random page
Statistics
Edit Console
User contributions
Logs
View user groups
Special pages
Printable version