Difference between revisions of "Template:Wikipedia"

From Wiki - Scioly.org
Jump to: navigation, search
(Added support for aliasing)
m (Replaced old documentation references with the Documentation template.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Wikipedia:{{{1|}}}|{{#if: {{{2|}}}|{{{2|}}}|{{{1|}}}}}]]<noinclude>
 
[[Wikipedia:{{{1|}}}|{{#if: {{{2|}}}|{{{2|}}}|{{{1|}}}}}]]<noinclude>
{{Wikipedia/doc}}
+
{{Documentation}}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:10, 5 August 2020

[[Wikipedia:|]]

Template documentation[view] [edit] [history] [purge]

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