Difference between revisions of "Template talk:Infobox/Kerbonaut"
From Kerbal Space Program Wiki
(Need more general Kerbal template to cover non-kerbonaut Kerbals such as KSC staff.) |
m (nowiki --> pre) |
||
Line 2: | Line 2: | ||
I propose the following template for Infobox/Kerbal | I propose the following template for Infobox/Kerbal | ||
− | < | + | |
+ | <pre> | ||
{{Infobox | {{Infobox | ||
Line 26: | Line 27: | ||
[[Category:Infobox templates|Kerbal]]</noinclude> | [[Category:Infobox templates|Kerbal]]</noinclude> | ||
− | </ | + | </pre> |
--[[User:Brendan|Brendan]] ([[User talk:Brendan|talk]]) 23:04, 13 March 2014 (CDT) | --[[User:Brendan|Brendan]] ([[User talk:Brendan|talk]]) 23:04, 13 March 2014 (CDT) |
Revision as of 04:05, 14 March 2014
This template is specific to kerbonauts, but not all Kerbals are kerbonauts. I suggest "Infobox/Kerbal" be made more general and make a new template for use with kerbonauts. "Infobox/Kerbonaut" or transclude "Infobox/Kerbal" with a new "Infobox/Kerbal/Kerbonaut".
I propose the following template for Infobox/Kerbal
{{Infobox |name={{{name|}}} |file={{{file|}}} |hovertext={{{hovertext|}}} |lines= {{if||{{{hovertext|}}}|{{ Infobox/Line|style=text-align:center; font-style:italic;|{{{hovertext}}} }} }} {{if||{{{occupation|}}}|{{ Infobox/Line|{{lang|en=Occupation}}|{{{occupation}}} }} }} }} <noinclude> {{Parameter Table|parameters= {{Parameter Row|name|The name of the kerbal, including nicknames.|The name of the article.}} {{Parameter Row|file|An image of the kerbal.|[[:File:Image needed.svg]]}} {{Parameter Row|hovertext|The image's hovertext and subtitle.|Not set}} {{Parameter Row|occupation|The kerbal's role or occupation.|Not set}} }} [[Category:Infobox templates|Kerbal]]</noinclude>