meta données pour cette page
  •  

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
demo:styler [2012/08/07 05:47]
ztrulphcs [Verse formatting]
— (Version actuelle)
Ligne 1: Ligne 1:
-====== Styler ====== 
- 
-Ce greffon est optionnel et peut être retiré. 
- 
-page officielle : [[doku>:plugin:styler]] 
- 
-Ce greffon sert à faire des mises en page alternatives, avec ces quelques balises supplémentaires:  
-  * %%<quote>%% - citations étendues, 
-  * %%<epigraph>%% - epigraphes, 
-  * %%<verse>%% - poèmes et paroles de chansons, 
-  * %%<style>%% - block de style générique. 
- 
-===== Modification ===== 
- 
-Ce greffon n'a subi aucune modification de la part de schplurtz. 
- 
- --- //[[schplurtz@free.fr|schplurtz le déboulonné]] 2011/03/13 16:30// 
- 
-===== Démo ===== 
- 
-===== Description ===== 
-This plugin provide additional formatting of your texts: 
-  * ''%%<quote>%%'' - the expanded quotations; 
-  * ''%%<epigraph>%%'' - epigraps; 
-  * ''%%<verse>%%'' - formatting of verses; 
-  * ''%%<style>%%'' - generic style blocks. 
- 
-As you can specify attributes for each formatted block: 
-  * ''left'' - text align to left; 
-  * ''right'' - text align to right; 
-  * ''center'' - center text; 
-  * ''justify'' - justify text; 
-  * ''float-left'' - To create the floating block to the left of the text; 
-  * ''float-right'' - To create the floating block to the right of the text; 
-  * ''box'' - To draw a framework around of the block; 
-  * ''background'' - To fill in a background with solid color. 
- 
-===== Examples ===== 
- 
-==== Insert epigraph ==== 
-<epigraph> 
-"Cannibals prefer those who have no spines." 
- 
-[[http://www.google.com/search?hl=en&q=Stanislaw+Lem|Stanislaw Lem]] 
-</epigraph> 
-<code><epigraph> 
-"Cannibals prefer those who have no spines." 
- 
-[[http://www.google.com/search?hl=en&q=Stanislaw+Lem|Stanislaw Lem]] 
-</epigraph></code> 
- 
-You can see example here [[http://iar.spb.ru/library/shkatulka|Шкатулка]] (in Russian). 
- 
-On peut changer l'apparence en inscrivant des propriétés css dans le fichier ''conf/userstyle.css''. comme ceci : 
- 
-<code css> 
-div.dokuwiki div.epigraph { 
-    font-family: Times New Roman,Georgia,Garamond,Times,serif; 
-    font-style: italic; 
-    margin-bottom: 1em; 
-    margin-left: 60%; 
-    margin-top: 1em; 
-    padding-left: 1em; 
-} 
-</code> 
-==== Verse formatting ==== 
- 
-<code><verse box> 
-//Opening:// Dm - Am - Dm - C 
- 
-Dm 
-A vacation in the foreign land 
- 
-Uncle Sam does the best he can 
-              Gm 
-You're in the army now 
-                     Dm 
-Oh, oh you're in the army - now... 
- 
-... 
- 
-    //Status Quo - In The Army Now// 
-</verse></code> 
- 
-<verse box> 
-//Opening:// Dm - Am - Dm - C 
- 
-Dm 
-A vacation in the foreign land 
- 
-Uncle Sam does the best he can 
-              Gm 
-You're in the army now 
-                     Dm 
-Oh, oh you're in the army - now... 
- 
-... 
- 
-    //Status Quo - In The Army Now// 
-</verse> 
-<sub>Copying from http://home.online.no/~prannug/quo/itan.html</sub> 
- 
- 
-==== Additional quotation ==== 
- 
-<code> 
-<quote> 
-First line. 
- 
-With additional quotation you can: 
-  * Use lists; 
-  * Use **formattings**; 
-  * Use pictures {{http://iar.spb.ru/lib/images/buttons/debian.png}}; 
-  * And many other things. 
- 
-Last line. 
-</quote> 
-</code> 
- 
-<quote> 
-First line. 
- 
-With additional quotation you can: 
-  * Use lists; 
-  * Use **formattings**; 
-  * Use pictures {{http://iar.spb.ru/lib/images/buttons/debian.png}}; 
-  * And many other things. 
- 
-Last line. 
-</quote> 
- 
- 
-==== Generic styles ==== 
- 
-<style float-right box background> 
-To place on the right the floating block with a background and border. 
-</style> 
-<code><style float-right box background> 
-To place on the right the floating block with a background and border. 
-</style></code> 
- 
-<code><style center>To place the text on the center</style></code> 
-<style center>To place the text on the center</style> 
- 
-<style float-left>{{wiki:dokuwiki-128.png}} 
- 
-DokuWiki is the best</style> 
-<code><style float-left>{{wiki:dokuwiki-128.png}} 
- 
-DokuWiki is the best</style></code> 
- 
-**Important:** you can specify attributes for any block, but for the some blocks they will have not enough sense.