Minecraft Wiki
Advertisement
[view | edit | history | purge]Documentation

This template is used to put text to the left of an indented comment (useful when indentation level is too large, then the amount of indentation can be shown).

Usage

{{Comment margin|<indent level>[|<content>]}}
  • indent level is how much the comment is indented. Used for calculating the position of the floating content. If it is not a number, the length of the argument as a string will be used. Indents the comment automatically (colons aren't needed anymore).
  • content is what to display. Defaults to the amount of indent.

Examples

Specify level of indentation

{{Outdent|8|after=+8}}
This stair of text is getting too long...

{{Reindent|8|after=-8}}
{{Comment margin|::::}}I have some questions...

┌────────────────────┘ +8
This stair of text is getting too long...

└────────────────────┐ -8
{{safesubst:#vardefine:l|

<div style="left:-Expression error: Unexpected * operator.em;position: relative;float:left;width:0px;overflow:visible;">{{{2}}}

I have some questions...

Custom text to the left

Hey, I think we should do this: ...
: Looks not so good to me. You should have thought of it better a bit.
:: What's the problem with that?
::: It may affect some readers. <!-- This is comment #4 -->
:::: How?
::::: Some important information might be hidden away, thus the reader won't know where it is.
:::::: OK, will fix that.
{{Comment margin|::::|''Reply to #4:''}}I don't think they will be affected much. Besides, we can always change the specifications.

Hey, I think we should do this: ...

Looks not so good to me. You should have thought of it better a bit.
What's the problem with that?
It may affect some readers.
How?
Some important information might be hidden away, thus the reader won't know where it is.
OK, will fix that.

{{safesubst:#vardefine:l|

<div style="left:-Expression error: Unexpected * operator.em;position: relative;float:left;width:0px;overflow:visible;">Reply to #4:I don't think they will be affected much. Besides, we can always change the specifications.
[view | edit | history | purge]The above documentation is transcluded from Template:Comment margin/doc.
Advertisement