Changes

From Gramps

Template:Dict

578 bytes removed, 10 March
Make "default" parameter fallback for "nl". Allow all languages. Documentation in subpage.
{{#switch: {{{lang}}}<includeonly><!-- | en = -->;'''{{{word}}}''':{{{en|{{{default1}}}}}} | nl = ;'''{{{word}}}'''#if:{{{nlfull|{{{default|en}}}}}} | fr = &nbsp;-&nbsp;'''{{{word}}}''':{{{fr|{{{default|en}full}}}}}:<!-- | sv = ;'''-->{{{word}}}'''#ifeq:{{{sv|{{{defaultlang|en}}}}}}| nl | lt = ;'''{{{word}}}''':{{{ltnl|{{{default|en}}}}}} | ;'''{{{word}}}''':{{{default|{{{enlang}}}| }}} }}<noinclude>!-- == a dictionary template ==Usage: <nowiki-->{{dict |lang =nl |word=abbatia |en=abbey |nl=abdij }}</nowikiincludeonly>or <nowikinoinclude>{{dict |lang =nl |word=abbatia |en=abbey |default=abdij /doc}}</nowiki>Dict will return depending on value of lang, the correct translation, so;'''abbatia''':abbey If the language is not present in the dictionary, the language given by ''default'' is used. If ''default'' is not present, language ''en'' is used. [[Category:Templates]]</noinclude>
252
edits

Navigation menu