Difference between revisions of "Template:WikipediaLink"

From Wikispooks
Jump to navigation Jump to search
(nothing for blank {{{1}}})
(note to clarify problems with brackets)
Line 1: Line 1:
<noinclude>[[category:String Templates‎]]'''This template makes a conveniently short link out of Wikipedia URL'''.</noinclude><includeonly>{{#if: {{{1|}}}|[{{{1}}} {{#titleparts: {{{1}}}| | 5 }}]}}</includeonly>
+
<noinclude>[[category:String Templates‎]]'''This template makes a conveniently short link out of Wikipedia URL'''.<br/>Where the URL includes brackets, it requires (for currently unknown reasons) that these are included as literal characters, ''not'' as character suequences (%28 etc.)</noinclude><includeonly>{{#if: {{{1|}}}|[{{{1}}} {{#titleparts: {{{1}}}| | 5 }}]}}</includeonly>

Revision as of 14:49, 5 March 2014

This template makes a conveniently short link out of Wikipedia URL.
Where the URL includes brackets, it requires (for currently unknown reasons) that these are included as literal characters, not as character suequences (%28 etc.)