Template talk:Infobox

From RationalWiki
Jump to navigation Jump to search

Would you mind if this was renamed? Infobox is a bit generic & might be wanted as a core template (with other templates copied from WP) later. I'm asking before it's used anywhere. Toast s.png (Toast) and marmalade 20:29, 5 February 2009 (EST)

I don't really mind. But we could make it a catchall. --"ConservapediaUndergroundDiodeRusty-spotted catspeed! 20:36, 5 February 2009 (EST)
As it stands, you couldn't: it's rather specifically about RW editors. What's needed is a base template that lets you fill in the headings as well as the content and only shows those that are used. What you've got here would then use that template to make this one. Not explained very well but I know what I mean. (And it uses the "class" as the name - not best practice) Toast s.png (Toast) and marmalade 20:46, 5 February 2009 (EST)
Plz explain in more detail. And if you go

|date of birth=1999

Then it won't show anything else. --"ConservapediaUndergroundDiodeRusty-spotted catspeed! 20:51, 5 February 2009 (EST)

CUR can you explain why we need this and what you want it to do. - User 20:55, 5 February 2009 (EST)
This can do ANYTHING. It can give at-a-glance info on atheism, RationalWiki, ASchlafly, goats, the theory of relativity, etc. if you let me modify it enough. --"ConservapediaUndergroundDiodeRusty-spotted catspeed! 21:01, 5 February 2009 (EST)

It will show all the blank lines thus: Toast s.png (Toast) and marmalade 21:06, 5 February 2009 (EST) {{Infobox|dateCP=1999}}

{{|}}

By Darwin's hat and Obama's tie! NX! HELP! SOMEBODY! WE HAVE A STRANDED WIKIN00B! --"ConservapediaUndergroundDiodeRusty-spotted catspeed! 21:08, 5 February 2009 (EST)
Calm the fuck down. I think I know what he wants, I'll give it a try. - User 21:10, 5 February 2009 (EST)
<waves arms in air> Help! ;-) --"ConservapediaUndergroundDiodeRusty-spotted catspeed! 21:11, 5 February 2009 (EST)

CUR: For each line put something like:

{{#if:{{{dob|}}}|
{{!}}-date of birth
{{!}}{{{dob}}}}}

That'll miss out unused lines

Toast s.png (Toast) and marmalade 21:11, 5 February 2009 (EST) (I think) Toast s.png (Toast) and marmalade 21:14, 5 February 2009 (EST)

Thanks Toast. - User 21:15, 5 February 2009 (EST)
You're having fun there Pi! Toast s.png (Toast) and marmalade 21:21, 5 February 2009 (EST)
No because I am wasting time fixing another of CUR's stupid ideas. As far as I can tell parser function will always return as false for a blank string. - User 21:23, 5 February 2009 (EST)
I happen to know it won't. The taxobox over at WP has about 200 possible strings, but normally only about 10 are displayed. So it is possible. And I was originally going to fix it. And something this versitile can't be a stupid idea. --"ConservapediaUndergroundDiodeRusty-spotted catspeed! 21:25, 5 February 2009 (EST)
There is such a thing as too versatile and it is most defiantly stupid. - User 21:27, 5 February 2009 (EST)
The taxobox needs a degree in Higher Math to understand. This is just a port of RWW's silly Stalkbox. Toast s.png (Toast) and marmalade 21:29, 5 February 2009 (EST)
I can understand the taxobox. Give me a few years, and I can copy it. But I can understand it. Just not copy it. --"ConservapediaUndergroundDiodeRusty-spotted catspeed! 21:33, 5 February 2009 (EST)
I have a degree in higher maths and I can't follow that. It must have taken about 5 people several hours to build. - User 21:31, 5 February 2009 (EST)
Hurray I got it to work. I will make a few tweaks and the CUR you can go nuts. - User 21:32, 5 February 2009 (EST)

(unident) Hurray!

Pi: see [1] (something I made earlier) Toast s.png (Toast) and marmalade 21:34, 5 February 2009 (EST)
Thanks smarty pants. My problem is I think I had it right first go my test on the talkpage was wrong. - User 21:38, 5 February 2009 (EST)

To answer your question CUR because you commented the entire page out. To comment go <!--Shit you don't want people to see.--> - User 21:41, 5 February 2009 (EST)

Notice - not a wikitable in sight!
Wikitables look the same for everyone, html and div tags don't. - User 21:46, 5 February 2009 (EST)
Just thinkin': it might be easier to use html tables - saves all that {{!}} stuff? Toast s.png (Toast) and marmalade 21:51, 5 February 2009 (EST)
It probably would be, but do you want to teach CUR html? - User 21:54, 5 February 2009 (EST)
Only if it involves bludgeoning him into insensibility at 30 minute intervals. Toast s.png (Toast) and marmalade 22:00, 5 February 2009 (EST)

Ahem![edit]

Wot, no instructions? ToastToastand marmite 09:01, 7 February 2009 (EST)

(still think it needs renaming, though) ToastToastand marmite 09:02, 7 February 2009 (EST)
See cut down version of this template to be used as sub template and master template to use various sub templates. ToastToastand marmite 10:05, 7 February 2009 (EST)
don't like including the "#" in the template: it precludes using named colours. ToastToastand marmite 10:05, 7 February 2009 (EST)
We could try to make it so one could choose the color, but it would have a default. --"CURtalk 10:07, 7 February 2009 (EST)
You can change the colour: that horrrid orangy-yellowy hue is the default. ToastToastand marmite 12:49, 7 February 2009 (EST)
I can't seem to find a way to make it work in Fred Phelps. --"CURtalk 12:35, 7 February 2009 (EST)