Difference between revisions of "Template:Wikipedia"
From Kerbal Space Program Wiki
m (*renamed category;) |
(+disambig parameter;) |
||
Line 1: | Line 1: | ||
− | [[w:{{#if: {{{lang|}}}|{{{lang|}}}:}}{{#if: {{{1|}}}|{{{1}}}|{{#ifeq: {{uc:{{{full|}}}}}|Y|{{FULLPAGENAME}}|{{BASEPAGENAME}}}}}}|{{#if: {{{1|}}}|{{{1}}}|{{#ifeq: {{uc:{{{full|}}}}}|Y|{{FULLPAGENAME}}|{{BASEPAGENAME}}}}}}]]{{#if: {{{2|}}}|, {{{2}}},}} {{{text|on Wikipedia}}}<noinclude> | + | [[w:{{#if: {{{lang|}}}|{{{lang|}}}:}}{{#if: {{{1|}}}|{{#if: {{{disambig|}}}|{{{1}}} ({{{disambig}}})|{{{1}}}}}|{{#ifeq: {{uc:{{{full|}}}}}|Y|{{FULLPAGENAME}}|{{BASEPAGENAME}}}}}}|{{#if: {{{1|}}}|{{{1}}}|{{#ifeq: {{uc:{{{full|}}}}}|Y|{{FULLPAGENAME}}|{{BASEPAGENAME}}}}}}]]{{#if: {{{2|}}}|, {{{2}}},}} {{{text|on Wikipedia}}}<noinclude> |
{{Parameter Table|name=both|parameters= | {{Parameter Table|name=both|parameters= | ||
Line 7: | Line 7: | ||
{{Parameter Row|text|Text following the link to Wikipedia. Without leading space.|<tt>on Wikipedia</tt>}} | {{Parameter Row|text|Text following the link to Wikipedia. Without leading space.|<tt>on Wikipedia</tt>}} | ||
{{Parameter Row|full|Set the parameter to <tt>y</tt> or <tt>Y</tt> to use the full name, including the namespace.|Not set}} | {{Parameter Row|full|Set the parameter to <tt>y</tt> or <tt>Y</tt> to use the full name, including the namespace.|Not set}} | ||
+ | {{Parameter Row|disambig|Additional text to disambiguate the link, when not overwriting the target page. Will add <tt>␣({{{disambig}}})</tt> to the target page.|Not set}} | ||
}} | }} | ||
[[Category:Cross-reference templates]] | [[Category:Cross-reference templates]] | ||
[[Category:Translatable templates]]</noinclude> | [[Category:Translatable templates]]</noinclude> |
Revision as of 11:45, 13 March 2014
Wikipedia on Wikipedia