Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Help
Introduction to techRepo
Quick links
Main site
GitHub
SNS
Instagram
LinkedIn
X (Twitter)
YouTube
Search
Search
English
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Block indent/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Information about this page.
Get shortened URL
Appearance
move to sidebar
hide
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.
Anti-spam check. Do
not
fill this in!
== Alternatives that are not recommended == A colon at the start of the line produces a similar indent, but it produces incorrect HTML; see {{Section link|Wikipedia:Manual of Style|Indentation}} for more details. (An initial {{Code|:}} was intended only for use after {{Code|;}} in constructing [[Wikipedia:Manual of Style/Lists#Description (definition, association) lists|description lists]], but many editors have used it ubiquitously for simple indentation.) {{Template link general|Blockquote}} employs the HTML {{Tag|blockquote|link=yes}} element and is intended for use only with actual [[block quotation]]; using it for indenting simple block elements breaks [[semantic HTML]] and the appearance differs. (Whereas {{Template link general|Block indent}} employs an HTML {{Tag|div|link=yes}} element with padding offsetting it from the left and/or right page margins.) The default display of {{Template link general|Block indent}} differs from that of {{Template link general|Blockquote}} in that it does not: * introduce vertical whitespace above or below the indented material (add blank lines above and/or below manually, as needed) * indent from the right as well as the left (though the optional {{Parameter|right}} parameter triggers this behavior) * affect the font size of its contents * bookend the block with large quotation marks on mobile devices * support plain blank-line paragraph breaks inside it, or * support attribution parameters (because {{Template link general|Block indent}} isn't for quotations). {{Template link general|Blockquote}} and {{Template link general|Block indent}} both support internal paragraph breaks through the use of HTML {{Tag|p|link=yes}} tags around subsequent paragraphs, as well as other HTML markup. It is always safest to explicitly format using raw HTML rather than rely on MediaWiki's parser because future updates to it could alter the output at any time. === Comparison with [[Template:Blockquote]] === {| class="wikitable" ! scope="col" | {{Template link general|{{BASEPAGENAME}}}}{{Efn|group=comptable|<syntaxhighlight lang="wikitext" inline="1">{{Lorem ipsum}}{{Block indent|1={{Lorem ipsum}}}{{Lorem ipsum}}</syntaxhighlight>}} ! scope="col" | {{Template link general|Blockquote}}{{Efn|group=comptable|<syntaxhighlight lang="wikitext" inline="1">{{Lorem ipsum}}{{Blockquote|1={{Lorem ipsum}}}}{{Lorem ipsum}}</syntaxhighlight>}} |- | {{Lorem ipsum}}{{Block indent|1={{Lorem ipsum}}}}{{Lorem ipsum}} | {{Lorem ipsum}}{{Blockquote|1={{Lorem ipsum}}}}{{Lorem ipsum}} |- | colspan="2" style="background-color: var(--background-color-base, #f8f9fa); border-bottom: hidden; border-left: 0 solid var(--background-color-base, #f8f9fa); border-right: hidden;" | <div style="font-size: 0.925em; font-style: italic; margin: 0 0 -0.75em 1em;">Source wikitext:</div>{{Notelist|group=comptable}} |}
Summary:
Please note that all contributions to ARC Technical Repository may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TechRepo:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template
:
Block indent/doc
(section)
Add languages
Add topic