Difference between revisions of "Template:Infobox/Part/Manufacturer entry"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Template:Infobox/Part/Manufacturer Entry to Template:Infobox/Part/Manufacturer entry without leaving a redirect: let's get rid of the uppercase E)
m (-italic; *use subcategory template;)
Line 1: Line 1:
<includeonly>[[: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}}]]}}</includeonly><noinclude>Generates a manufacturer entry. 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>[[: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}}]]}}</includeonly><noinclude>Generates a manufacturer entry. 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.]].
Line 6: Line 6:
 
* [[:Category:Manufacturers]]
 
* [[:Category:Manufacturers]]
  
[[Category:Infobox/Part metatemplates|Manufacturer entry]]</noinclude>
+
{{Subcategory|metatemplates}}</noinclude>

Revision as of 18:27, 28 December 2013

Generates a manufacturer entry. 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..

See also