Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Comment margin

Template page
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header 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
Template:Comment marginI 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.
Template:Comment marginI don't think they will be affected much. Besides, we can always change the specifications.
The above text is transcluded from Template:MC/Comment margin/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Comment margin/doc. (View all subpages of this page.)