Difference between revisions of "Template talk:Planetbox 2.0"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Redundant template?: new section)
m
Line 11: Line 11:
 
::::: It's already done. =) Check out how [[Template:Planetbox]] uses [[Template:PlanetBoxRow]], especially down toward the end. The latter takes 3 arguments: name ("Radius"), value ("320"), and units ("km"). If the value is "N/A", the row isn't displayed.
 
::::: It's already done. =) Check out how [[Template:Planetbox]] uses [[Template:PlanetBoxRow]], especially down toward the end. The latter takes 3 arguments: name ("Radius"), value ("320"), and units ("km"). If the value is "N/A", the row isn't displayed.
 
::::: By the way, you can sign a comment easily by adding "<nowiki>~~~</nowiki>" to the end of it. The wiki will turn that into a signature automatically. (Four tildes will make your signature include the date, too.) &mdash; [[User:Elembis|Elembis]] ([[User talk:Elembis|talk]]) 07:24, 16 October 2012 (UTC)
 
::::: By the way, you can sign a comment easily by adding "<nowiki>~~~</nowiki>" to the end of it. The wiki will turn that into a signature automatically. (Four tildes will make your signature include the date, too.) &mdash; [[User:Elembis|Elembis]] ([[User talk:Elembis|talk]]) 07:24, 16 October 2012 (UTC)
 +
 +
:::::: *facepalm* I am sorry, i keep forgetting to add my signature. I know i should. So if i change the ?? to N/A, the name should disappear??? Thanks! I will admit that i pretty much used the old template (because it was pretty good) and just updated it completly. No to finish off with my signature;) --[[User:Azivegu|Azivegu]] ([[User talk:Azivegu|talk]]) 13:52, 16 October 2012 (UTC)
 +
  
 
== Redundant template? ==
 
== Redundant template? ==

Revision as of 13:52, 16 October 2012

Why is this a separate page? Just merge it with the old one.--Craigmt1 (talk) 20:13, 15 October 2012 (UTC)

Agreed. I've modified the old one so that if an argument is specified as "N/A", that row won't show up. This way we can add attributes for atmospheric properties, for example, without polluting the infoboxes of celestial bodies with no atmospheres. — Elembis (talk) 02:17, 16 October 2012 (UTC)
You mean, if the argument's blank? I can set up RoboJeb to delete N/A from planetbox args, if you'd like. -- N3X15 (C · T · E) 02:29, 16 October 2012 (UTC)
My thinking was that a blank argument might simply mean it was added to the template and not specified on some pages that used it -- in that case, you'd want "??" to appear (or something similar) until someone filled the information in. In other cases, fields are simply not applicable, so it seemed like using a value of "N/A" for that was the right thing to do. — Elembis (talk) 02:33, 16 October 2012 (UTC)
If you could do that, that would be great. That is kind of the reason why i also put in the value: Atmosphere Present. That way you see it real quick. The reason i added atmosphere is because i see it becoming ever more important and i believe it wil occupy an ever growing role. — Preceding unsigned comment added by Azivegu (talkcontribs)
It's already done. =) Check out how Template:Planetbox uses Template:PlanetBoxRow, especially down toward the end. The latter takes 3 arguments: name ("Radius"), value ("320"), and units ("km"). If the value is "N/A", the row isn't displayed.
By the way, you can sign a comment easily by adding "~~~" to the end of it. The wiki will turn that into a signature automatically. (Four tildes will make your signature include the date, too.) — Elembis (talk) 07:24, 16 October 2012 (UTC)
*facepalm* I am sorry, i keep forgetting to add my signature. I know i should. So if i change the ?? to N/A, the name should disappear??? Thanks! I will admit that i pretty much used the old template (because it was pretty good) and just updated it completly. No to finish off with my signature;) --Azivegu (talk) 13:52, 16 October 2012 (UTC)


Redundant template?

Does this mean that no pages should be using this template any more?

Currently I see there are two pages that use this template. Thecoshman (talk) 07:49, 16 October 2012 (UTC)