Subversion Repositories wimsdev

Rev

Rev 6372 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. :signification
  2. \special ·½·¨ "help" ½ÓÊÜÁ½¸ö²ÎÊý.
  3. µÚÒ»¸ö²ÎÊýÊǹؼü´Ê, ±»·ÅÔÚ°ïÖúÎı¾µÄ±äÁ¿ \help_subject Àï.
  4. µÚ¶þ¸öÊÇÏÔʾÔÚÁ´½ÓµãµÄÎÄ×Ö.
  5. Á´½ÓµÄ "css" ÀàÊÇ <span class="tt wims_code_words">oef_specialhelp</span>, ¿ÉÒÔ±»ÉèÖÃ.
  6.  
  7. Èç¹û \special{help} ±»·ÅÔÚÁ·Ï°µÄ³ÂÊö»ò·´À¡ÖÐ,
  8. °ïÖú½«Ê¹Óõ¯³öµÄÐÎʽ, ÓëÄ£¿éÖÐͨ³£µÄ°ïÖúÁ´½Ó²»Í¬.
  9.  
  10. ËùÓеİïÖúÄÚÈÝÓ¦¸Ã±»·ÅÔÚoefµÄÔ´ÂëÖÐ.
  11. ²»´æÔÚÄ£¿éˮƽµÄ°ïÖú, ·ñÔòoefÎļþµÄ¶ÀÁ¢ÐÔ»áÓÉÓÚ°ïÖú¶ø±»ÆÆ»µ.
  12. Èç¹ûÄãÓм¸¸öÁ·Ï°¹²Ïíͬһ¸ö°ïÖúÎı¾, Äã¿ÉÒÔ¿¼ÂÇʹÓà cpp.
  13. <p>
  14.  
  15. :example
  16. <span class="wims_help_example">Àý:</span>
  17.  <pre>
  18.  \title{²Â²Â¿´}
  19.  \statement{ ²ÂÒ»¸öÓ¢ÎÄ´Ê :  
  20.    \special{help test1,µÚÒ»¸öÌáʾ}
  21.  }
  22.  \answer{1}{Monk}
  23.  \help{
  24.    ÕâÀïÊǰïÖú: °ïÖúÖ÷Ìâ=\help_subject
  25.    <p>
  26.    \if{\help_subject issametext or \help_subject issametext none}{
  27.      \special{help test0,ÕâÀï}
  28.    }
  29.    \if{\help_subject issametext test1}{
  30.      µÚÒ»¸ö×ÖĸÊÇ <b>M</b>. Äã¿ÉÒÔ¿´µ½ÁíÒ»¸öÌáʾ
  31.      \special{help test2,ÔÚÕâÀï}
  32.    }
  33.   \if{\help_subject issametext test2}{ÕâÊǵڶþ¸öÌáʾ.
  34.     µÚ¶þ¸ö×ÖĸÊÇ <b>o</b>
  35.    }
  36.   \if{\help_subject issametext test0}{ÕâÀïÊÇ  
  37.     \special{help test1,µÚÒ»¸öÌáʾ}, \special{help test2,µÚ¶þ¸öÌáʾ}
  38.    }
  39.  }
  40.  </pre>
  41.