diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-10-16 02:04:12 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-10-16 02:04:12 +0200 |
commit | 4704575b7d664574b5477aa677dd88d26d00dc87 (patch) | |
tree | 35f85d8a8adb1541fade8313043e19fb613b434d /preprocessordirective.mdwn | |
parent | 6d77c7796c1039d0c23fb7c1d16929bd8f78b39b (diff) |
Translated to danish.
Diffstat (limited to 'preprocessordirective.mdwn')
-rw-r--r-- | preprocessordirective.mdwn | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/preprocessordirective.mdwn b/preprocessordirective.mdwn index 1e2332c..140afab 100644 --- a/preprocessordirective.mdwn +++ b/preprocessordirective.mdwn @@ -1,30 +1,29 @@ -Preprocessor directives are similar to a [[WikiLink]] in form, except they -contain spaces and parameters. The general form is: +Preprocessor-direktiver linger et [[WikiLink]] i form, på nær at de indeholder +mellemrum og parametre. Generelt er formen: - \[[directive param="value" param="value"]] + \[[directive param="værdi" param="værdi"]] -This gets expanded before the rest of the page is processed, and can be used -to transform the page in various ways. +Dette udvides før resten af siden udarbejdes, og kan bruges til at omforme siden +på forskellige måder. -The quotes around values can be omitted if the value is a simple word. -Also, some directives may use parameters without values, for example: +Citationen omkring værdier kan udelades hvis værdien er et simpelt ord. Desuden +kan nogle direktiver bruge parametre uden værdier. Eksempel: \[[tag foo]] -Note that if a preprocessor directive has no parameters, a space still must -be put after its name, to avoid confusion with a [[WikiLink]]. For example: +Bemærk at hvis et preprocessor-directiv ingen parametre har, skal der puttes et +mellemrum efter dets navn, for at undgå forveksling med et [[WikiLink]]. Eksempel: \[[pagecount ]] -A preprocessor directive does not need to all be on one line, it can be -wrapped to multiple lines if you like: +Et preprocessor-directiv behøves ikke at holdes på een linje, det kan godt brede +sig over flere linjer hvis du har lyst: \[[directive foo="baldersnatch" bar="supercalifragalisticexpealadocious" baz=11]] -Also, multiple lines of *quoted* text can be used for a value. -To allow quote marks inside the quoted text, delimit the block -of text with triple-quotes: +Flere linjer *citeret* tekst kan også bruges som værdi. For at tillade citation +i den citerede tekst skal du adskille blokken med trippel-citat: \[[directive text=""" 1. "foo" |