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 bug documentation
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!
<noinclude>{{notice|Ignore any errors showing below; they do not appear when this snippet is transcluded (nor does this message box). This doc snippet's output only works when it's transcluded into the context of a specific template, e.g. at [[Template:Block indent/doc]]}} </noinclude>If the block-formatted content uses a ''named'' parameter (including {{para|1}}) and begins with a list (or any other wikimarkup that is dependent upon a specific markup character being at the beginning of a line), because [[MediaWiki]] behavior is to strip whitespace from named parameters, a {{xtag|nowiki|s}} and a new line must exist before the list (or whatever) starts. This no longer affects ''unnamed'' parameters. Compare: {| class="wikitable" |- ! ! scope="col" | code ! scope="col" | result |- ! scope="row" | Works as intended |{{tlx|nolink=true|{{BASEPAGENAME}}|<br>*Firstly, ...<br/>*Secondly, ...<br/>*Thirdly, ...<br/>}} | <includeonly>{{ {{BASEPAGENAME}}| *Firstly, ... *Secondly, ... *Thirdly, ... }}</includeonly><noinclude>{{error|This output only works when this doc snippet is transcluded.}}</noinclude> |- ! scope="row" | FAIL |{{tlx|nolink=true|{{BASEPAGENAME}}|{{nowrap|{{{1|1}}}{{=}}}}<br>*Firstly, ...<br/>*Secondly, ...<br/>*Thirdly, ...<br/>}} | <includeonly>{{ {{BASEPAGENAME}}|{{{1|1}}}= *Firstly, ... *Secondly, ... *Thirdly, ... }}</includeonly><noinclude>{{error|This output only works when this doc snippet is transcluded.}}</noinclude> |- ! scope="row" | Works as intended |{{tlx|nolink=true|{{BASEPAGENAME}}|{{{1|1}}}{{=}}'''<nowiki />'''<br/>*Firstly, ...<br/>*Secondly, ...<br/>*Thirdly, ...<br/>}} | <includeonly>{{ {{BASEPAGENAME}}|{{{1|1}}}=<nowiki /> *Firstly, ... *Secondly, ... *Thirdly, ... }}</includeonly><noinclude>{{error|This output only works when this doc snippet is transcluded.}}</noinclude> |} To embed a table in block markup like this, the block template's content parameter must be named or numbered and include the self-closing nowiki β as in <code><nowiki>|1=<nowiki /></nowiki></code> β then every <code><nowiki>|</nowiki></code> character in the table markup must be escaped with {{magic word|!}}. An alternative is to use explicit HTML {{tag|table|o}}, {{tag|tr|o}}, {{tag|th|o}}, and {{tag|td|o}} markup.<noinclude> {{Documentation|content=This is transcluded documentation, which can be transcluded in the /doc pages of various templates like {{tlx|Block indent}} and {{tlx|Quote}}, e.g. under a "Technical issue with block templates" heading or the like. Right now it takes no parameter other than {{para|1|{{var|foo}}}}, to change the <code><nowiki>{{{1}}}</nowiki></code> to something else, thus changing the display (and operation) to use something other than {{para|1}} in the shown template operations. [[Category:Documentation shared content templates]] }} </noinclude>
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)
Pages included on this page:
Template:Documentation
(
edit
)
Template:Error
(
edit
)
Template:Magic word
(
edit
)
Template:Magic word link
(
edit
)
Template:Notice
(
edit
)
Template:Nowrap
(
edit
)
Template:Para
(
edit
)
Template:Parameter
(
edit
)
Template:Tag
(
edit
)
Template:Template link expanded
(
edit
)
Template:Tlx
(
edit
)
Template:Var
(
edit
)
Template:Xtag
(
edit
)
Module:Arguments
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/styles.css
(
edit
)
Module:For each named parameter
(
edit
)
Module:For nowiki
(
edit
)
Module:Template link general
(
edit
)
Search
Search
Editing
Template
:
Block bug documentation
Add languages
Add topic