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>