Difference between revisions of "Template:Wikipedia"

From Wiki - Scioly.org
Jump to: navigation, search
(Created page with "[[Wikipedia:{{{1|}}}|{{{1|}}}]]<noinclude> {{Wikipedia/doc}} </noinclude>")
 
(Added support for aliasing)
Line 1: Line 1:
[[Wikipedia:{{{1|}}}|{{{1|}}}]]<noinclude>
+
[[Wikipedia:{{{1|}}}|{{#if: {{{2|}}}|{{{2|}}}|{{{1|}}}}}]]<noinclude>
 
{{Wikipedia/doc}}
 
{{Wikipedia/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 14:20, 20 April 2020

[[Wikipedia:|]]

The Wikipedia template is used to create a link to a specific Wikipedia article.

Parameters

1 (first value) - the page on Wikipedia that is attempting to be linked to
2 (second value) - optional - the alias for the page you're attempting to link to

Usage

Code Result
{{Wikipedia|Cat}}
Cat
{{Wikipedia|Los Angeles County, California|LA County}}
LA County