PmWikiRu /
, !
, ()
(:if:)
(:if:)
.
:
(:if :) (:ifend:)
"" - ( ), "" - . ""(TRUE),
, ""(FALSE) - .
:
| (:if name :)
| - | " "
|
(:if group :)
| - | " "
| |
(:if auth :)
| - | " ", : read , edit , upload , attr admin
| |
(:if authid:)
| - | ||
(:if true:)
| - | ||
(:if false:)
| - | ( ) | |
(:if attachments:)
| - | ||
(:if date :)
| - |
| |
(:if date ..:)
| - | ()
| |
(:if date 1..2:)
| - | 1 2 ()
| |
-- | |||
(:if enabled VAR:)
| - | PHP VAR (==true) | |
(:if equal 1 2:)
| - | 1 2
| |
(:if match :)
| - |
| |
(:if exists :)
| - |
:
| (:if !attachments:)
| - | |
(:if ! name :)
| " "
| ||
(:if name - :)
| |||
(:if name ! :)
|
(:if:)
, ( ):
| (:if auth read:)*
|
(:if auth edit:)*
| |
(:if auth upload:)*
| |
(:ifend:)
|
('*' '?')
(*
) - , , .
(?
) - . (*
?
) :
| (:if name PmCal.2005* :)
| - | PmCal 2005 |
(:if group PmWiki* :)
| - | PmWiki
| |
(:if name Profiles.*,-Profiles.Profiles :)
| - | Profiles , Profiles.Profiles
|
( ) . :
| (:if expr :)
|
(:if [ ] :)
| |
(:if ( ) :)
|
. , :
"" | ||
---|---|---|
and | And | |
or | Or | |
xor | Xor | , |
! A | Not | |
&& | And | |
|| | Or |
, :
- ;
- .
:
| (:if expr auth admin || auth attr || auth edit :)
|
[[Logout -> {$Name}?action=logout]]
| |
(:if:)
|
logout , 'read'().
()
Cookbook:ConditionalMarkupSamples.
<< InterMap | DocumentationIndex | >>
PmWikiRu.ConditionalMarkup -
Backlinks
PmWikiRu.ConditionalMarkup: September 10, 2011, at 01:48 PM EST
PmWiki.ConditionalMarkup: December 17, 2022, at 03:49 AM EST