Monday, July 25, 2011

Wiktionary - Recent changes [en]: Wiktionary:Grease pit

Wiktionary - Recent changes [en]
Track the most recent changes to the wiki in this feed.
Wiktionary:Grease pit
Jul 26th 2011, 00:10

String functions (again :): So you're trying to create a conjugation template? What language is this for?

← Older revision Revision as of 00:10, 26 July 2011
Line 836: Line 836:
:::: For the multiple possible values for certain arguments, I'd considered using <code>explode</code> or something similar to break a string like "val1 val2 val3" into its constituents, but since this is unavailable and since there will be fewer than half a dozen values given at once, I can work around this by just using named arguments such as "conj-pref-1" "conj-pref-2" etc.
:::: For the multiple possible values for certain arguments, I'd considered using <code>explode</code> or something similar to break a string like "val1 val2 val3" into its constituents, but since this is unavailable and since there will be fewer than half a dozen values given at once, I can work around this by just using named arguments such as "conj-pref-1" "conj-pref-2" etc.
:::: Thinking it through, I might be able to use heyzeuss's / Yair Rand's clever approach to <code><nowiki>{{Template:str len}}</nowiki></code> (described [[Template_talk:str_left|here]]) for the first and last character problem. I've never done anything with <code><nowiki>{{subst:}}</nowiki></code> before though, so that presents a new challenge. Are there any bad gotchas with using <code><nowiki>{{subst:}}</nowiki></code> in sub-templates? -- [[User:Eirikr|Eiríkr Útlendi]] | <small style="position: relative; top: -3px;">''[[User talk:Eirikr|Tala við mig]]''</small> 22:24, 25 July 2011 (UTC)
:::: Thinking it through, I might be able to use heyzeuss's / Yair Rand's clever approach to <code><nowiki>{{Template:str len}}</nowiki></code> (described [[Template_talk:str_left|here]]) for the first and last character problem. I've never done anything with <code><nowiki>{{subst:}}</nowiki></code> before though, so that presents a new challenge. Are there any bad gotchas with using <code><nowiki>{{subst:}}</nowiki></code> in sub-templates? -- [[User:Eirikr|Eiríkr Útlendi]] | <small style="position: relative; top: -3px;">''[[User talk:Eirikr|Tala við mig]]''</small> 22:24, 25 July 2011 (UTC)
  +
::::: So you're trying to create a conjugation template? What language is this for? If you can point me to a comprehensive explanation of how its verbs are conjugated, I may be able to whip something up for you. —[[User: Ruakh |Ruakh]]<sub ><small ><i >[[User talk: Ruakh |TALK]]</i ></small ></sub > 00:10, 26 July 2011 (UTC)

You are receiving this email because you subscribed to this feed at blogtrottr.com.
If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions