Jump to content

User:Chzz/if

From Wikipedia, the free encyclopedia

Example;

{{if|eq|{{PAGENAME}}|History of the Israeli–Palestinian conflict| foo | bar }}

On this page, it displays this;

bar 

On the named page, it'll show 'foo' instead (try it with preview on that page; works)

So, replace 'foo' with {{whatever your template is called}} and bar with nul, ie;

{{if|eq|{{PAGENAME}}|History of the Israeli–Palestinian conflict| {{your-template}} |}}

Should work.

 Chzz  ►  03:30, 1 May 2009 (UTC)