Difference between revisions of "Template:Wikipedia"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Removed the in two more places.)
(+allow first parameter to be not set; +text parameter;)
Line 1: Line 1:
[[w:{{#if: {{{lang|}}}|{{{lang|}}}:}}{{{1|{{BASEPAGENAME}}}}}|{{{1|{{BASEPAGENAME}}}}}]] on Wikipedia<noinclude>
+
[[w:{{#if: {{{lang|}}}|{{{lang|}}}:}}{{#if: {{{1|}}}|{{{1}}}|{{BASEPAGENAME}}}}|{{#if: {{{1|}}}|{{{1}}}|{{BASEPAGENAME}}}}]] {{{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>)}}
 
{{Parameter Row|1|Target page on Wikipedia.|The page's name (<tt><nowiki>{{BASEPAGENAME}}</nowiki></tt>)}}
 
{{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>}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 11:18, 27 August 2013

Wikipedia on Wikipedia

Template:Parameter Table