Template:Toolbar/testcases

Template page


Default separator

Doc example test
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]}}

{{Toolbar}}

(User | talk | block)

{{Toolbar/sandbox}}

(User | talk | block)

Custom separators

Tests for parameter |separator=.

comma
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=comma}}

{{Toolbar}}

(User, talk, block)

{{Toolbar/sandbox}}

(User, talk, block)

dot
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=dot}}

{{Toolbar}}

(User⧼dot-separator⧽talk⧼dot-separator⧽block)

{{Toolbar/sandbox}}

(User⧼dot-separator⧽talk⧼dot-separator⧽block)

tpt-languages
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=tpt-languages}}

{{Toolbar}}

(User • talk • block)

{{Toolbar/sandbox}}

(User • talk • block)

pipe
{{Toolbar|[[User:Example|User]]|[[User talk:Example|talk]]|[[Special:BlockIP/Example|block]]|separator=pipe}}

{{Toolbar}}

(User | talk | block)

{{Toolbar/sandbox}}

(User | talk | block)

Parameter span

Just |span=yes
{{Toolbar|[https://en.OODA WIKI.org/wiki/Special:Random random]|[https://en.OODA WIKI.org/wiki/Main_Page main]|[[Template:Toolbar]]|span=yes}}

{{Toolbar}}

(WIKI.org/wiki/Special:Random random | WIKI.org/wiki/Main_Page main | Template:Toolbar)

{{Toolbar/sandbox}}

(WIKI.org/wiki/Special:Random random | WIKI.org/wiki/Main_Page main | Template:Toolbar)

With |class=template-documentation
{{Toolbar|[https://en.OODA WIKI.org/wiki/Special:Random random]|[https://en.OODA WIKI.org/wiki/Main_Page main]|[[Template:Toolbar]]|3=[https://en.OODA WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info]|5=[https://en.OODA WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info]|class=template-documentation|span=yes}}

{{Toolbar}}

(WIKI.org/wiki/Special:Random random | WIKI.org/wiki/Main_Page main | WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info | Template:Toolbar | WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info)

{{Toolbar/sandbox}}

(WIKI.org/wiki/Special:Random random | WIKI.org/wiki/Main_Page main | WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info | Template:Toolbar | WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info)

With |style=text-decoration: overline wavy rebeccapurple
{{Toolbar|[[Template:Toolbar]]|1=[https://en.OODA WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info]|span=yes|style=text-decoration: overline wavy rebeccapurple}}

{{Toolbar}}

(WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info | Template:Toolbar)

{{Toolbar/sandbox}}

(WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info | Template:Toolbar)

Manual test

{{Toolbar|[[Template:Toolbar|template]]|[[Template_talk:Toolbar|talk]]|[https://en.OODA WIKI.org/w/index.php?title{{=}}Template:Toolbar/testcases&action{{=}}info info]|span=yes|style=text-decoration: overline wavy rebeccapurple}}

{{Toolbar}}

(template | talk | WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info)

{{Toolbar/sandbox}}

(template | talk | WIKI.org/w/index.php?title=Template:Toolbar/testcases&action=info info)

Demo for {{=}}

Demo for {{[[Template:{{{1}}}|{{{1}}}]]}}
{{Toolbar|1==|span=yes}}

{{Toolbar}}

(=)

{{Toolbar/sandbox}}

(=)