Vanguard Spheres  

Welcome to the Vanguard Spheres forums.

You are currently viewing our boards as a guest which gives you limited access to view our discussions, articles/interviews and photo galleries. By joining our community you will gain access to post your own topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features and tools like our upcoming Guild Management Tool (GMT). Registration is fast, simple and absolutely free so please, join our community today!

As a bonus this banner will disappear once you are registered! If you have any problems with the registration process or your account login, please contact support.

Home Forums WikiSphere Gallery Chat Arcade Today's Posts
Go Back   Vanguard Spheres > Vanguard WikiSpheres
Register FAQ Members List Who's Online Search Today's Posts Mark Forums Read

Personal tools

Template:If2

From Vanguard WikiSpheres

A conditional template, which can take either numbered or named parameters:

{{if2|<test>|<then>|<else>}}

If the test parameter is an empty string, the value of else is displayed. Otherwise, the value of then is displayed.

How it works: The template {{show1}} displays either the first parameter or the parameter named 1. The "if" template works by assigning the then value to 1, then assigning the else value to a parameter whose name is 1 followed by the contents of the test parameter. If test is an empty string, then the result is to assign else's to 1, overriding the prior value.


All times are GMT -4. The time now is 01:30 AM.



Regency Sword © T. King @ Tkingart.com
Trademarks are the property of Sigil Games Online, Inc.
Game content and materials copyright Sigil Games Online, Inc. All rights reserved.