Difference between revisions of "Template:WikipediaLink"

From Wikispooks
Jump to navigation Jump to search
(Upgrade about protection level)
Line 1: Line 1:
 
<noinclude>[[category:String Templates‎]]'''This template makes a conveniently short link out of Wikipedia URL'''.<br/>
 
<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/>
 
''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.)
+
Where the URL includes brackets, it requires (for currently unknown reasons) that these are included as literal characters, ''not'' as character sequences (%28 etc.)<br/><br/>
</noinclude><includeonly>{{#ifeq: {{#sub:{{{1|}}}|0|1}}|*| '''[[WikiSpooks:Problems with Wikipedia/Censorship|{{#ifeq: {{{1|}}}|**|Repeatedly}} Censored]]|{{#if: {{{1|}}}|[[Has wikipediaPage2::{{{1}}}| ]][{{{1}}} {{#titleparts: {{{1}}}| | 5 }}]{{#ifeq: {{{2|}}}|1|<sup>[[[Wikpedia/Protection| Protected]]]</sup>}}}}}}</includeonly>
+
'''Example:''' <nowiki>{{</nowiki>{{PAGENAME}}|http://en.wikipedia.org/wiki/Federal_Reserve_System<nowiki/>|1<nowiki>}}</nowiki>
 +
</noinclude><includeonly>{{#ifeq: {{#sub:{{{1|}}}|0|1}}|*| '''[[WikiSpooks:Problems with Wikipedia/Censorship|{{#ifeq: {{{1|}}}|**|Repeatedly}} Censored]]|{{#if: {{{1|}}}|[[Has wikipediaPage2::{{{1}}}| ]][{{{1}}} {{#titleparts: {{{1}}}| | 5 }}]{{#ifeq: {{{2|}}}|1|<sup>[[Wikipedia/Protection | (Protected)]]</sup>}}}}}}</includeonly>

Revision as of 15:51, 30 October 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 sequences (%28 etc.)

Example: {{WikipediaLink|http://en.wikipedia.org/wiki/Federal_Reserve_System|1}}