Help:Editing: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Moved tips to another page.)
m (Reverted edits by 77.247.30.22 to last version by Kichik)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Minor Edits ==
NSIS Wiki has pages with codes or for plugins or NSIS related programs. For those pages, a major edit has a purpose for reporting a change to the code, or if talking about NSIS related plug-ins or programs, a new version of the plug-in or program. For the rest of the pages, follow the default rule.
== Summarizing a Change ==
== Summarizing a Change ==
When summarizing a page, you may want to consider putting one the prefixes below, so everyone could organize themselves easily. These are not required:
When summarizing a page, you may want to consider putting one the prefixes below, so everyone could organize themselves easily. These are not required:
Line 30: Line 27:
| Typing the url to a page with an image shows the image itself. Example from the page [["Orange" Modern UI Theme]]:
| Typing the url to a page with an image shows the image itself. Example from the page [["Orange" Modern UI Theme]]:


http://www.iespana.es/lsmonki/NSIS/Orange/Sets.png
http://www.monki.es/descargas/nsis/orange/sets.png
| <pre>http://www.iespana.es/lsmonki/NSIS/Orange/Sets.png</pre>
| <pre>http://www.monki.es/descargas/nsis/orange/sets.png</pre>
|-
|-
| Sometimes an image is not directly linkable. You can try firstly to put an image extention to the end of the url, like ".gif", to make it show normally as a picture.
| Sometimes an image is not directly linkable. You can try firstly to put an image extention to the end of the url, like ".gif", to make it show normally as a picture.

Latest revision as of 14:24, 12 September 2010

Summarizing a Change

When summarizing a page, you may want to consider putting one the prefixes below, so everyone could organize themselves easily. These are not required:

Bx: Bug report to the script, DLL or program.
Fx: Feature request to the script, DLL or program.
Px: Patch to the script, DLL or program.
PSx: Page spelling.
PFx: Page format.
More to come...

The "x" can be "o" for the opening of a report, "c" for the closing, "d" for deletion, "f" for fix, and whatever you invent.

Wiki Markup

Additionally to the original wiki markup, the following apply:

Images

What it looks like What you type
Typing the url to a page with an image shows the image itself. Example from the page "Orange" Modern UI Theme:

sets.png

http://www.monki.es/descargas/nsis/orange/sets.png
Sometimes an image is not directly linkable. You can try firstly to put an image extention to the end of the url, like ".gif", to make it show normally as a picture.

Example using deguix's avatar:

avatar.php?userid=98070&dateline=1093710924.gif

http://forums.winamp.com/avatar.php?userid=98070&dateline=1093710924.gif
External images can be used in normal links, so you can make any image to link to somewhere.

Example using the "profile" image from any thread of Winamp.com Forums to point to kichik's profile:

profile.gif

[http://forums.winamp.com/member.php?s=&action=getinfo&userid=44024 http://forums.winamp.com/images/profile.gif]

Extensions

What it looks like What you type
The <highlight-x> tag provides ability for codes to have syntax highlight. The letter "x" indicates the language of your code. This is a list of languages added/changed from GeSHi's original languages:
  • nsis
  • ini

An example of usage using the "nsis" language:

/*
An huge comment describing the code
*/
 
Name "blah"
OutFile "blah.exe"
 
#a comment
 
Section
  SetOutPath $INSTDIR
  File "blah.txt" ;a comment
SectionEnd
<highlight-nsis>
/*
An huge comment describing the code
*/

Name "blah"
OutFile "blah.exe"

#a comment

Section
  SetOutPath $INSTDIR
  File "blah.txt" ;a comment
SectionEnd
</highlight-nsis>
The <attach> tag can be used to link your page to a file directly in this NSIS Wiki.

It will show the Zip.gif image, the link to the file and its size in KB's or Bytes rounded downwards (depends on file size). Because of the image, the recommended format is .zip.

Inside the tag, you have to specify the name of the file from the File namespace to be linked, without the namespace and with the exact capitalization as shown by the name of the page.

Example:

Nopey.zip (54 KB)

If the file doesn't exist, it is replaced with "file.ext not found". Example:

MyFile.zip not found

<attach>Nopey.zip</attach>

<attach>MyFile.zip</attach>