u8hodt1 1l6e3rcn4 <a href="http://mtcg.snu.ac.kr/index.php?mid=sphmsg&document_srl=9525#">maglie calcio poco prezzo</a> zw8hd0bag 4wlapzc5x\n 1o8xnzej aklmrgf <a href="http://steelcongress.ru/matthias-fodboldtrojer-med-tryk-susannah/">billige fodboldtrøjer</a> wu0onr c5pw24\n uzcfo7p louvx0nfkr <a href="http://www.robotous.com/index.php?mid=photo&document_srl=5422#">maglie calcio bambino</a> 6p81a49ju0 4knlajd6h\n |
(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * View * Edit * History * Print (:comment delete if and ifend to enable backlinks:) PmWiki /
WikiStyles(:Summary: PmWiki group header. Includes styles and trail.:) (:comment please leave the multiple style definitions concatenated as a single line. Linebreaks do appear in the output when the wiki is configured with linebreaks enabled -- thanks!:) (:comment included in PmWiki localisation headers and footers :) authors (basic, advanced)
(:nl:)(:Summary: Modifying the style of page contents:)
'''Contents''' *Basics *Scope *In tables and directives *Attributes *Enabling Styles *Custom style shortcuts *Predefined Style Shortcuts *Defining scope for other HTML elements *Examples *Known Issues *See Also (:Audience: authors (basic, advanced) :) WikiStyle basicsWikiStyles allow authors to modify the color and other styling attributes of the contents of a page.
A WikiStyle is written using percent-signs, as in WikiStyle attributesThe style attributes recognized within a WikiStyle specification are:
The attributes in the first two columns correspond to the ''cascading style sheet'' (CSS) properties of the same name. The attributes in the last column apply only to specific items: * ''' ** The width and height attributes have asterisks because they are handled specially for <img .../> tags. If used by themselves (i.e., without anything providing an "apply=" parameter to the WikiStyle), then they set the 'width=' and 'height=' attributes of any <img ... /> tags that follow. Otherwise, they set the 'width:' and 'height:' properties of the element being styled. ## margin, padding, and border can be suffixed by -left, -right, -top, and -bottom WikiStyles versus CSS stylesWikiStyles, as written in the wiki page, are not exactly CSS styles or CSS classes. WikiStyles allow authors to use both pre-defined by the administrator CSS classes, and to define new combinations of styles, without any need to edit/update local CSS files on the server. Note that PmWiki allows advanced authors to use of @@ class= @@ and @@ style= @@ in tables and division blocks, but these are raw HTML attributes, and not WikiStyles, knowledge of CSS is required to use them. Text color and fontThe most basic use of WikiStyles is to change text attributes such as color, background color, and font. PmWiki defines several WikiStyles for changing the text color to %black%, %white%, %red%, %yellow%, %blue%, %gray%, %silver%, %maroon%, %green%, %navy%, and %purple%.
For colors other than the predefined colors, use the
To change the background color, use
See WikiStyle Colors for more color help. Text justificationWikiStyles are used to control the text justification
and to create floating text:
ScopeWikiStyles can also specify a ''scope''; with no scope, the style is applied to any text that follows up to the next WikiStyle specification or the end of the paragraph, whichever comes first. The '''apply=''' attribute and its shortcuts allow to change the scope as follows:
Thus, ''' Some predefined style shortcuts also make use of apply, thus ''' Example: Apply a style to a paragraph:
'''Caveat''': An applied WikiStyle will only take effect if it's on the line that starts the thing it's supposed to modify. In other words, a WikiStyle in the third markup line of a paragraph can't change the attributes of the paragraph:
Larger blocksThe '''
Note, the ''' HTML "class" and "style" attributes for tables and divisionsWikiStyles are only the commands between Tables, table directives and (:div:) division blocks allow advanced authors to incorporate the HTML/CSS attributes @@ class= @@ and @@ style=@@. Note that these attributes are not WikiStyles, knowledge of CSS is required to use them.
Note, the ''' Custom style shortcutsThe '''
-< '''Tip:''' It's often a good idea to put common style definitions into Group Header pages so that they can be shared among multiple pages in a group. Or, the wiki administrator can predefine styles site-wide as a local customization (see Custom WikiStyles). -< '''Tip:''' Use custom style definitions to associate meanings with text instead of just colors. For example, if warnings are to be displayed as green text, set -< '''Tip:''' Any undefined WikiStyle is automatically treated as a request for a class, thus Predefined style shortcutsPmWiki defines a number of style shortcuts. * Text colors: black, white, red, yellow, blue, gray, silver, maroon, green, navy, purple (shortcut for Enabling StylesStyles not listed above can be enabled by a PmWiki Administrator by modifying the local/config.php file. For instance to enable the "line-height" style attribute add the following line to the local/config.php file: -> Defining scope for other HTML elementsYou can add additional HTML elements to To apply styling to anchor tags, place in config.php: -> $WikiStyleApply['link'] = 'a'; Then, you can apply a class or style to an anchor link:
Or, to apply an ID attribute to a table row TR, place in config.php: -> $WikiStyleApply['row'] = 'tr'; Then, in an advanced table, you can have: -> (:cellnr:) %apply=row id=myid bgcolor=pink% cell content And also in a simple table: -> || border=1 || %apply=row id=myrowid% 1 || 2 || 3 || 4 || Note, the %apply=row...% WikiStyle should be on the same line as ExamplesWikiStyle Examples contains a number of examples of ways to use WikiStyles in pages. Known Issues* Percents in style definitions (like: See Also* Custom WikiStyles Predefined PmWiki styles & adding custom wiki styles * PmWiki:List Styles * WikiStylesPlus (:nl:)(:Summary:Trail and talk page links:) (:comment included in PmWiki localisation headers and footers :) <<? >>bgcolor=#ffe border-top="1px solid black" font-size=.8em<< This page may have a more recent version on pmwiki.org: PmWiki:WikiStyles, and a talk page: PmWiki:WikiStyles-Talk. >><< |