Difference between revisions of "Talk:HSYCO"
(Created page with "== Page structure == The title must be formatted properly: The first letter must be a capital letter, all main words must start with capital letters and acronyms must use capi...") |
(→Styles) |
||
Line 28: | Line 28: | ||
To include a tip: | To include a tip: | ||
<nowiki>{{tip|Tip text}}</nowiki> | <nowiki>{{tip|Tip text}}</nowiki> | ||
+ | {{tip|Tip text}} | ||
To include a note: | To include a note: | ||
<nowiki>{{note|Note text}}</nowiki> | <nowiki>{{note|Note text}}</nowiki> | ||
+ | {{note|Note text}} | ||
To color code: | To color code: | ||
Line 37: | Line 39: | ||
</syntaxhighlight></nowiki> | </syntaxhighlight></nowiki> | ||
(most languages are supported, e.g. java,javascript,php,html5,css) | (most languages are supported, e.g. java,javascript,php,html5,css) | ||
− | |||
== Incomplete category, for easy reference == | == Incomplete category, for easy reference == |
Revision as of 15:52, 7 March 2014
Contents
Page structure
The title must be formatted properly: The first letter must be a capital letter, all main words must start with capital letters and acronyms must use capital letters.
E.g.
Java Command and Utility Methods API --> OK
java command and utility methods api --> NO
After the page introduction start from level 2 (== bla bla ==)
Syntax
When writing technical information use the following syntax:
- <pippo> : placeholder for a general variable parameter or attribute. For '<' and '>' use "<" and ">" (e.g.
<pippo>
). - pippo | pluto : the param or attr can be "pippo" or "pluto"
- 1 ... 10 : the param or attr can be any value from 1 to 10 (1 and 10 included)
Styles
CSS Custom style:
http://wiki.hsyco.com//index.php/MediaWiki:Common.css
To include a table of contents up to a certain level:
{{TOClimit|3}}
To include a tip:
{{tip|Tip text}}
Tip text
To include a note:
{{note|Note text}}
To color code:
<syntaxhighlight lang="javascript"> ... </syntaxhighlight>
(most languages are supported, e.g. java,javascript,php,html5,css)
Incomplete category, for easy reference
To exclude something from the PDF version:
<div class="noprint">not in print</div>
To include something only in the PDF version:
<div class="onlyinprint">only in print</div>
Extensions
DynamicListing
Directory:
extensions/DynamicListing
allows listing of all pages inside a category, with many layout options See http://semeb.com/dpldemo/index.php?title=DPL:Manual E.g.
<DynamicPageList> category = UI Objects rowcolformat=width=100% columns=3 ordermethod=title </DynamicPageList>
Poem
Directory:
extensions/Poem
retain
newlines
and
spaces
Breadcrumbs2
Directory:
extensions/Breadcrumbs2
Show breadcrumbs on pages that match the categories in MediaWiki:Breadcrumbs Usage:
- category name @ breadcrumb wikitext @ tab name @ site logo
Ref: http://www.mediawiki.org/wiki/Extension:BreadCrumbs2
Pages that don't match won't show breadcrumbs.
NoTitle
Directory:
extensions/NoTitle
The NoTitle extension adds a magic word, __NOTITLE__, that lets you hide the main title heading on any page. http://www.mediawiki.org/wiki/Extension:NoTitle