Differences
This shows you the differences between two versions of the page.
|
documentation:webcit:customize:templates:start [2012/07/15 08:15] dothebart [Conditionals '?', '!' or '%'] complete the conditionals we added meanwhile. |
documentation:webcit:customize:templates:start [2012/07/15 08:21] (current) dothebart fix syntax. |
||
|---|---|---|---|
| Line 67: | Line 67: | ||
| | [[servcfg#COND:SERVCFG|COND:SERVCFG]] | [[servcfg|creates servcfg]] | checks for a specific server config being set | | | [[servcfg#COND:SERVCFG|COND:SERVCFG]] | [[servcfg|creates servcfg]] | checks for a specific server config being set | | ||
| | [[servcfg#COND:EXPIRE:MODE|COND:EXPIRE:MODE]] | none | which expiry mode is set for this server/floor/room | | | [[servcfg#COND:EXPIRE:MODE|COND:EXPIRE:MODE]] | none | which expiry mode is set for this server/floor/room | | ||
| - | ^concerning this user^x | + | ^concerning this user^ |
| | COND:LOGGEDIN | none | is this a logged in user? | | | COND:LOGGEDIN | none | is this a logged in user? | | ||
| | COND:AIDE | none | Checks whether the user has AIDE privileges or not. | | | COND:AIDE | none | Checks whether the user has AIDE privileges or not. | | ||
| Line 80: | Line 80: | ||
| | [[preferences#COND:PREF:SET|COND:PREF:SET]] | none | Checks against the users preferences | | | [[preferences#COND:PREF:SET|COND:PREF:SET]] | none | Checks against the users preferences | | ||
| | [[preferences#COND:ICONBAR:ACTIVE|COND:ICONBAR:ACTIVE]] | none | whether the user has configured this part of the iconbar to be active | | | [[preferences#COND:ICONBAR:ACTIVE|COND:ICONBAR:ACTIVE]] | none | whether the user has configured this part of the iconbar to be active | | ||
| - | | [[preferences#COND:ROOM:SET|COND:ROOM:SET| none | does the user have this setting for the current room enabled? | | + | | [[preferences#COND:ROOM:SET|COND:ROOM:SET]]| none | does the user have this setting for the current room enabled? | |
| ^concerning this users session^ | ^concerning this users session^ | ||
| | COND:ICONBAR:WHOLISTEXPANDED | none | whether the user has opened the list of currently online users | | | COND:ICONBAR:WHOLISTEXPANDED | none | whether the user has opened the list of currently online users | | ||
| Line 88: | Line 88: | ||
| ^concerning the current room, or a room in the list iterated^ | ^concerning the current room, or a room in the list iterated^ | ||
| | COND:ACCESS:DELETE | none | does the user have delete rights in the current room? | | | COND:ACCESS:DELETE | none | does the user have delete rights in the current room? | | ||
| - | | [[rooms#VIEW|COND:ALLOWED_DEFAULT_VIEW | none | is this view allowed as default view for this room? | | + | | [[rooms#VIEW|COND:ALLOWED_DEFAULT_VIEW]] | none | is this view allowed as default view for this room? | |
| - | | [[rooms#VIEW|COND:THISROOM:DEFAULT_VIEW | none | is this the default view for this room? | | + | | [[rooms#VIEW|COND:THISROOM:DEFAULT_VIEW]] | none | is this the default view for this room? | |
| - | | [[rooms#VIEW|COND:ROOM:TYPE_IS | none | is this the type of this room? | | + | | [[rooms#VIEW|COND:ROOM:TYPE_IS]] | none | is this the type of this room? | |
| - | | [[rooms#VIEW|COND:THISROOM:HAVE_VIEW | none | is this view allowed as view for this room? | | + | | [[rooms#VIEW|COND:THISROOM:HAVE_VIEW]] | none | is this view allowed as view for this room? | |
| - | | [[rooms#VIEW|COND:THISROOM:CURR_VIEW | none | is this view allowed the view for this room? | | + | | [[rooms#VIEW|COND:THISROOM:CURR_VIEW]] | none | is this view allowed the view for this room? | |
| - | | [[rooms#|COND:ROOM:EDITACCESS | none | is the user allowed to change at least some of this rooms properties? | | + | | [[rooms#|COND:ROOM:EDITACCESS]] | none | is the user allowed to change at least some of this rooms properties? | |
| - | | [[rooms#COND:THISROOM:FLAG:QR|COND:THISROOM:FLAG:QR | none | is this flag set in the bitflag properties vector for this room? | | + | | [[rooms#COND:THISROOM:FLAG:QR|COND:THISROOM:FLAG:QR]] | none | is this flag set in the bitflag properties vector for this room? | |
| - | | [[rooms#|COND:THISROOM:EDIT | none | are we allowed to edit all the properties of this room? | | + | | [[rooms#COND:THISROOM:FLAG:QR2|COND:THISROOM:FLAG:QR2]] | none | is this flag set in the bitflag properties vector for this room? | |
| - | | [[rooms#COND:THISROOM:FLAG:QR2|COND:THISROOM:FLAG:QR2 | none | is this flag set in the bitflag properties vector for this room? | | + | | [[rooms#|COND:THISROOM:EDIT]] | none | are we allowed to edit all the properties of this room? | |
| - | | [[rooms#|COND:THISROOM:ORDER | none | sort direction for tihs room; 0=unsorted, 1=asc 2=desc TODO | | + | | [[rooms#|COND:THISROOM:ORDER]] | none | sort direction for tihs room; 0=unsorted, 1=asc 2=desc TODO | |
| - | | [[rooms#|COND:THISROOM:HAVE_PIC | none | does this room have a special image associated with it? | | + | | [[rooms#|COND:THISROOM:HAVE_PIC]] | none | does this room have a special image associated with it? | |
| - | | [[rooms#|COND:THISROOM:HAVE_INFOTEXT | none | is there an info text set in this room? | | + | | [[rooms#|COND:THISROOM:HAVE_INFOTEXT]] | none | is there an info text set in this room? | |
| | [[rooms#GOTO|COND:UNGOTO]] | none | do we have a room to go back to? | | | [[rooms#GOTO|COND:UNGOTO]] | none | do we have a room to go back to? | | ||
| | [[rooms#wiki|COND:WIKI:PAGE]] | none | TODO | | | [[rooms#wiki|COND:WIKI:PAGE]] | none | TODO | | ||
| | [[rooms#wiki|COND:WIKI:TYPE]] | none | TODO | | | [[rooms#wiki|COND:WIKI:TYPE]] | none | TODO | | ||
| - | | [[rooms#FILE:ISPIC|COND:FILE:ISPIC | CTX_FILELIST | does the current f | + | | [[rooms#FILE:ISPIC|COND:FILE:ISPI]]C | CTX_FILELIST | is the current file an image? | |
| | COND:DAV:NS | none | WIP | | | COND:DAV:NS | none | WIP | | ||
| | COND:DAV:NSCURRENT | CTX_DAVNS | WIP | | | COND:DAV:NSCURRENT | CTX_DAVNS | WIP | | ||