Difference between revisions of "Template:Unlink/testcases"
Dinoguy1000 (talk | contribs) (add a couple cases I probably won't properly support) |
Dinoguy1000 (talk | contribs) (test double links) |
||
Line 52: | Line 52: | ||
| {{unlink|[[test{{!}}foobar]]}} | | {{unlink|[[test{{!}}foobar]]}} | ||
| {{unlink/sandbox|[[test{{!}}foobar]]}} | | {{unlink/sandbox|[[test{{!}}foobar]]}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test]] and [[foobar]]</pre> | ||
+ | | {{unlink|[[test]] and [[foobar]]}} | ||
+ | | {{unlink/sandbox|[[test]] and [[foobar]]}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test]] and [[foobar]] etc.</pre> | ||
+ | | {{unlink|[[test]] and [[foobar]] etc.}} | ||
+ | | {{unlink/sandbox|[[test]] and [[foobar]] etc.}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test|foo]] and [[bar]]}}</pre> | ||
+ | | {{unlink|[[test|foo]] and [[bar]]}} | ||
+ | | {{unlink/sandbox|[[test|foo]] and [[bar]]}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test|foo]] and [[bar]] etc.}}</pre> | ||
+ | | {{unlink|[[test|foo]] and [[bar]] etc.}} | ||
+ | | {{unlink/sandbox|[[test|foo]] and [[bar]] etc.}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test]] and [[foo|bar]]}}</pre> | ||
+ | | {{unlink|[[test]] and [[foo|bar]]}} | ||
+ | | {{unlink/sandbox|[[test]] and [[foo|bar]]}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test]] and [[foo|bar]] etc.}}</pre> | ||
+ | | {{unlink|[[test]] and [[foo|bar]] etc.}} | ||
+ | | {{unlink/sandbox|[[test]] and [[foo|bar]] etc.}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test|foo]] and [[bar|baz]]}}</pre> | ||
+ | | {{unlink|[[test|foo]] and [[bar|baz]]}} | ||
+ | | {{unlink/sandbox|[[test|foo]] and [[bar|baz]]}} | ||
+ | |- | ||
+ | | <pre>{{unlink|[[test|foo]] and [[bar|baz]] etc.}}</pre> | ||
+ | | {{unlink|[[test|foo]] and [[bar|baz]] etc.}} | ||
+ | | {{unlink/sandbox|[[test|foo]] and [[bar|baz]] etc. | ||
|- | |- | ||
|} | |} |
Revision as of 02:05, 30 November 2019
Code | Live | Sandbox |
---|---|---|
{{unlink}} |
||
{{unlink|test}} |
test | test |
{{unlink|[[test]]}} |
test | test |
{{unlink|[[test|foobar]]}} |
test | test |
{{unlink|foobar [[test]]}} |
test | test |
{{unlink|[[test]] foobar}} |
test | test |
{{unlink|foo [[test]] bar}} |
test | test |
{{unlink|[[test]] [[foobar]]}} |
test | test |
{{unlink|[[:test]]}} |
test | test |
{{unlink|[[:test|foobar]]}} |
test | test |
{{unlink|test{{!}}foobar}} |
foobar | foobar |
{{unlink|[[test{{!}}foobar]]}} |
test | test |
{{unlink|[[test]] and [[foobar]] |
test | test |
{{unlink|[[test]] and [[foobar]] etc. |
test | test |
{{unlink|[[test|foo]] and [[bar]]}} |
test | test |
{{unlink|[[test|foo]] and [[bar]] etc.}} |
test | test |
{{unlink|[[test]] and [[foo|bar]]}} |
test | test |
{{unlink|[[test]] and [[foo|bar]] etc.}} |
test | test |
{{unlink|[[test|foo]] and [[bar|baz]]}} |
test | test |
{{unlink|[[test|foo]] and [[bar|baz]] etc.}} |
test | foo and baz etc. |