Expect a letter from a friend who will ask a favor of you.
FrontPage › 임의의 페이지 이름 › OriginalWiki › FortuneMacro
Fortune 매크로 플러그인은 GNU fortune프로그램을 이용한 매크로입니다.
현재 유닉스만 지원하며 다음을 만족시켜야 합니다.
- fortune이 설치되어 있어야 한다. /usr/bin/fortune, /usr/share/games/fortune/
- 이게 맞지 않는다면 plugin/fortune.php에서 소스를 직접 조정해 주세요.
사용예 ¶
[[Fortune]] (default art)
A writer is congenitally unable to tell the truth and that is why we call
what he writes fiction.
-- William Faulkner
[[Fortune(love)]]
HEY KIDS! ANN LANDERS SAYS:
Be sure it's true, when you say "I love you". It's a sin to
tell a lie. Millions of hearts have been broken, just because
these words were spoken.
[[Fortune(*)]]
It is most dangerous nowadays for a husband to pay any attention to his
wife in public. It always makes people think that he beats her when
they're alone. The world has grown so suspicious of anything that looks
like a happy married life.
-- Oscar Wilde
특징 ¶
Fortune 매크로는 fortune파일의 인덱스를 직접 읽어들여 사용하므로 FortuneCookies를 읽어들이는 RandomQuoteMacro보다 매우 빠릅니다.
Please see also