Difference between revisions of "Template:WikipediaLink"

From Wikispooks
Jump to navigation Jump to search
(note to clarify problems with brackets)
("*" option)
Line 1: Line 1:
<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>
+
<noinclude>[[category:String Templates‎]]'''This template makes a conveniently short link out of Wikipedia URL'''.<br/>
 +
''To indicate that a wikipedia page used to exist but it was removed, just use the URL "*", which will add it to the list of pages censored by Wikipedia.<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>{{#ifeq: {{{1|}}}|*| '''[[Censorship#Wikipedia|Censored]]|{{#if: {{{1|}}}|[{{{1}}} {{#titleparts: {{{1}}}| | 5 }}]}}}}</includeonly>

Revision as of 08:47, 8 May 2014

This template makes a conveniently short link out of Wikipedia URL.
To indicate that a wikipedia page used to exist but it was removed, just use the URL "*", which will add it to the list of pages censored by Wikipedia.
Where the URL includes brackets, it requires (for currently unknown reasons) that these are included as literal characters, not as character suequences (%28 etc.)