From Wikipedia, the free encyclopedia

Characters Information

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

Code Information

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 Information

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 Information

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

From Wikipedia, the free encyclopedia

Characters Information

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

Template:!

{{!}} &verbar;

&vert;
&VerticalLine;
&#x0007C;
&#124;

|
Template:!! {{!!}} &#124;&#124; ||
Template:!(

Template:Square bracket open
Template:Bracket

{{!(}}

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

&lsqb;

&lbrack;
&#x0005B;
&#91;

[
Template:!((

Template:Square bracket open

{{!((}}

{{Square bracket open|2}}

&#91;&#91; [[
Template:)!

Template:Square bracket close

{{)!}}

{{Square bracket close}}

&rsqb;

&rbrack;
&#x0005D;
&#93;

]
Template:))!

Template:Square bracket close

{{))!}}

{{Square bracket close|2}}

&#93;&#93; ]]
Template:( {{(}} &lcub;

&lbrace;
&#x0007B;
&#123;

{
Template:(( {{((}} &#123;&#123; {{
Template:((( {{(((}} &#123;&#123;&#123; {{{
Template:) {{)}} &rcub;

&rbrace;
&#x0007D;
&#125;

}
Template:)) {{))}} &#125;&#125; }}
Template:))) {{)))}} &#125;&#125;&#125; }}}
Template:(! {{(!}} &#123;&#124; {|
Template:!- {{!-}} &#124;- |-
Template:!) {{!)}} &#124;&#125; |}
Template:End {{End}}
Template:= {{=}} &equals;

&#x0003D;
&#61;

=

See also

Code Information

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 Information

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 Information

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


Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook