Difference between revisions of "Help:Editing"
(→Font Formatting) |
|||
Line 92: | Line 92: | ||
===See also=== | ===See also=== | ||
*[[Wiki_color_formatting_help|Big color table]] | *[[Wiki_color_formatting_help|Big color table]] | ||
+ | </noinclude> | ||
+ | |||
+ | |||
+ | |||
+ | == Font Size == | ||
+ | <includeonly>*small: <small>{{{1}}}</small> | ||
+ | *normal: {{{1}}} | ||
+ | *big: <big>{{{1}}}</big> | ||
+ | *1: {{fs|1|{{{1}}}}} | ||
+ | *2: {{fs|2|{{{1}}}}} | ||
+ | *3: {{fs|3|{{{1}}}}} | ||
+ | *4: {{fs|4|{{{1}}}}} | ||
+ | *5: {{fs|5|{{{1}}}}} | ||
+ | *{{font size css|80%|{{{1}}}}} | ||
+ | *{{font size css|90%|{{{1}}}}} | ||
+ | *{{font size css|100%|{{{1}}}}} | ||
+ | *{{font size css|110%|{{{1}}}}} | ||
+ | *{{font size css|120%|{{{1}}}}} | ||
+ | </includeonly><noinclude>{{tim|Font size demo}} | ||
+ | This template shows a variable text in various font sizes, as a demo of these font sizes in one's browser, with one's current browser settings. The sizes may accumulate with the font size set in the browser, while a browser may also have been set to ignore font sizes specified in webpages, in which case all sizes may be rendered the same (in fact, in IE small and big still work). | ||
+ | Example, showing also bold, italics, and both, each partly as link: | ||
+ | {{Font size demo|abc [[def]] '''abc [[def]]''' ''abc [[def]]'' '''''abc [[def]]'''''}} | ||
</noinclude> | </noinclude> |
Revision as of 09:44, 4 July 2013
Contents
Formatting
To add tags( using WikiCategoryTagCloud )
Usage
These in text parameters from the original extension still work the same:
- min_count
- Only display a tag for the category that contain at least min_count articles. Default value : 0.
- min_size
- Defines the minimum text size. (Default: 77).
- increase_factor
- Defines the factor to increase the text size by the number of articles. Default value : 100.
- exclude
- Defined the categories you do not want to be displayed. Use comma to separate the categories, like this:
<tagcloud>exclude=television,celebrities,food,yoga</tagcloud>
makes "television", "celebrities", "food" and "yoga" categories not to show up in the categories cloud. The coloring in text parameters do not work anymore, instead we have XML parameters:
- class
- Adds CSS classes to the tag cloud itself (The tagcloud class is always included).
- style
- Adds CSS styles to the style parameter of the tag cloud.
- linkclass
- Adds CSS classes to the links.
- linkstyle
- Adds CSS styles to the links' style parameters.
in text parameters are place in between the two tags, and XML parameters are done inside the opening tag. Here's an example use showing where things are placed.
<tagcloud style="background: black;"> min_size=55 exclude=browse </tagcloud>
Font Formatting
Set text color by using <span style="color:#009000"> TEXT </span> Set background color by using <span style="background:#00FF00"> TEXT </span> Set both by using <span style="color:#FFFFFF; background:#FF69B4"> TEXT </span>
Standard color names
The HTML 4.01 specification defines sixteen named colors, as follows:
Color | Hexadecimal | Color | Hexadecimal |
---|---|---|---|
black | #000000 | silver | #c0c0c0 |
gray | #808080 | white | #ffffff |
maroon | #800000 | red | #ff0000 |
purple | #800080 | fuchsia | #ff00ff |
green | #008000 | lime | #00ff00 |
olive | #808000 | yellow | #ffff00 |
navy | #000080 | blue | #0000ff |
teal | #008080 | aqua | #00ffff |
See also
Font Size
Template:Tim This template shows a variable text in various font sizes, as a demo of these font sizes in one's browser, with one's current browser settings. The sizes may accumulate with the font size set in the browser, while a browser may also have been set to ignore font sizes specified in webpages, in which case all sizes may be rendered the same (in fact, in IE small and big still work). Example, showing also bold, italics, and both, each partly as link: Template:Font size demo