Characters

edit
Template/Tag/Extension Code HTML Entity Result
{{!}} magic word

Template:!

{{!}} |

|
|
|
|

|
Template:!! {{!!}} || ||
Template:!(

Template:Square bracket open
Template:Bracket

{{!(}}

{{Square bracket open}}
{{Bracket}}

[

[
[
[

[
Template:!((

Template:Square bracket open

{{!((}}

{{Square bracket open|2}}

[[ [[
Template:)!

Template:Square bracket close

{{)!}}

{{Square bracket close}}

]

]
]
]

]
Template:))!

Template:Square bracket close

{{))!}}

{{Square bracket close|2}}

]] ]]
Template:( {{(}} {

{
{
{

{
Template:(( {{((}} {{ {{
Template:((( {{(((}} {{{ {{{
Template:) {{)}} }

}
}
}

}
Template:)) {{))}} }} }}
Template:))) {{)))}} }}} }}}
Template:(! {{(!}} {| {|
Template:!- {{!-}} |- |-
Template:!) {{!)}} |} |}
Template:End {{End}}
Template:= {{=}} =

=
=

=

See also

edit

Code

edit
Template/Tag/Extension Code Result
Template:Pre {{pre |space=nowrap |width=200px |Some ''lengthy lengthy lengthy lengthy lengthy lengthy code'' here.}}
Some lengthy lengthy lengthy lengthy lengthy lengthy code here.
Template:Pre2 {{pre2 |scroll |nowiki |style=color:blue |Some ''lengthy lengthy lengthy lengthy lengthy lengthy code'' here.}} nowiki|Some lengthy lengthy lengthy lengthy lengthy lengthy code here.
<pre> parser tag <pre>Some ''code'' here.</pre>
Some ''code'' here.
<code> HTML tag <code>Some ''code'' here.</code> Some code here.
<nowiki> parser tag <nowiki>Some ''code'' here.</nowiki> Some ''code'' here.
<code> and <nowiki> tags together <code style="white-space:nowrap;"><nowiki>Some ''code'' here.</nowiki></code> Some ''code'' here.
<syntaxhighlight> extension or <source> alias (deprecated)


(See Pygments lexers for language names and aliases.)

<syntaxhighlight lang="lua" highlight="2,4-6" line start="10" style="border:1px solid black;">
-- Print stuff.
function hello_world ()
  print("Hello")
  print("world")
  print("from")
  print("Wikipedia")
  print("!")
end
</syntaxhighlight>
-- Print stuff.
function hello_world ()
  print("Hello")
  print("world")
  print("from")
  print("Wikipedia")
  print("!")
end
<syntaxhighlight lang="lua" class="nowrap" inline>print("Hello world!")</syntaxhighlight> print("Hello world!")
Template:Xtag {{xtag |1=pre |2=pair |content=content |params=params}} <pre params>content</pre>
Template:Tag {{tag |1=tag |2=pair |content=content |attribs=attrib="value" |wrap=yes |link=yes}} <tag attrib="value">content</tag>
Template:XMLElement

(Note: avoid spaces.)

{{XMLElement|1=tag|2=Title|content=content|atr=&nbsp;attrib="value"|end=optional|nospace=yes|noslash=yes}}

{{HTMLElement|tag|Title}}

<tag attrib="value">content</tag>

or <tag attrib="value"/>
<tag>...</tag>

Links

edit
Template/Tag/Extension Code Result
Omit namespaces and parenthetical disambiguation (will be expanded on save) Pipe trick [[Talk:Example (musician)|]] Example
Reverse pipe trick (only works if the current page title has comma-separated/parenthetical disambiguation) [[|User:JohnnyMyself]] User:JohnnyMyself
Subpages Slash trick [[/sandbox]] /sandbox
Categories Template:Category link {{Category link |1=Example |2=Example Category |count=yes |count_type=all |backlog=5}}

{{cl|Example}}

Example Category ( 7 )

Category:Example

Wikilink [[Category:Example]] NOTE: A regular wikilink to a category page causes this page to be added to that category.
Wikilink without adding the page to that category [[:Category:Example]] Category:Example
Help Template:Help link {{Help link|Example}} Example
Wikilink [[Help:Example]] Help:Example
Modules Template:Module [[Module:Example]]

{{Mol|Example}}

Module:Example

{{#invoke:Example|function}}

Wikilink [[Module:Example]] Module:Example
Templates Template:Template link normal {{Template link normal|Example}}

{{tln|Example}}

Template:Example

Template:Example

Wikilink [[Template:Example]] Template:Example

TO DO

edit

Template:Make code

Template:Demo

Template:Automarkup

Template:Syntaxhighlight

Template:Code

Template:Codett

Template:Mono

Template:Kbd

Template:Key press

Template:Key top

Template:Button

Template:PlayStation key press

Template:Samp

Template:Var

Template:Talk quote inline

Template:Talk quote block

Template:Block indent

Template:Thinspace

Template:Pslink

Template:Braces

Template:Bracket

Template:Brackets

Template:\

Template:Sic

Category:Wikipedia templates

Category:Wikipedia utility templates

Category:Wikipedia formatting and function templates

Category:Wikipedia XHTML tag-replacing templates

Category:Character templates

Category:Typing-aid templates

Category:Character-substitution templates

Category:Inline spacing templates

Category:Internal link templates

Category:Internal module-link templates

Category:Username internal link templates

Category:Pagelinks templates

Category:Section and anchor link formatting templates

Category:Documentation assistance templates

Category:Wikipedia behavioral guidelines

Wikipedia:Project namespace

Category:Wikipedia information pages

Category:Wikipedia how-to

Help:Contents

Help:Menu

H:WIKILINK

H:IW

H:WIKICODE

MOS:NBSP

WP:MOS

Help:Magic words