Difference between revisions of "Template:ShortLink/Examples"

From FollowTheScore
Jump to: navigation, search
(New page: <!-- The DPL code uses a page with example links |namespace=Template |titlematch=ShortLink/Examples/List to result in an unexpensive query. -->Examples for <nowiki>{{</nowiki>[[:Templat...)
 
Line 29: Line 29:
 
|addexternallink=true
 
|addexternallink=true
 
|count=25
 
|count=25
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=50¦plain=yes}²,,
+
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=50}²,,
 
}}
 
}}
 
<br>
 
<br>
Line 41: Line 41:
 
|addexternallink=true
 
|addexternallink=true
 
|count=25
 
|count=25
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=45¦domainonly=yes}²,,
+
|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦plain=yes¦domainonly=yes}²,,
 
}}
 
}}
 
<br>
 
<br>

Revision as of 04:46, 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¦plain=yes}²,,

  • Expression error: Unrecognized punctuation character "{".



|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=45¦domainonly=yes}²,,

  • Expression error: Unrecognized punctuation character "{".



|format=,\n*²{ShortLink¦url=%EXTERNALLINK%¦count=60¦domainbold=yes}²,,

  • Expression error: Unrecognized punctuation character "{".