Difference between revisions of "Template:ShortURL/Examples"

From FollowTheScore
Jump to: navigation, search
(New page: Examples for <nowiki>{{</nowiki>ShortURL<nowiki>}}</nowiki> in DPL code using <tt>addexternallink=true</tt> and <tt>[[DPL:Manual_-_DPL_parameters:_Controlling_output...)
 
 
Line 1: Line 1:
Examples for <nowiki>{{</nowiki>[[:Template:ShortURL|ShortURL]]<nowiki>}}</nowiki> in DPL code using <tt>addexternallink=true</tt> and <tt>[[DPL:Manual_-_DPL_parameters:_Controlling_output_format#format|%EXTERNALLINK%]]</tt> with different kinds of URLs. You'll see that some options only work in combination.  
+
<!-- The DPL code uses a page with example links
 +
 
 +
|namespace=Template
 +
|titlematch=ShortURL/Examples/List
 +
 
 +
to result in an unexpensive query.
 +
 
 +
-->Examples for <nowiki>{{</nowiki>[[:Template:ShortURL|ShortURL]]<nowiki>}}</nowiki> in DPL code using <tt>addexternallink=true</tt> and <tt>[[DPL:Manual_-_DPL_parameters:_Controlling_output_format#format|%EXTERNALLINK%]]</tt> with different kinds of URLs. You'll see that some options only work in combination.  
 
<br>
 
<br>
 
----
 
----
Line 5: Line 12:
 
{{#dpl:
 
{{#dpl:
 
|allowcachedresults=true
 
|allowcachedresults=true
|namespace=
+
|namespace=Template
 +
|titlematch=ShortURL/Examples/List
 
|linkstoexternal=%%
 
|linkstoexternal=%%
 
|addexternallink=true
 
|addexternallink=true
Line 16: Line 24:
 
{{#dpl:
 
{{#dpl:
 
|allowcachedresults=true
 
|allowcachedresults=true
|namespace=
+
|namespace=Template
 +
|titlematch=ShortURL/Examples/List
 
|linkstoexternal=%%
 
|linkstoexternal=%%
 
|addexternallink=true
 
|addexternallink=true
Line 27: Line 36:
 
{{#dpl:
 
{{#dpl:
 
|allowcachedresults=true
 
|allowcachedresults=true
|namespace=
+
|namespace=Template
 +
|titlematch=ShortURL/Examples/List
 
|linkstoexternal=%%
 
|linkstoexternal=%%
 
|addexternallink=true
 
|addexternallink=true
Line 38: Line 48:
 
{{#dpl:
 
{{#dpl:
 
|allowcachedresults=true
 
|allowcachedresults=true
|namespace=
+
|namespace=Template
 +
|titlematch=ShortURL/Examples/List
 
|linkstoexternal=%%
 
|linkstoexternal=%%
 
|addexternallink=true
 
|addexternallink=true

Latest revision as of 04:13, 24 July 2009

Examples for {{ShortURL}} 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*²{ShortURL¦url=%EXTERNALLINK%}²,,

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.



|format=,\n*²{ShortURL¦url=%EXTERNALLINK%¦count=50¦plain=yes}²,,

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.



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

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.



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

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.