Difference between revisions of "Zh TW:Editing Guidelines"

From Sabayon Wiki
Jump to: navigation, search
(the same that En:Editing Guidelines)
 
(No difference)

Latest revision as of 19:38, 26 February 2009

Stop.png
This page has been proposed for deletion because it does not meet the Editing Guidelines.
If you disagree, please discuss it here.

Editing Guidelines: A guide to making decent, working wiki articles.

Stop.png
Work in Progress
- That is for sure lol.

Guidelines

  • Make decent articles; and make them worthwhile. Meaning that if you don't see any use for it; don't put it here.
  • Make sure that ALL the information in your articles are correct. I don't care if you have to run through the steps yourself; if the information isn't correct then chances are that it will be edited to be corrected or even worse, deleted.
  • Use the correct code for the correct type of line.
<syntaxhighlight lang="
def chklayman(pkgname):
    lst = os.listdir(laymandir)
    for line in lst:
        if os.path.isdir(laymandir+line+"/"+pkgname):
            print 'Package found in '+laymandir+line+'/'+pkgname
            return 1 
" enclose="none">Python</syntaxhighlight>

{{Code|Insert Name of Code here|<pre class="clear"> (Insert code here) </pre>}} To get the above shown box.


File: /etc/X11/xorg.conf
 # **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

# The Identifier, Device and Monitor lines must be present

    Identifier	"Screen 1"
    Device	"VESA"
    Monitor	"Generic Monitor"
    Option 	"AddARGBGLXVisuals" "true"

{{File| (Name of File)| <pre class="clear"> (File Contents) </pre>}} tag for this file box. Use this box for the contents of files.


 # emerge --sync

Use {{Console| <pre class="clear"> (console commands & info) </pre>}} for console input/output

And remember to close each tag with a </pre> tag. Because if you don't then all of your text will end up in one big box.

  • Use the {{Commandgui|<highlighted word>}} for highlighting keywords such as things that need to be looked for in a dialog box.
  • If you have warnings such as "May break your system" or "Use with caution" then use the {{Warning| <Insert Warning Here>}}
  • If you have a note such as "Emerge --sync your portage before doing this step" or "May give more than what you need in packages" then use the {{Note| Insert Note Here}} template.
  • Please don't spam. If you spam we will block you and your IP. No exceptions.
  • Keep your articles simple. Don't include useless crap. Just what needs to be there. However if you need to post something like the output of lspci or something long use a scrollbar box by using one of the three templates shown above.
  • If you could go through and cleanup useless or outdated articles by updating them. Thanks guys!