Template talk:And

From Wikimedia Commons, the free media repository
Jump to: navigation, search

It's not a good idea to use this. 'and' is a valid language code and we shouldn't block these with other templates. I created {{conj}} to cover this. "{{conj|type=and}}" will result in "" and "{{conj|X|Y|type=or}}" in "X or Y". This can also be used in templates like {{untitled}} or {{Technique/en}} where you have used if-constructs to achieve this. --Slomox (talk) 22:30, 7 September 2010 (UTC)

Ok thanks. I have never understood, if it was possible to have "and" and "or" in wikicode !--Zolo (talk) 22:50, 7 September 2010 (UTC)
Works for me. Your template can even be expanded to cover all conjunctions (nor, but, yet, etc.) if we need it. Maybe we could make {{&}} a shortcut for when we just want "and" (save on some processing). I'm not sure why it' used in {{Technique/en}}, which is supposed to be an English translation... Rocket000 (talk) 22:58, 7 September 2010 (UTC)
(I had left some {{int:and}} in {{technique/en}} because I figured out it would be easier to copy-paste in other languages, it quite quite silly I know. It is gone now)--Zolo (talk) 09:09, 8 September 2010 (UTC)
It shouldn't be used in {{Technique/en}}, but some of the logic should probably go back into {{Technique}}. E.g. the "and" parameters do not show up at all in any other language. If we put it in {{Technique}} the unsupported languages should show them too. --Slomox (talk) 00:19, 8 September 2010 (UTC)