Changes

Jump to navigation Jump to search
m
Line 55: Line 55:  
To add your userbox to the index below, please add it in the following format:
 
To add your userbox to the index below, please add it in the following format:
   −
<nowiki>|{{UB</nowiki>|''userbox name''|''parameter 1''|''parameter 2''|help=''instructions}}
+
<tt><nowiki>|{{UB</nowiki>|''userbox name''|''parameter 1''|''parameter 2''|help=''instructions''}}</tt>
    
The pipe character (|) at the start is to start a new cell in the table.
 
The pipe character (|) at the start is to start a new cell in the table.
Line 63: Line 63:  
Optional parameters ''parameter 1'' and ''parameter 2'' are used if your userbox takes parameters.
 
Optional parameters ''parameter 1'' and ''parameter 2'' are used if your userbox takes parameters.
   −
The optional help parameter is used if the user box needs instructions on how to use it, such as the use of the parameters.  Note that this parameter needs to start with <tt>'''help='''</tt>.
+
The optional ''help'' parameter is used if the user box needs instructions on how to use it, such as the use of the parameters.  Note that this parameter needs to start with <tt>'''help='''</tt>.
    
'''Simple example'''
 
'''Simple example'''
   −
:<tt><nowiki>{{UB|Christian1}}</nowiki></tt>
+
:<tt><nowiki>|{{UB|Christian1}}</nowiki></tt>
    
This will result in:
 
This will result in:
Line 75: Line 75:  
'''Complete example'''
 
'''Complete example'''
   −
:<tt><nowiki>{{UB|Political Compass|x|y|help=''x'' and ''y'' refer to the results of the test at [http://www.politicalcompass.org/].}}</nowiki></tt>
+
:<tt><nowiki>|{{UB|Political Compass|x|y|help=''x'' and ''y'' refer to the results of the test at [http://www.politicalcompass.org/].}}</nowiki></tt>
    
This will result in:
 
This will result in:
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu