Swisslinux.org

− Le carrefour GNU/Linux en Suisse −

 

Langue

 

Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

Lien vers cette vue

wiki:syntax [2011/09/24 11:48]
Comité Ajout des infos de /synthaxe
wiki:syntax [2012/01/09 10:54] (Version actuelle)
sebseb01
Ligne 203: Ligne 203:
   - Et voilà   - Et voilà
 </code> </code>
 +
 +
 +===== Sondages =====
 +
 +<code xml>
 +<doodle
 +  title="What do you like best?"
 +  auth="none|ip|user"
 +  adminUsers="user1|user2"
 +  adminGroups="group1|group2"
 +  voteType="single|multi"
 +  closed="true|false" 
 +>
 +   * Option 1 
 +   * Option 2 **some wikimarkup** \\ is __allowed__!
 +   * Option 3
 +</doodle>
 +</code>
 +
 +   * The ''title'' is also used as "key" for the plugin's data file under ''/data/meta''
 +   * ''adminUsers'' and members of the ''adminGroups'' can always edit any entry
 +   * ''voteType="single"'' shows round checkboxes where only one can be chosen
 +   * ''voteType="multi"'' lets users check any number of square boxes
 +   * If ''closed="true"'' is set, then users cannot vote anymore. The result of the vote will still be shown.
 +
 +Only the title and at least one option are required. Do not change the options and their order, after the first vote has been casted! You may move the whole doodle to another page, whenever you want.
  
 ===== Emoticônes (Smileys) ===== ===== Emoticônes (Smileys) =====
Ligne 813: Ligne 839:
  
 **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed.
 +
 +===== Survey =====
 +
 +<code xml>
 +<doodle
 +  title="What do you like best?"
 +  auth="none|ip|user"
 +  adminUsers="user1|user2"
 +  adminGroups="group1|group2"
 +  voteType="single|multi"
 +  closed="true|false" 
 +>
 +   * Option 1 
 +   * Option 2 **some wikimarkup** \\ is __allowed__!
 +   * Option 3
 +</doodle>
 +</code>
 +
 +   * The ''title'' is also used as "key" for the plugin's data file under ''/data/meta''
 +   * ''adminUsers'' and members of the ''adminGroups'' can always edit any entry
 +   * ''voteType="single"'' shows round checkboxes where only one can be chosen
 +   * ''voteType="multi"'' lets users check any number of square boxes
 +   * If ''closed="true"'' is set, then users cannot vote anymore. The result of the vote will still be shown.
 +
 +Only the title and at least one option are required. Do not change the options and their order, after the first vote has been casted! You may move the whole doodle to another page, whenever you want.
  
 ===== Control Macros ===== ===== Control Macros =====
Powered by Dokuwiki - wiki/syntax.1316857680.txt.gz · Dernière modification: 2011/09/24 11:48 par Comité