Template:If is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
{{
editprotected}}
Based on User:Wknight94 protection, suggest adding {{
pp-template}} to the top of the template page
Tamr007 (
talk) 10:09, 10 July 2008 (UTC)
Could anyone explain me the usage of this template in the form of:
if condition then statement1 else statement2
I noticed that the documentation was somewhat unclear. Alexius08 is welcome to talk about his contributions. 14:13, 1 October 2008 (UTC)
Does anyone know how to use #if: when I want to check against multiple statements? Example:
Say i want to check e.g. whether 1 OR 2 is not an empty value in an infobox, how to accomplish that? The example i have does not work. There appaerently is a problem with multiple conditions? Or do i miss something? Regards, DTBone ( talk) 18:18, 11 October 2008 (UTC)
Template:If is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
{{
editprotected}}
Based on User:Wknight94 protection, suggest adding {{
pp-template}} to the top of the template page
Tamr007 (
talk) 10:09, 10 July 2008 (UTC)
Could anyone explain me the usage of this template in the form of:
if condition then statement1 else statement2
I noticed that the documentation was somewhat unclear. Alexius08 is welcome to talk about his contributions. 14:13, 1 October 2008 (UTC)
Does anyone know how to use #if: when I want to check against multiple statements? Example:
Say i want to check e.g. whether 1 OR 2 is not an empty value in an infobox, how to accomplish that? The example i have does not work. There appaerently is a problem with multiple conditions? Or do i miss something? Regards, DTBone ( talk) 18:18, 11 October 2008 (UTC)