نقاش القالب:Lexicon

من ويكي عربآيز
اذهب إلى: تصفح، ابحث

This Template to simplify making Lexicons, but I don't understand how templates work here, any help? this should give a result like {{Lexicon_Application_Quitting}} when used (ex. {{Lexicon|style|pattern}}) --Hosny 21:42, 19 December 2006 (PST)


What you are looking for is templates with variable number of input. I don't know how to do that, I doubt it is possible. Maysara, any help?

In the mean time, a solution is to just use normal templates. Eg, make another template:lexicon media types --Djihed 21:55, 19 December 2006 (PST)

i suppose its possible, {{Lexicon_{{{2}}}}} should do it, but what is style for? color for example?--Maysara.abdulhaq 23:19, 19 December 2006 (PST)
i appologize for the extremely many edits, is this Lexicon template fine? the syntax should be {{Lexicon|Lexicon Title|Term 1|Term 2|.....|Term 11}}--Maysara.abdulhaq 05:37, 20 December 2006 (PST)
I don't think "Lexicon Title" is necessary, a static "Related Words" might be better, some times you won't find a proper title. --Hosny 06:20, 20 December 2006 (PST)
i would rather call this Dynamic_lexicon, is that ok?--Maysara.abdulhaq 05:44, 20 December 2006 (PST)
I prefer just lexicon, more simple. --Hosny 06:20, 20 December 2006 (PST)
I thought this template should be used to create Lexicon templates which are later included into articles ... this makes it easier to update "related terms" when its added to one word-article to be added to all other "related" articles, having such templates can be also used to categroize articles in categories related to their usage and in a hierarical way, not only according to their pronunciation and status (translated/untranslated) .--Maysara.abdulhaq 06:35, 20 December 2006 (PST)
Ok, now the template can be used to group related terms by using the syntax
 {{Lexicon||term 1|term 2|...|term n}} 

or can be used to create other templates that have corresponding categories and titles by using the syntax

 {{Lexicon|Lexicon Name|term 1|term 2|...|term n}}

and i suggest that we use a unified Lexicon templates name such as "NAME Lexicon" , where name is the same as the second field! i suppose this way the Lexicons can be used both the way i suggest and husni suggests.--Maysara.abdulhaq 08:53, 20 December 2006 (PST)

Very cool, thanks for your hard work :) --Hosny 08:43, 20 December 2006 (PST)