• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Rules & Requests Site & Forum Feedback Discovery Wiki
« Previous 1 … 6 7 8 9 10 … 14 Next »
Faction Infobox2

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Faction Infobox2
Offline Blodo
04-26-2011, 09:23 AM, (This post was last modified: 04-26-2011, 09:25 AM by Blodo.)
#6
No Pilot
Posts: 2,852
Threads: 128
Joined: Jan 2008

I added a second example based on a GC server faction to the test page. We can later amend the template with it if we need to once everything is done.

As for hiding the whole Identification section, basically what you will need to do is wrap the whole thing up in an #if statement, the start of which should probably look roughly like this:

Code:
{{#if: {{{primaryID|}}}{{{IFF|}}} | your code }}
What this does is it evaluates one variable which has a default set to null, then evaluates the second variable which default is also set to null. This is denoted by the pipe in the variable declaration (no text after the pipe means default is null). If both variables are null, then the expression returns false and the #if statement doesn't proceed. Remember, #if always evaluates to true if the string is not empty. So you can put as many variables as you want in it and adjust behaviour accordingly. Hope that helped.
  Reply  


Messages In This Thread
Faction Infobox2 - by Gemini893 - 04-25-2011, 04:03 PM
Faction Infobox2 - by Pancakes - 04-25-2011, 04:49 PM
Faction Infobox2 - by Blodo - 04-25-2011, 09:40 PM
Faction Infobox2 - by Chrysalis - 04-25-2011, 10:13 PM
Faction Infobox2 - by Gemini893 - 04-26-2011, 04:00 AM
Faction Infobox2 - by Blodo - 04-26-2011, 09:23 AM
Faction Infobox2 - by Not Espi - 04-26-2011, 09:28 AM
Faction Infobox2 - by Gemini893 - 04-26-2011, 09:22 PM
Faction Infobox2 - by Gemini893 - 04-26-2011, 11:47 PM
Faction Infobox2 - by Gemini893 - 07-11-2011, 09:57 PM
Faction Infobox2 - by Gemini893 - 07-18-2011, 09:09 AM
Faction Infobox2 - by SnakThree - 08-02-2011, 07:08 PM
Faction Infobox2 - by Alex. - 08-02-2011, 08:02 PM
Faction Infobox2 - by SnakThree - 08-02-2011, 08:12 PM
Faction Infobox2 - by SnakThree - 08-03-2011, 09:19 PM
Faction Infobox2 - by Gemini893 - 08-05-2011, 09:39 PM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2026 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode