Difference between revisions of "Help:Contents"

From Christoph's Personal Wiki
Jump to: navigation, search
(Added more Templates)
(Code Snippets)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Templates==
 
==Templates==
 
+
  see: [[:Category:Templates]] for complete listing
 
Templates exist Under "Templates:Foo". They are invoked in articles using the following syntax: <nowiki>{{foo}}</nowiki> 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:
 
Templates exist Under "Templates:Foo". They are invoked in articles using the following syntax: <nowiki>{{foo}}</nowiki> 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:
  
Line 8: Line 8:
 
*[[Template:Ref_label]] - <nowiki>{{Ref_label|Smith1989|1|a}}</nowiki> - For use in references (in text).
 
*[[Template:Ref_label]] - <nowiki>{{Ref_label|Smith1989|1|a}}</nowiki> - For use in references (in text).
 
*[[Template:Note]] - <nowiki>{{Note|Smith1989_a}}</nowiki> - For use in references (footnote).
 
*[[Template:Note]] - <nowiki>{{Note|Smith1989_a}}</nowiki> - For use in references (footnote).
 +
*[[Template:Copyright]]
 +
*[[Template:Contact]]
 +
*[[Template:Lowercase]]
 +
*[[Template:Selfref]]
 +
 +
== Magic words ==
 +
* [[Help:Magic words]]
  
 
==Code Snippets==
 
==Code Snippets==
Line 18: Line 25:
  
 
<pre>
 
<pre>
<div style="padding: 1em; margin: 10px; border: 2px dotted green;">
+
<div style="padding: 1em; margin: 10px; border: 2px dotted #18e;">
 
<small><font color=blue>1</font></small> Hello world!...
 
<small><font color=blue>1</font></small> Hello world!...
 
</div>
 
</div>
Line 30: Line 37:
  
 
===Tables===
 
===Tables===
 +
<pre>
 
<div style="float:left; margin:0px 20px 20px 0px;">
 
<div style="float:left; margin:0px 20px 20px 0px;">
 
{| align="center" style="border: 1px solid #999; background-color:#FFFFFF"
 
{| align="center" style="border: 1px solid #999; background-color:#FFFFFF"
Line 50: Line 58:
 
<div align="center">''Source: [http://www.christophchamp.com Christoph Champ]''</div>
 
<div align="center">''Source: [http://www.christophchamp.com Christoph Champ]''</div>
 
</div>
 
</div>
 +
</pre>
 +
<div style="float:left; margin:0px 20px 20px 0px;">
 +
{| align="center" style="border: 1px solid #999; background-color:#FFFFFF"
 +
|-
 +
! colspan="4" bgcolor="#EFEFEF" | '''Foobar'''
 +
|-align="center" bgcolor="#1188ee"
 +
!Name
 +
!Description
 +
|- align="left"
 +
|foo || bar
 +
|--bgcolor="#eeeeee" align="right"
 +
|foo || bar
 +
|-
 +
|foo || bar
 +
|--bgcolor="#eeeeee"
 +
|foo || bar
 +
|-
 +
|foo || bar
 +
|}
 +
<div align="center">''Source: [http://www.christophchamp.com Christoph Champ]''</div>
 +
</div>
 +
<br clear="all"/>
 +
 +
==Example block==
 +
 +
{| align="center" border="0" cellspacing="10" style="border: 1px solid #a79c83"
 +
|<small>For example:</small>
 +
|-
 +
| align="center" | '''Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi tortor mauris, gravida in congue eu, laoreet vel libero.'''
 +
|-
 +
| align="center" | some image
 +
|-
 +
| align="center" | ''Sed quis lectus eget nunc fringilla feugiat sit amet eget massa. Pellentesque porttitor eleifend nisi vel commodo. Curabitur mattis sapien sed libero mattis venenatis sed rutrum enim. Pellentesque vel quam ac ligula tempor sagittis.''
 +
|}
  
 
==Icons==
 
==Icons==

Latest revision as of 06:52, 17 July 2009

Templates

 see: Category:Templates for complete listing

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:

Magic words

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 #18e;">
<small><font color=blue>1</font></small> Hello world!...
</div>

This would result in a border like this:

1 Hello world!...

Tables

<div style="float:left; margin:0px 20px 20px 0px;">
{| align="center" style="border: 1px solid #999; background-color:#FFFFFF"
|-
! colspan="4" bgcolor="#EFEFEF" | '''Foobar'''
|-align="center" bgcolor="#1188ee"
!Name
!Description
|- align="left"
|foo || bar
|--bgcolor="#eeeeee" align="right"
|foo || bar
|-
|foo || bar
|--bgcolor="#eeeeee"
|foo || bar
|-
|foo || bar
|}
<div align="center">''Source: [http://www.christophchamp.com Christoph Champ]''</div>
</div>
Foobar
Name Description
foo bar
foo bar
foo bar
foo bar
foo bar
Source: Christoph Champ


Example block

For example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi tortor mauris, gravida in congue eu, laoreet vel libero.
some image
Sed quis lectus eget nunc fringilla feugiat sit amet eget massa. Pellentesque porttitor eleifend nisi vel commodo. Curabitur mattis sapien sed libero mattis venenatis sed rutrum enim. Pellentesque vel quam ac ligula tempor sagittis.

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]]

References

Many publications in a wide range of fields use numbers — in square brackets and/or superscripted — to refer to a list of citations at the end of the article, e.g. [1] or [1] with:

  1. ^  Smith, etc.

Misc

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