PmWikiRu /

, !

()

     WikiStyles            ( local/config.php)    ( local/$Group.php).

       $WikiStyle.
           .

     scripts/wikistyles.php  SDV() (..        config.php  farmconfig.php):
::

:
(. %color=xxxx define=xxxx%
%black%$WikiStyle['black']['color'] = 'black';
%white%$WikiStyle['white']['color'] = 'white';
%red%$WikiStyle['red']['color'] = 'red';
%yellow%$WikiStyle['yellow']['color'] = 'yellow';
%blue%$WikiStyle['blue']['color'] = 'blue';
%gray%$WikiStyle['gray']['color'] = 'gray';
%silver%$WikiStyle['silver']['color'] = 'silver';
%maroon%$WikiStyle['maroon']['color'] = 'maroon';
%green%$WikiStyle['green']['color'] = 'green';
%navy%$WikiStyle['navy']['color'] = 'navy';
%purple%$WikiStyle['purple']['color'] = 'purple';

:
%decimal%$WikiStyle['decimal']['apply'] = 'list';
$WikiStyle['decimal']['list-style'] = 'decimal';
%roman%$WikiStyle['roman']['apply'] = 'list';
$WikiStyle['roman']['list-style'] = 'lower-roman';
%ROMAN%$WikiStyle['ROMAN']['apply'] = 'list';
$WikiStyle['ROMAN']['list-style'] = 'upper-roman';
%alpha%$WikiStyle['alpha']['apply'] = 'list';
$WikiStyle['alpha']['list-style'] = 'lower-alpha';
%ALPHA%$WikiStyle['ALPHA']['apply'] = 'list';
$WikiStyle['ALPHA']['list-style'] = 'upper-alpha';

:
:
%newwin%$WikiStyle['newwin']['target'] = '_blank';
display:none (CSS)
%comment%$WikiStyle['comment']['display'] = 'none';

  1. ( mynewstyle, projectentry ..)
  2. ( color, bgcolor ..)
  3. ( red, bold, #00ffcc ..)

: ( ) :

%define=projectentry color:red%
  :
$WikiStyle['projectentry']['color'] = 'red';
 $WikiStyle['projectentry']['apply']       .    'item' ( li|dt), 'list' ( ul|ol|dl), 'div', 'pre', 'img', 'p'   'block' ( p|div|ul|ol|dl|li|dt|pre|h[1-6]). :

 $WikiStyle['top']['apply'] = 'item';
 $WikiStyle['top']['class'] = 'top';
* %top%
<li class="top"> </li>

<< CustomMarkup? | DocumentationIndex | >>

PmWiki.CustomWikiStyles -

  PmWikiRu.CustomWikiStyles -

Backlinks
PmWikiRu.CustomWikiStyles: September 10, 2011, at 01:48 PM EST
PmWiki.CustomWikiStyles: July 15, 2022, at 03:16 AM EST