Changes

Jump to navigation Jump to search
→‎What do you pass to parameters?: Notes section; formatting
Line 50: Line 50:  
In some cases, however, specific text must be supplied.  The {{tl|Bible ref}} template, for example, expects a book of the Bible for the "book" parameter, and giving it something that is not a book of the Bible will break the link to BibleGateway that the template creates.
 
In some cases, however, specific text must be supplied.  The {{tl|Bible ref}} template, for example, expects a book of the Bible for the "book" parameter, and giving it something that is not a book of the Bible will break the link to BibleGateway that the template creates.
   −
In many cases you can supply a blank value to the parameter.  You can set a parameter to be blank by typing nothing after the pipe character for an unnamed parameter, or nothing after the equals sign for a named parameter.  For example, if you wanted the welcome template to not show "Joker" or "from Batman", you could type <tt><small><nowiki>{{welcome||sig=}}</nowiki></small></tt>
+
In many cases you can supply a blank value to the parameter.  You can set a parameter to be blank by typing nothing after the pipe character for an unnamed parameter, or nothing after the equals sign for a named parameter.  For example, if you wanted the welcome template to not show "Joker" or "from Batman", you could type {{tt|<nowiki>{{welcome||sig=}}</nowiki>}}.
    
However, a well-written template will allow you to simply omit the parameter altogether, as the {{tl|welcome}} template does with the ''sig'' parameter.
 
However, a well-written template will allow you to simply omit the parameter altogether, as the {{tl|welcome}} template does with the ''sig'' parameter.
 +
 +
== Notes ==
 +
{{reflist}}
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu