Difference between revisions of "Template:ShortLink/Examples"
From FollowTheScore
Line 21: | Line 21: | ||
<br> | <br> | ||
---- | ---- | ||
− | <code><nowiki>|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count= | + | <code><nowiki>|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=50}²,,</nowiki></code> |
{{#dpl: | {{#dpl: | ||
|allowcachedresults=true | |allowcachedresults=true | ||
Line 33: | Line 33: | ||
<br> | <br> | ||
---- | ---- | ||
− | <code><nowiki>|format=,\n*²{ShortLink¦url=%EXTERNALLINK% | + | <code><nowiki>|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦plain=yes¦domainonly=yes}²,,</nowiki></code> |
{{#dpl: | {{#dpl: | ||
|allowcachedresults=true | |allowcachedresults=true |
Revision as of 04:47, 24 July 2009
Examples for {{ShortLink}} in DPL code using addexternallink=true and %EXTERNALLINK% with different kinds of URLs. You'll see that some options only work in combination.
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%}²,,
- Expression error: Unrecognized punctuation character "{".
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=50}²,,
- Expression error: Unrecognized punctuation character "{".
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦plain=yes¦domainonly=yes}²,,
- Expression error: Unrecognized punctuation character "{".
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=60¦domainbold=yes}²,,
- Expression error: Unrecognized punctuation character "{".