Difference between revisions of "User talk:Vincent"

From Lazarus wiki
Jump to navigationJump to search
Line 23: Line 23:
  
 
:::But then you assume, that all pages have the same translations. But currently that's not true. If you create a template for all pages you will get a lot of 'red' links. I wouldn't like to have such links. --[[User:Swen|Swen]] 23:30, 5 September 2008 (CEST)
 
:::But then you assume, that all pages have the same translations. But currently that's not true. If you create a template for all pages you will get a lot of 'red' links. I wouldn't like to have such links. --[[User:Swen|Swen]] 23:30, 5 September 2008 (CEST)
 +
 +
::::More page are TITLEPAGE/SUFIX with the same title. For 'red' links I thik use this #ifexist: 
 +
<nowiki>{{#ifexist:}}</nowiki> returns one of two results based on whether or not a particular page exists.
 +
 +
{{#ifexist:{{{page}}}/de | [[{{{page}}}/de|Deutsch (de)]] }}
 +
 +
::::--[[User:Xno|Xno]] 02:17, 7 September 2008 (CEST)

Revision as of 01:17, 7 September 2008

Sorry Vincent, I forget the version in link: http://br.geocities.com/hipernetjr/lmdi/lmdi-0.1.zip

Thanks!

Wiki parser

Hi Vincent, I try to use some function of wiki parser like to write template for language menu. I think parser isn't install.

You can see this page for help

This code on local server display a menu for translated page

{{MenuTranslate| Testpage}}

Template:MenuTranslate --Xno 15:38, 5 September 2008 (CEST)

Hello Xno, you don't need a parser for the language templates. You can study the existing templates (like http://wiki.lazarus.freepascal.org/Template:Lazarus_DB_Faq ) and then create new templates. Regards --Swen 17:46, 5 September 2008 (CEST)
Hello Swen, I try to create unique template for al page. I see the existing template, and I think I can contribute with this type of template, where an unique MenuTranslate is used, for al page that need link to translated page, more simple I think. --Xno 18:37, 5 September 2008 (CEST)
But then you assume, that all pages have the same translations. But currently that's not true. If you create a template for all pages you will get a lot of 'red' links. I wouldn't like to have such links. --Swen 23:30, 5 September 2008 (CEST)
More page are TITLEPAGE/SUFIX with the same title. For 'red' links I thik use this #ifexist:
{{#ifexist:}} returns one of two results based on whether or not a particular page exists.


--Xno 02:17, 7 September 2008 (CEST)