Editing Template:Outdent/doc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 12: | Line 12: | ||
:*If the parameter is not used, the left margin is reset to the position of the template, and the default value of 10 is used for the length of the bar. | :*If the parameter is not used, the left margin is reset to the position of the template, and the default value of 10 is used for the length of the bar. | ||
:*If used, its value specifies the length of the connector bar to be used. The value may be specified as a string of tab characters, or as an integer. | :*If used, its value specifies the length of the connector bar to be used. The value may be specified as a string of tab characters, or as an integer. | ||
− | :*A value of zero | + | :*A value of zero produces a very long bar. |
− | The template supports any number of colons or any integer as a parameter. Values above 40 result in the | + | The template supports any number of colons or any integer as a parameter. Values above 40 may result in the bar appearing over more than one line. |
The default number of colons is 10. | The default number of colons is 10. | ||
Line 81: | Line 81: | ||
:<code>span.outdent-template { display: none; }</code> | :<code>span.outdent-template { display: none; }</code> | ||
+ | |||
+ | ==Errors and unexpected behaviours== | ||
+ | * param1 = 0 gives a long bar: | ||
+ | <div style="border:thin blue solid; padding:8px; margin:4px"> | ||
+ | <nowiki>{{od|0}}xxx </nowiki>{{od|0}}xxx | ||
+ | </div> | ||
+ | * param1 > 40 places the bar over several lines: | ||
+ | <div style="border:thin blue solid; padding:8px; margin:4px"> | ||
+ | ::<nowiki>{{od|99}}xxx </nowiki>{{od|99}}xxx | ||
+ | </div> | ||
==Other formats== | ==Other formats== |