Module talk:Sidebar: Difference between revisions

Content deleted Content added
Sardanaphalus (talk | contribs)
Line 53:
:::::# Okay, by all means add "header" as an alternative parameter name, or make "heading" the alternative to "header". (Is it {{tl|Infobox}} that uses "header"?)
:::::: [[User:Sardanaphalus|Sardanaphalus]] ([[User talk:Sardanaphalus|talk]]) 10:09, 29 October 2008 (UTC)
 
== navigation boxes with common arguments? ==
 
I was just looking at some of the navigation box meta-templates, and it seems like each one uses different names for the arguments. This makes it much harder than it needs to be to change the style of a template.
Specifically:
 
[[template:Navbox]] and [[template:navbox with collapsible groups]] seem to share common argument names
|group1 =
|abbr1 =
|list1
 
[[template:Sidebar]] uses totally different names
|heading1 =
|content1 =
 
and [[template:Sidebar with collapsible lists]] uses yet another set of names (incompatible with either of the above).
|list1name =
|list1title =
|list1 =
 
Several of the other parameters have different names as well.
 
Am I looking at the wrong templates? Is there another set of navigation metatemplates that is coordinated? Are there adapter templates that mask all this in a nice way? (If we can't change the base templates, one can build template(s) to tidy this up, but no sense in doing that if it is already done.)
 
I was looking at this while looking at a template that has both a horizontal and a vertical version (which people are trying to keep synchronized manually); somebody asked if there wasn't a way to use one template and two different views. I think I see how to do that, but didn't reckon with having to change the names of the parameters in order to do it. But perhaps there is already a standard way to do what I want without messing with these templates?
 
By the way, why is it navbox with collapsible '''groups''' and sidebar with collapsible '''lists'''? Again, consistency would be nice. Thanks [[User:Zodon|Zodon]] ([[User talk:Zodon|talk]]) 07:41, 30 October 2008 (UTC)