Difference between revisions of "Help:Contents"

From Christoph's Personal Wiki
Jump to: navigation, search
(Added "Icons" section)
(Code Snippets)
 
(11 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 6: Line 6:
 
*[[Template:Stub]] - <nowiki>{{stub}}</nowiki> - For use in incomplete articles for which I am accepting outside content contributions.
 
*[[Template:Stub]] - <nowiki>{{stub}}</nowiki> - For use in incomplete articles for which I am accepting outside content contributions.
 
*[[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.
 +
*[[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:Copyright]]
 +
*[[Template:Contact]]
 +
*[[Template:Lowercase]]
 +
*[[Template:Selfref]]
 +
 +
== Magic words ==
 +
* [[Help:Magic words]]
 +
 +
==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 #18e;">
 +
<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===
 +
<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>
 +
</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==
Line 12: Line 98:
 
* [[Image:Icon_star.gif|Featured]] - <nowiki>[[Image:Icon_star.gif|Featured]]</nowiki> - To highlight a certain link on a page that is worthwhile to the reader. Use sparingly to avoid dillution.
 
* [[Image:Icon_star.gif|Featured]] - <nowiki>[[Image:Icon_star.gif|Featured]]</nowiki> - To highlight a certain link on a page that is worthwhile to the reader. Use sparingly to avoid dillution.
 
* [[Image:Icon pdf.gif|PDF]] - <nowiki>[[Image:Icon_pdf.gif|PDF]]</nowiki>
 
* [[Image:Icon pdf.gif|PDF]] - <nowiki>[[Image:Icon_pdf.gif|PDF]]</nowiki>
 +
 +
== References ==
 +
Many publications in a wide range of fields use numbers &mdash; in square brackets and/or superscripted &mdash; to refer to a list of citations at the end of the article, e.g. {{ref_label|Smith1989|1|a}} or  [http://example.com [1<nowiki>]</nowiki>] with:
 +
 +
# {{note|Smith1989_a}} Smith, etc.
  
 
==Misc==
 
==Misc==
 
Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
 
Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
 
and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.
 
and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.

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.