User talk:GrafZahl

From Wikipedia, the free encyclopedia

Welcome!

Hello, GrafZahl, and welcome to Wikipedia! Thank you for your contributions. I hope you like the place and decide to stay. Here are a few good links for newcomers:

I hope you enjoy editing here and being a Wikipedian! Please sign your name on talk pages using four tildes (~~~~); this will automatically produce your name and the date. If you need help, check out Wikipedia:Where to ask a question, ask me on my talk page, or place {{helpme}} on your talk page and someone will show up shortly to answer your questions. Again, welcome! ...oder Willkommen Lectonar talk to me

You're welcome, and no apologies needed (are you sure you aren't en-3?) Happy editing! Lectonar 07:17, 21 September 2005 (UTC)

Contents

[edit] Infobox Town

[edit] 1

Hello, thanks for your contribution to Infobox Town, I've been always wondering whether some type of conditional syntax was possible, but was also too lazy to go thru Wikimedia syntax tutorials to check this out. Do you, by chance, know if using this syntax one is able to hide even some cells in a table? Besides this template I also created three additional ones for cases when either the coat-of-arms or the map were unavailable. Would it be posiible to make the template even more flexible, so that it didn't display the appropriate cells when these fields were empty? --Caroig 15:17, 21 October 2005 (UTC)

Following your example, I improved the coat-of-arms and location map links - if they aren't provided a text is displayed instead, but I'd still appreciate if it were possible not to display the cell at all in such case. --Caroig 15:42, 21 October

2005 (UTC)

replied to on user's talk page

[edit] 2

I've added conditional syntax to every item in the Infobox. If any data is missing NA gets displayed instead. (I haven't tested the new code thoroughly so there might be errors.) There's, however, a problem with "founded" or "first_documented", what if neither of them is available? What if we had fields say "first" and "first_type", the former would contain the year and the latter the type of data, i.e. either string "Founded" or "First documented" (and probably, when first_type was empty "Founded" would get displayed by default). Or we could leave the year field named as "founded" and then have say "founded_type"; this wouldn't require to modify any older pages where the Infobox is used, on the oher hand the field names would be a bit misleading. –Caroig 21:01, 22 October 2005 (UTC)

I've already submitted the latter style, hope you don't mind, I believe it's even more flexible now. BTW, it would really be great if one could use PHP for templates (could be restricted to if, print ... directives), such code would be much more elegant and would definitely parse faster, not talking about more flexibilty (it's very ugly how the alternating table row colors are achieved here). I think we could have a template with even conditionally shown cells if we didn't use the wiki table syntax (pipes) but standard html tags. It might also be parsed faster, but it would probably be against good wiki style.
Replied to on user's talk page.

[edit] Leimen

Thanks for catching my error in the Joseph von Henikstein article. I was so caught up in translating that I forgot to check my links and just blindly assumed that Leimen went to the Leimen in Galicia, when I should know better! -Maaya 04:21, 23 October 2005 (UTC)

replied to on user's talk page

[edit] Coats of Arms

Hi there! I just added a topic for Nußloch and I was wondering where you got the coat of arms for Leimen. I want to add one without violating any copyright. I also used your image for the location of Leimen. I figured given the scale of the map of Germany, the red dot for Leimen is close enough.

Thanks!

--imars 13:50, 22 December 2005 (UTC)

replied to on user's talk page