Parser extension tags/Demo

From testwiki
Jump to navigation Jump to search

Categorytree

<categorytree mode="pages">Manual</categorytree>

<categorytree mode="pages">Manual</categorytree>

ce

<ce>A+B</ce>

AA+B

charinsert

<charinsert>Á á Ć ć É é Í í Ĺ ĺ Ń ń Ó ó Ŕ ŕ Ś ś Ú ú Ý ý Ź ź</charinsert>

<charinsert>Á á Ć ć É é Í í Ĺ ĺ Ń ń Ó ó Ŕ ŕ Ś ś Ú ú Ý ý Ź ź</charinsert>

chem

<chem>A+B</chem>

AA+B

<gallery>
File:Example.jpg
File:Example.jpg
</gallery>

graph

{{#chart:Example.Line.chart}}

{{#chart:Example.Line.chart}}

hiero

<hiero>A1</hiero>

<hiero>A1</hiero>

imagemap

<imagemap>
File:Example2.png|150px|alt=Alt text
default [[Main Page|Go to main page]]
</imagemap>

<imagemap> File:Example2.png|150px|alt=Alt text default Go to main page </imagemap>

indicator

<indicator name="foo">[[File:Example.jpg|20px]]</indicator>

Jump to the top of the page for the result: #mw-indicator-foo.

inputbox

<inputbox>
type=create
break=no
</inputbox>

<inputbox> type=create break=no </inputbox>

mapframe

<mapframe text="Map of [[wikipedia:London|London]]" latitude="51.505" longitude="-0.126" zoom="8" width="300" height="300" align="left"></mapframe>

<mapframe text="Map of London" latitude="51.505" longitude="-0.126" zoom="8" width="300" height="300" align="left"></mapframe>

<maplink zoom="13" latitude="46.204391" longitude="6.143158"/>

<maplink zoom="13" latitude="46.204391" longitude="6.143158"/>

math

<math> f(x) = x^2\,</math>

f(x)=x2

nowiki

<nowiki>''foo'' <b>bar</b></nowiki>

''foo'' <b>bar</b>

poem

<poem>
foo, foo
bar!
foo.
</poem>

<poem> foo, foo bar! foo. </poem>

‎pre

<pre>

‎ref

foo<ref>[http://www.example.com source]</ref>

foo[1]

references

<references/>

score

<score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>

<score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>

section

See Extension:Labeled Section Transclusion

syntaxhighlight

<syntaxhighlight lang=javascript>
if ( foo == 'bar' ) { bar = foo; }</syntaxhighlight>
if ( foo == 'bar' ) { bar = foo; }

templatedata

See Extension:TemplateData

timeline

<timeline>
ImageSize  = width:90 height:120
PlotArea   = width:65 height:80 left:20 bottom:20
AlignBars  = early

DateFormat = yyyy
Period     = from:1 till:5
TimeAxis   = orientation:vertical
ScaleMajor = unit:year increment:1 start:1

PlotData=
  color:red width:10
  bar:A from:start till:end
  bar:B from:start till:end
  bar:C from:start till:end
  bar:D from:start till:end
</timeline>

<timeline> ImageSize = width:90 height:120 PlotArea = width:65 height:80 left:20 bottom:20 AlignBars = early

DateFormat = yyyy Period = from:1 till:5 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:1 start:1

PlotData=

 color:red width:10
 bar:A from:start till:end
 bar:B from:start till:end
 bar:C from:start till:end
 bar:D from:start till:end

</timeline>