Template:Infobox: Difference between revisions

From Drama Chaser
(editing first param)
(more notes to self about testing this template.)
Line 6: Line 6:


The name field is redundant in this infobox, because infobox-title is doing that work. so I'm taking that out.  
The name field is redundant in this infobox, because infobox-title is doing that work. so I'm taking that out.  
Right now the "Age" line and "age" info are not loading on this infobox over in the example, and I cannot figure out why. neither is the infobox-image part. Also I'm confused about why I have such big escapes in some parts of the css, and trying to parse what they really mean.I think I'm using infobox-title wrong but I'm trying to understand what this template form actually Eexpects.


</noinclude>
</noinclude>

Revision as of 21:59, 25 April 2024

This is our initial practice infobox template. It should take the page title as its title, it has room for an image, etc.

The template offers the fields infobox-title, infobox-image, name, age, hometown, sign, and blood type as example fields.

I think the if statement looking for a param1 is simple logic saying that if there's another parameter listed at the end it interprets that as the thing coming up next. But I'm not sure.

The name field is redundant in this infobox, because infobox-title is doing that work. so I'm taking that out.

Right now the "Age" line and "age" info are not loading on this infobox over in the example, and I cannot figure out why. neither is the infobox-image part. Also I'm confused about why I have such big escapes in some parts of the css, and trying to parse what they really mean.I think I'm using infobox-title wrong but I'm trying to understand what this template form actually Eexpects.


Infobox