Difference between revisions of "Template:Infobox/Part/Manufacturer entry"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (+normal white space;) |
m (added ru translation) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{1}}}|<span style="font-size:smaller; white-space:normal;">{{lang|en=by|de=von|pl=wyk. przez}}<br />''[[:Category:{{{1}}}{{if lang}}|{{#ifeq: {{{1}}}|R_KEA Inc.|R�KEA Inc.|{{{1}}}}}]]''{{#if: {{if lang}}{{#ifeq: {{#titleparts:{{PAGENAME}}|1}}|{{PAGENAME}}|1}}|[[Category:{{{1}}}{{if lang}}]]}}</span>}}</includeonly><noinclude>Generates the manufacturer options. If the page name has a valid language tag '''or''' has no subdirectories it categorises them into the manufacturer's category. Takes only one parameter of the manufacturer, which should be passed through {{Tl|Infobox/Part/Manufacturer}} first. | + | <includeonly>{{#if: {{{1}}}|<span style="font-size:smaller; white-space:normal;">{{lang|en=by|de=von|pl=wyk. przez|ru=от}}<br />''[[:Category:{{{1}}}{{if lang}}|{{#ifeq: {{{1}}}|R_KEA Inc.|R�KEA Inc.|{{{1}}}}}]]''{{#if: {{if lang}}{{#ifeq: {{#titleparts:{{PAGENAME}}|1}}|{{PAGENAME}}|1}}|[[Category:{{{1}}}{{if lang}}]]}}</span>}}</includeonly><noinclude>Generates the manufacturer options. If the page name has a valid language tag '''or''' has no subdirectories it categorises them into the manufacturer's category. Takes only one parameter of the manufacturer, which should be passed through {{Tl|Infobox/Part/Manufacturer}} first. |
When <tt><nowiki>{{{1}}}</nowiki></tt> is set to <tt>''R_KEA''</tt> it shows the link as ''R�KEA'', but still links to [[:Category:R_KEA Inc.]]. | When <tt><nowiki>{{{1}}}</nowiki></tt> is set to <tt>''R_KEA''</tt> it shows the link as ''R�KEA'', but still links to [[:Category:R_KEA Inc.]]. |
Revision as of 10:37, 29 November 2013
Generates the manufacturer options. If the page name has a valid language tag or has no subdirectories it categorises them into the manufacturer's category. Takes only one parameter of the manufacturer, which should be passed through {{Infobox/Part/Manufacturer}} first.
When {{{1}}} is set to R_KEA it shows the link as R�KEA, but still links to Category:R_KEA Inc..