Difference between revisions of "Template:Wikipedia"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*more specific category; +additional text;)
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}}}}}}]] {{{text|on Wikipedia}}}<noinclude>
+
[[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>
  
 
{{Parameter Table|name=both|parameters=
 
{{Parameter Table|name=both|parameters=
 
{{Parameter Row|1|Target page on Wikipedia.|The page's name (<tt><nowiki>{{BASEPAGENAME}}</nowiki></tt> or when {{{full}}} is active <tt><nowiki>{{FULLPAGENAME}}</nowiki></tt>)}}
 
{{Parameter Row|1|Target page on Wikipedia.|The page's name (<tt><nowiki>{{BASEPAGENAME}}</nowiki></tt> or when {{{full}}} is active <tt><nowiki>{{FULLPAGENAME}}</nowiki></tt>)}}
 +
{{Parameter Row|2|Additional description of the object.|Not set/Hidden}}
 
{{Parameter Row|lang|Language code of Wikipedia. Set to empty string if targeting the English.|Not set/English}}
 
{{Parameter Row|lang|Language code of Wikipedia. Set to empty string if targeting the English.|Not set/English}}
 
{{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>}}
Line 8: Line 9:
 
}}
 
}}
  
[[Category:Templates]]</noinclude>
+
[[Category:Cross-reference templates]]</noinclude>

Revision as of 19:19, 4 February 2014

Wikipedia on Wikipedia

Template:Parameter Table