Help:Editing: Difference between revisions

From Helpful
Jump to navigation Jump to search
(wHTEgehyaHbIfoWsmSK)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Your story was ralley informative, thanks!
See also [[Helpful:About]], and the [[Main Page]].
 
 
 
 
----
 
 
 
 
===Conventions===
Not many.
 
Mainly 'Minimize visual clutter'
 
 
 
Sections are good, particularly where they aid someone to the right bit of content. A simple summary, 'usually this amounts to', and 'crazy details' can coexist this way.
 
Or just if you have a page full of text.
 
 
Linking to software's project page, (interesting parts of) manuals, datasheets, and such (whatever you're augmenting or drawing together) is nice.
The wikipedia page may be a lazy way as it usually links to those things well enough.
 
 
When adding web links, try to mention the title of the linked content to make them recognizable as well as easier to fix when they 404.
 
 
 
I have the habit of keeping half-arsed content in <tt>&lt;-- --&gt;</tt> style comments, when I want to do some more polishing before it becomes visible.
You may want to look for that if you suspect there's some reason for that empty section.
 
===Wiki syntax, templates, and such===
 
See [[Markup_language_notes#mediawiki]] for some syntax notes.
 
====Basic templates in here====
There are some defined templates you can use if you wish, currently including:
 
In-text:
* '''<nowiki>{{verify}}</nowiki>''' puts a bracketed 'verify me'. Useful when you're not entirely sure of what you or someone else states. Looks like {{verify}}. Partially made so that people who want to polish stuff can [http://helpful.knobs-dials.com/index.php/Special:Whatlinkshere/Template:Verify look for uses of this template].
 
* '''<nowiki>{{comment}}</nowiki>''' make parenthetical text subtler in-page, and consistently style in the wiki, and easy to change in style later. '''&#123;&#123;comment|this syntax&#125;&#125;''' currently gives {{comment|this effect}}. Useful for things, such as {{comment|(This is not guaranteed to be thread-safe on all systems.)}}.
 
* '''<nowiki>{{inlinecode}}</nowiki>''' can be used in paragraph text to get a style that imitates text blocks (constant-width font, background color). '''&#123;&#123;inlinecode|this syntax&#125;&#125;''' currently gives {{inlinecode|this effect}}
 
 
Page/section markers {{comment|(see next section)}}
* '''<nowiki>{{stub}}</nowiki>''' - nice whenever you dump in a few links and sentences in preparation, so for pages that haven't received real attention from writers/editors. In some cases it can make way for one of the other templates, in other cases it can fall away once the text is decent. [http://helpful.knobs-dials.com/index.php?title=Special:Whatlinkshere&target=Template%3AStub look for uses of this template]
* '''<nowiki>{{feelfree}}</nowiki>''' means something isn't finished, and can also signal "I'm not sure of much more than this". [http://helpful.knobs-dials.com/index.php?title=Special:Whatlinkshere&target=Template%3AFeelfree look for uses of this template]
 
 
 
====Other templates====
 
* '''<nowiki>{{search|query}}</nowiki>''' - a web search (currently google) for the first argument.  Link text is the same string, or the second argument if there is one.
* '''<nowiki>{{imagesearch|query}}</nowiki>''' - an image-search variant of the last
 
* '''<nowiki>{{luckysearch|query}}</nowiki>''' - first hit for a web search for the first argument (google's feeling lucky)
 
* '''<nowiki>{{key|string}}</nowiki>''' - meant as a visual representation of a keyboard key, to e.g. do {{key|Ctrl}}+{{key|c}}
 
* various subject-related TOC-like things to navigate to related pages
<!--Hosting stuff, Database related, Networking stuff -->
 
====Code====
 
For monospaced and a visual eye-draw, you can use '''&#123;&#123;inlinecode|this --effect&#125;&#125;''', for  {{inlinecode|this --effect}}.
Try to use this sparingly, only for real examples.
If you just want monospacing, add &lt;tt&gt; tags (also less bother about wiki exceptions).
 
Note that the almost-verbatim one-space-indented wiki blocks can be made verbatim, no-extra-indentation-necessary by putting a &lt;nowiki&gt; around the contents, like (click edit to see the markup):
<nowiki>
def yay():
  for i in range(10):
    print "thing %d"%i
</nowiki>
 
As long as [http://qbnz.com/highlighter/index.php GeSHi] is installed, you can also get syntax higlighting for various things. Wrap the code in <tt>&lt;code lang="python"&gt;</tt>, <tt>&lt;/code&gt;</tt>,  or whatever the language is:
<code lang="python">
def yay():
  for i in range(10):
    print "thing %d"%i
</code>
 
<!--
===More notes to potential editors===
Anyone can contribute. Really, feel free. <small>(Just know it might get reformatted:)</small>
 
 
There are no real policies you are bound to. If you want some guidelines, take a look at wikipedia's editing policies and rules, they're mostly useful and/or sane.
 
 
When you write new pages, add an introduction, but avoid parts that are probably unnecessary. For exameple, consider that someone who searches for something like [[SSH tunneling]] probably knows basics about computer networking, so you  can give the lowdown on how the tunneling works and what the most likely setups are.
 
A lot of web(log) articles out there have the tendency to explain so much background they feel they need to quickly skim over a few commands that, yes, work, but don't give the reader any idea of how or why.
 
In this example, if you feel like elaborating on networking details, you'ld probably want to add that to some networking-related page and reference that instead, so that you can avoid duplicate information (that could also be in places where it is harder to find).
 
 
Also, try to be minimal. There are often many side notes you can make that are correct and complete, but don't contribute to general understanding. Consider moving such details to a 'detailed considerations' section, removing it, or even moving it to its own article.
 
 
'''Things to avoid'''
 
Nothing here should consist for a noticable part of copy-pasted summaries. Things that are clearly rehashed rather than really understood will probably be commented out or removed until someone gets to writing it up well. Overly formal definitions, dry references consisting mostly of options only the very technical type of person (who can find them anyway) would be interested in.
 
See also [[Contributing and editing]].
 
Note that the content is FDL'd, which rougly means "don't add copyrighted text, and note that the content is freely copyable" (see also [[License comparison]])
-->
 
[[Category:Meta-wiki]]

Revision as of 18:05, 5 November 2013

See also Helpful:About, and the Main Page.






Conventions

Not many.

Mainly 'Minimize visual clutter'


Sections are good, particularly where they aid someone to the right bit of content. A simple summary, 'usually this amounts to', and 'crazy details' can coexist this way.

Or just if you have a page full of text.


Linking to software's project page, (interesting parts of) manuals, datasheets, and such (whatever you're augmenting or drawing together) is nice. The wikipedia page may be a lazy way as it usually links to those things well enough.


When adding web links, try to mention the title of the linked content to make them recognizable as well as easier to fix when they 404.


I have the habit of keeping half-arsed content in <-- --> style comments, when I want to do some more polishing before it becomes visible. You may want to look for that if you suspect there's some reason for that empty section.

Wiki syntax, templates, and such

See Markup_language_notes#mediawiki for some syntax notes.

Basic templates in here

There are some defined templates you can use if you wish, currently including:

In-text:

  • {{verify}} puts a bracketed 'verify me'. Useful when you're not entirely sure of what you or someone else states. Looks like (verify). Partially made so that people who want to polish stuff can look for uses of this template.
  • {{comment}} make parenthetical text subtler in-page, and consistently style in the wiki, and easy to change in style later. {{comment|this syntax}} currently gives this effect. Useful for things, such as (This is not guaranteed to be thread-safe on all systems.).
  • {{inlinecode}} can be used in paragraph text to get a style that imitates text blocks (constant-width font, background color). {{inlinecode|this syntax}} currently gives this effect


Page/section markers (see next section)

  • {{stub}} - nice whenever you dump in a few links and sentences in preparation, so for pages that haven't received real attention from writers/editors. In some cases it can make way for one of the other templates, in other cases it can fall away once the text is decent. look for uses of this template
  • {{feelfree}} means something isn't finished, and can also signal "I'm not sure of much more than this". look for uses of this template


Other templates

  • {{search|query}} - a web search (currently google) for the first argument. Link text is the same string, or the second argument if there is one.
  • {{imagesearch|query}} - an image-search variant of the last
  • {{luckysearch|query}} - first hit for a web search for the first argument (google's feeling lucky)
  • {{key|string}} - meant as a visual representation of a keyboard key, to e.g. do Ctrl+c
  • various subject-related TOC-like things to navigate to related pages

Code

For monospaced and a visual eye-draw, you can use {{inlinecode|this --effect}}, for this --effect. Try to use this sparingly, only for real examples. If you just want monospacing, add <tt> tags (also less bother about wiki exceptions).

Note that the almost-verbatim one-space-indented wiki blocks can be made verbatim, no-extra-indentation-necessary by putting a <nowiki> around the contents, like (click edit to see the markup):

def yay():
  for i in range(10):
    print "thing %d"%i

As long as GeSHi is installed, you can also get syntax higlighting for various things. Wrap the code in <code lang="python">, </code>, or whatever the language is: def yay():

 for i in range(10):
   print "thing %d"%i