Difference between revisions of "Template:WpLink"

From Evolutionary Knowledge Base
Jump to: navigation, search
Line 1: Line 1:
{{ #if: {{#external_value:Wptopic}}!="" and {{#external_value:Language}}="it" | (Collegamento alla pagina di Wikipedia: [http://it.wikipedia.org/wiki/{{#external_value:Wptopic}} {{#external_value:Wptopic}}]). }}
+
{{#if: {{#external_value:Wptopic}} | value if test string is not empty | value if test string is empty (or only white space) }}
{{ #if: {{#external_value:Wptopic}}!="" and {{#external_value:Language}}="en" | (Link to Wikipedia page: [http://en.wikipedia.org/wiki/{{#external_value:Wptopic}} {{#external_value:Wptopic}}]). }}
+
{{#if: {{#external_value:Wptopic}}!="" and {{#external_value:Language}}="it" | (Collegamento alla pagina di Wikipedia: [http://it.wikipedia.org/wiki/{{#external_value:Wptopic}} {{#external_value:Wptopic}}]). }}
 +
{{#if: {{#external_value:Wptopic}}!="" and {{#external_value:Language}}="en" | (Link to Wikipedia page: [http://en.wikipedia.org/wiki/{{#external_value:Wptopic}} {{#external_value:Wptopic}}]). }}

Revision as of 11:28, 27 May 2012

value if test string is empty (or only white space) (Collegamento alla pagina di Wikipedia: [1]). (Link to Wikipedia page: [2]).