Difference between revisions of "Help:Contents"

From Christoph's Personal Wiki
Jump to: navigation, search
(Added "Icons" section)
(Code snippets + Tables)
Line 7: Line 7:
 
*[[Template:FairUse]] - <nowiki>{{FairUse}}</nowiki> - For use where fair use rights are invoked.
 
*[[Template:FairUse]] - <nowiki>{{FairUse}}</nowiki> - For use where fair use rights are invoked.
  
 +
==Code Snippets==
 +
 +
===Quoting===
 +
 +
If you include excerpts from or the entire contents of documents, please place them within a <font color=green>div</font>. If there are quotes within the document, please ''also'' place them within a <font color=green>div</font>.
 +
 +
The following is an example of how this is done:
 +
 +
<pre>
 +
<div style="padding: 1em; margin: 10px; border: 2px dotted green;">
 +
<small><font color=blue>1</font></small> Hello world!...
 +
</div>
 +
</pre>
 +
 +
This would result in a border like this:
 +
 +
<div style="padding: 1em; margin: 10px; border: 2px dotted #18e;">
 +
<small><font color=blue>1</font></small> Hello world!...
 +
</div>
 +
 +
===Tables===
 +
{| border="0" align="center" style="border: 1px solid #999; background-color:#FFFFFF"
 +
|-align="center" bgcolor="#1188ee"
 +
!foo
 +
!foo
 +
!foo
 +
|-
 +
|foo
 +
|| foo
 +
| align="right" | foo
 +
|--bgcolor="#eeeeee"
 +
|foo
 +
|| foo
 +
| align="right" | foo
 +
|-
 +
|foo
 +
|| foo
 +
| align="right" | foo
 +
|}
 +
<div align="center">''Source: [http://www.christophchamp.com Christoph Champ]''</div>
 
==Icons==
 
==Icons==
  

Revision as of 18:04, 17 December 2005

Templates

Templates exist Under "Templates:Foo". They are invoked in articles using the following syntax: {{foo}} which then displays the content of the template in the article at the position of the tag. Editors should document any templates they create below:

  • Template:ProgrammingLanguages - {{ProgrammingLanguages}} - For use in articles describing a programming language.
  • Template:Stub - {{stub}} - For use in incomplete articles for which I am accepting outside content contributions.
  • Template:FairUse - {{FairUse}} - For use where fair use rights are invoked.

Code Snippets

Quoting

If you include excerpts from or the entire contents of documents, please place them within a div. If there are quotes within the document, please also place them within a div.

The following is an example of how this is done:

<div style="padding: 1em; margin: 10px; border: 2px dotted green;">
<small><font color=blue>1</font></small> Hello world!...
</div>

This would result in a border like this:

1 Hello world!...

Tables

foo foo foo
foo foo foo
foo foo foo
foo foo foo
Source: Christoph Champ

Icons

Use of the following icons is optional.

  • Featured - [[Image:Icon_star.gif|Featured]] - To highlight a certain link on a page that is worthwhile to the reader. Use sparingly to avoid dillution.
  • PDF - [[Image:Icon_pdf.gif|PDF]]

Misc

Please see documentation on customizing the interface and the User's Guide for usage and configuration help.