Template:Block indent: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:


Usage:
Usage:
<pre style="max-width:305px; margin-left:12px;"><nowiki>
<pre style="max-width:355px; margin-left:12px;"><nowiki>
{{Block indent|Test string #1a}}
{{Block indent|Test string #1a}}
: Test string #1b
: Test string #1b
Line 21: Line 21:
::::: Test string #3b
::::: Test string #3b


Note, if your text includes an equals sign, you need to explicitly number the 1st parameter.  If you explicitly number the 1st parameter, you must also explicitly number the 2nd parameter if you use it:
<pre style="max-width:550px; margin-left:12px;"><nowiki>
{{Block indent|1=This has an equals sign (=) in it.|2=6}}
</nowiki></pre>
Results in:
{{Block indent|1=This has an equals sign (=) in it.|2=6}}
Otherwise it would (when written like this: <code><nowiki>{{Block indent|This has an equals sign (=) in it.|6}}</nowiki><code>), result in:
{{Block indent|This has an equals sign (=) in it.|6}}


[[Category:Template]]
[[Category:Template]]
Approver, Batcheditor, Moderator, Patroller, Protector, Reviewer, Bots, Bureaucrats, editor, Interface administrators, pagecreator, pagedeleter, Page Ownership admin, Push subscription managers, Suppressors, Administrators, Upload Wizard campaign editors, Widget editors
321,763

edits