|
From: <var...@us...> - 2020-12-22 13:08:40
|
Revision: 10188
http://sourceforge.net/p/phpwiki/code/10188
Author: vargenau
Date: 2020-12-22 13:08:37 +0000 (Tue, 22 Dec 2020)
Log Message:
-----------
Update locale/sv/pgsrc/Hj%C3%A4lp%2FTextformateringsregler
Modified Paths:
--------------
trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FTextformateringsregler
Modified: trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FTextformateringsregler
===================================================================
--- trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FTextformateringsregler 2020-12-22 12:51:51 UTC (rev 10187)
+++ trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FTextformateringsregler 2020-12-22 13:08:37 UTC (rev 10188)
@@ -1,4 +1,4 @@
-Date: Tue, 9 Apr 2019 17:57:35 +0000
+Date: Tue, 9 Dec 2020 17:57:35 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=Hj%C3%A4lp%2FTextformateringsregler;
@@ -10,14 +10,142 @@
== Översikt ==
-[Textformateringsregler]%%%
-**Markering:** '****' för ''lutande'', _''''_ för **fet**, '****'_''''_ för ''**både och**''.%%%
-**Listor:** * för punktlistor, # för numrerade listor, ''**;** term **:** definition'' för definitionslistor.%%%
-**Referenser:** !BindIhopOrdMedStoraBokstäver eller använd hakar för en [[länk] eller URL [[!http://cool.wiki.int/].%%%
-**''Footnotes'':** Använd [[1],[[2],[[3],...%%%
-**''och Redigera Länkar'':** Undvik länkning med "!": !!SkapaEjHyperlänk, namnge länkar med [[[[text | URL].%%%
-**Blandat:** "!", "!!", "!!!" skapar rubriker, "%''''%%" skapar radbrytning, "-''''---" skapar en horisontell linje.%%%
+**Markering:** ##~/~/## för //lutande//, ##~*~*## för **fet**, ##~*~*~/~/...~/~/~*~*## för ''**//både och//**, ##~#~### for ##fixed width##. \\
+**Listor:** * för punktlistor, # för numrerade listor,; use multiple ##~*## or ##~### for nested lists. \\
+**Headings:** "##~=~=##", "##~=~=~=##", "##~=~=~=~=##", etc. make headings. \\
+**Preformatted text:** Enclose text in ##~{~{~{...~}~}~}## or ##~<pre>~</pre>##. \\
+**Indented text:** Indent the paragraph with whitespaces. \\
+**References:** use double square brackets for a ##~[~[page link~]~]## or URL ##~[~[~http:~//cool.wiki.int/~]~]##. \\
+**References:** use pipe ##~|## to name the links: ##~[~[page link~|some text~]~]## or ##~[~[~http:~//cool.wiki.int/~|some text~]~]##. \\
+**Preventing linking:** Prefix with "##~~##": ##~~~DoNotHyperlink##. \\
+**Misc:** "##~\~\##" makes a linebreak, "##~----##" makes a horizontal rule. \\
+**Allowed HTML tags:** <b>b</b> <big>big</big> <i>i</i>
+<small>small</small> <tt>tt</tt> <em>em</em> <strong>strong</strong>
+<s>s</s> <strike>strike</strike>
+<abbr>abbr</abbr> <acronym>acronym</acronym> <cite>cite</cite>
+<code>code</code> <dfn>dfn</dfn> <kbd>kbd</kbd> <samp>samp</samp>
+<var>var</var> <sup>sup</sup> <sub>sub</sub> \\
+**More:** [[Help:TextFormattingRules#Tables|tables]], [[Help:TextFormattingRules#Images|images]],
+[[Help:CreateTocPlugin|table of contents]], [[Help:TextFormattingRules#Inserting_plugins|plugins]]
+More explanations: [[Hjälp:Textformateringsregler]]
+
+== Character Formatting ==
+
+=== Emphasis ===
+
+* Använd dubbla snedstreck (##~/~/##) för vanlig betoning (vanligtvis //lutande stil//)
+* Använd dubbla asterisk (##~*~*##) för stark betoning (vanligtvis **fet stil**)
+* Blanda dem om du vill: **''fet lutande stil''**
+* //Markering// kan användas //flera// gånger på en rad, men **kan inte** användas över radgränser:
+
+//detta
+
+kommer inte att fungera//
+
+=== Monospace ===
+
+Monospace text is made using two hashes:
+
+{{{
+This sentence contains ##monospace text##.
+}}}
+
+This sentence contains ##monospace text##.
+
+=== Superscript ===
+
+Superscript text is made using two carets:
+
+{{{
+The XX^^th^^ century.
+}}}
+
+The XX^^th^^ century.
+
+=== Subscript ===
+
+Subscript text is made using two commas:
+
+{{{
+Water is H,,2,,O.
+}}}
+
+Water is H,,2,,O.
+
+=== Teckensnitt ===
+
+There's no syntax for font tags.
+
+=== Color Text ===
+
+It is possible to write text in color.
+
+{{{
+%color=green% green text %% and back to normal
+}}}
+will give:
+%%%
+%color=green% green text %% and back to normal
+
+The easiest way to do it is to use the COLOR button in the Edit Toolbar.
+The text will be in green by default. You can then change the color.
+
+Allowed colors are:
+* an HTML color number (# followed by 3 or 6 digits),
+* the following predefined color names:
+{| class="bordered"
+|-
+| %color=aqua% aqua %%
+| style="background-color:#565c5e" | %color=beige% beige %%
+| %color=black% black %%
+| %color=blue% blue %%
+| %color=brown% brown %%
+| %color=chocolate% chocolate %%
+| %color=cyan% cyan %%
+| %color=fuchsia% fuchsia %%
+| %color=gold% gold %%
+| %color=gray% gray %%
+|-
+| %color=green% green %%
+| style="background-color:#565c5e" | %color=ivory% ivory %%
+| %color=indigo% indigo %%
+| %color=lime% lime %%
+| %color=magenta% magenta %%
+| %color=maroon% maroon %%
+| %color=navy% navy %%
+| %color=olive% olive %%
+| %color=orange% orange %%
+| %color=pink% pink %%
+|-
+| %color=purple% purple %%
+| %color=red% red %%
+| %color=salmon% salmon %%
+| %color=silver% silver %%
+| style="background-color:#565c5e" | %color=snow% snow %%
+| %color=teal% teal %%
+| %color=turquoise% turquoise %%
+| %color=violet% violet %%
+| style="background-color:#565c5e" | %color=white% white %%
+| %color=yellow% yellow %%
+|}
+
+Note: you can put the headers in color, but only if you do not have a table of content. For now, the table of content is incompatible with color headers.
+
+=== Escape Character ===
+
+The tilde '~~' is the //Escape Character//:
+* A single tilde '~~' followed by nothing gets rendered as a single tilde. => ~
+* Two tilde '~~~~' get rendered as a single tilde. => ~~
+* A single tilde before a link ('~~http~:~/~/foo.bar') prevents linking. => ~http://foo.bar
+* Two tildes before a link ('~~~~http~:~/~/foo.bar') produce a tilde followed by the hyperlinked URL. => ~~http://foo.bar
+* A tilde inside an URL gets removed, unless it's formatted inside square brackets.
+* Two tildes inside an URL (without brackets) become a single tilde. => [[http://foo.bar/~user]] or http://foo.bar/~~user
+
+=== Special Characters ===
+
+All special non-whitespace HTML characters are displayed as-is. Exceptions below.
+
== Paragrafer ==
* Indentera inte paragrafer
@@ -24,77 +152,239 @@
* Rader radbryts där det behövs
* Använd blankrader som separatorer
* Fyra eller mer streck gör en horisontell linje
-* %%''''% gör en radbrytning (i rubriker och listor också)
+* "##~\~\##", "##~%%%##" eller "##~<br>##" gör en radbrytning (i rubriker och listor också)
-
== Listor ==
+=== Punktlistor ===
+
+Recommended syntax (Wikicreole):
* asterisk för första nivån
-** asterisk-asterisk för andra nivån, osv.
-* Använd * för punktlistor, # för numrerade listor (blanda hur du vill)
-* semikolon-term-kolon-definition för definitionslistor:
-;term här:definition här, som i en lista med <DL><DT><DD>
-* En rad för varje punkt i listan
-* Andra inledande mellanslag signalerar förformaterad text och ändrar teckensnittet
+* asterisk-asterisk för andra nivån, osv.
+Be sure to **put a space after the asterisk**.
+
+You can also use indented asterisk for second level (indent at least two spaces).
+
+=== Numrerade listor ===
+
+Recommended syntax (Wikicreole):
+* ##~### for first level
+* double ##~### for second level, etc.
+
+Be sure to **put a space after the hash sign**.
+
+You can also use indented ##~### for second level (indent at least two spaces).
+
+=== Definitionslistor ===
+
+{{{
+Term:
+ definition
+}}}
+
+gives
+
+Term:
+ definition
+
+=== Remark ===
+
+Items may contain multiple paragraphs and other multi-lined content, just indent the items
+
== Rubriker ==
-* "!" vid början av raden för en liten rubrik
-* "!!" vid början av raden för en mellanrubrik
-* "!!!" vid början av raden för en stor rubrik
+=== Wikicreole syntax (recommended) ===
-== Teckensnitt ==
+* '~=~=' at the start of a line makes a large heading (h2)
+* '~=~=~=' at the start of a line makes a medium heading (h3)
+* '~=~=~=~=' at the start of a line makes a small heading (h4)
+* '~=~=~=~=~=' at the start of a line makes a smaller heading (h5)
+* '~=~=~=~=~=~=' at the start of a line makes a tiny heading (h6)
-* Indentera med ett eller flera mellanslag för att få text med lika breda tecken:
+=== Classic Phpwiki syntax ===
- Detta är text med lika breda tecken
-Detta är inte det
+* '##!!!##' vid början av raden för en stor rubrik (h2)
+* '##!!##' vid början av raden för en mellanrubrik (h3)
+* '##!##' vid början av raden för en liten rubrik (h4)
+== Preformatted text ==
+
+Place the preformatted text between three opening curly brackets and three closing curly brackets:
+
+<verbatim>
+{{{
+Preformatted text. ~WikiLinks do not work.
+}}}
+</verbatim>
+
+gives
+
+{{{
+Preformatted text. WikiLinks do not work.
+}}}
+
+If you want Wiki interaction, place preformatted lines inside ##~<pre>##:
+
+{{{
+<pre>
+Preformatted text. WikiLinks still work.
+</pre>
+}}}
+
+gives
+
+<pre>
+Preformatted text. WikiLinks still work.
+</pre>
+
== Indenterade paragrafer ==
-''(Citat)''
-* semikolon-kolon -- fungerar som <BLOCKQUOTE>
+Two or more whitespaces signal indented text. Indents may be nested.
-;: detta är ett indenterat block med text
+ This is an indented block of text.
-== Markering ==
+ This block is even more indented.
-* Använd dubbla apostrofer ('') för vanlig betoning (vanligtvis ''lutande stil'')
-* Använd dubbla understreck (**) för stark betoning (vanligtvis **fet stil**)
-* Blanda dem om du vill: **''fet lutande stil''**
-* ''Markering'' kan användas ''flera'' gånger på en rad, men ''kan inte'' användas över radgränser:
+E-mail style block-quoting is supported as well:
+{{{
+> This is block-quoted text.
+}}}
+renders as
-''detta
-kommer inte att fungera''
+> This is block-quoted text.
== Referenser ==
-* Hyperlänkar till andra sidor inom Wikin görs genom att sätta sidnamnet innanför hakparenteser: [detta är en länk] eller genom att [AnvändaWikiOrd] (föredras)
-* Hyperlänkar till externa sidor görs så här: [http://www.wcsb.org/]
-* Du kan namnge länkarna genom att skriva ett namn, ett lodrätt streck och sedan hyperlänken eller sidnamnet: [PhpWiki-hemsidan | http://phpwiki.sourceforge.net/] - [framsidan | Framsida]
-* Du kan undvika att länkar skapas genom att sätta "!" framför ordet som du inte vill vara en länk, t.ex. !InteEnWikilänk, !http://inte.heller.en.länk/
-* You can create footnotes by using [[1], [[2], [[3], ... like this here [1]. See footnote for counterpart. (If the [[ is in the first column, it is a footnote ''definition'' rather than a footnote ''reference'' [1].)
-* Det gamla sättet att skapa länkar av URL:er stöds fortfarande: Föregå varje URL med "http:", "ftp:" eller "mailto:" för att skapa länkar automatiskt, så här: http://c2.com/
-* Bilder med URL:er som slutar med .png, .gif eller .jpg innanför hakparenteser läggs in i dokumentet av sig själv: [http://phpwiki.demo.free.fr/themes/default/images/png.png]
+* Hyperlänkar till andra sidor inom Wikin görs genom att sätta sidnamnet
+ innanför dubbla hakparenteser: [[detta är en länk]].
+ Enstaka hakparenteser eller AnvändaWikiOrd fungerar också.
+* Hyperlänkar till externa sidor görs så här: [[http://www.wcsb.org/]]
+* Du kan namnge länkarna genom att skriva ett namn, ett lodrätt streck (##|##) och
+ sedan hyperlänken eller sidnamnet: [[http://phpwiki.sourceforge.net/|PhpWiki-hemsida]], [[Framsida|framsidan]]
+* Du kan undvika att länkar skapas genom att sätta '##~~##' framför ordet som du
+ inte vill vara en länk, t.ex. ~InteEnWikilänk, ~http://inte.heller.en.länk/
+* Det gamla sättet att skapa länkar av URL:er stöds fortfarande: Föregå varje URL med "##http:##", "##ftp:##" eller "##mailto:##" för
+ att skapa länkar automatiskt, så här: http://c2.com/
+* Bilder med URL:er som slutar med ##.png##, .##gif## eller ##.jpg## innanför hakparenteser läggs in i dokumentet av sig själv:
+ [[http://phpwiki.demo.free.fr/themes/default/images/png.png]]
+* You can create footnotes by using ~[1], ~[2], ~[3], ... like this here #[|ftnt
+_ref_1]<sup>~[[1|#ftnt_1]~]</sup>. See footnote for counterpart. (If the ~[ is
+in the first column, it is a footnote <em>definition</em> rather than a footnote
+ <em>reference</em> #[|ftnt_ref_1]<sup>~[[1|#ftnt_1]~]</sup>.)
+* In-page #[[hyperlinks]] are made by placing a named anchor and referring to the anchor in a hyperlink:
+** Named anchors:
+*** ##~#~[~[foo]]##: An anchor around the text "foo" with id "foo".
+*** ##~#~[~[|foo]]##: An empty anchor with id "foo".
+*** ##~#~[~[howdy|foo]]##: An anchor around the text "howdy" with id "foo".
+** References to name anchors are made thusly:\\##~[~[~#hyperlinks]]##, ##~[~[~OtherPage#foo]]##, ##~[~[~OtherPage#foo|named]]##.
+* Semantic links are named links like: {{{is_a::WikiPage}}} and attributes like {{{size:-4000}}}.
+* A pagelink within square brackets starting with ":" is not backlinked.
+== Images ==
+
+An inline image is created with curly brackets.
+An alternate text can be put after a pipe. If there is none, an empty alternate text will be created.
+
+{{{
+{{myimage.png}}
+{{myimage.png|this is the alt text for my image}}
+[[some link|{{myimage.png}}]] - if you click on the image, will goto "some link"
+[[some link|{{myimage.png|alt text}}]] - same with alternative
+[[http://example.com/|{{myimage.png}}]] - same as above: picture links to url
+[[http://example.com/|{{myimage.png|alt text}}]] - same with alternative
+}}}
+
== Tables ==
-* Simple tables are available. A table row is introduced by a **|** in the first column. It is best described by example:
- || _''''_Name_''''_ |v _''''_Cost_''''_ |v _''''_Notes_''''_
- | _''''_First_''''_ | _''''_Last_''''_
- |> Jeff |< Dairiki |^ Cheap |< Not worth it
- |> Marco |< Polo | Cheaper |< Not available
-;: will generate
-|| **Name** |v **Cost** |v **Notes**
-| **First** | **Last**
-|> Jeff |< Dairiki |^ Cheap |< Not worth it
-|> Marco |< Polo | Cheaper |< Not available
+=== Wikicreole tables ===
-;: Note that multiple **|**'s lead to spanned columns, and **v**'s can be used to span rows. A **>** generates a right justified column, **<** a left justified column and **^** a centered column (which is the default.)
+All cells are separated by single pipes.
+Leading spaces are permitted before the first cell of a row and trailing spaces are permitted at the end of a line.
+The ending pipe is optional.
-== HTML ==
+You can embed links, bold, italics, line breaks, and nowiki in table cells.
-* Bry dig inte
+Equal sign directly following pipe defines a header.
+Headers can be arranged horizontally or vertically.
+
+{{{
+|=Heading Col 1 |=Heading Col 2 |
+|Cell 1.1 |Two lines\\in Cell 1.2 |
+|Cell 2.1 |Cell 2.2 |
+}}}
+
+will give:
+
+|=Heading Col 1 |=Heading Col 2 |
+|Cell 1.1 |Two lines\\in Cell 1.2 |
+|Cell 2.1 |Cell 2.2 |
+
+=== Mediawiki tables ===
+
+See [[Help:MediawikiTablePlugin]].
+
+=== Definition list style tables ===
+
+Definition list style tables are written just like definition lists,
+except that you replace the trailing colon on the term with a "pipe" (##|##).
+
+{{{
+Term 1 |
+ Definition 1 begins here.
+ Term 1.1 |
+ Definition 1.1
+ Term 1.2 |
+ Definition 1.2
+ This is part of definition 1.
+Term 2 |
+ Here's definition 2.
+}}}
+
+will give:
+
+Term 1 |
+ Definition 1 begins here.
+ Term 1.1 |
+ Definition 1.1
+ Term 1.2 |
+ Definition 1.2
+ This is part of definition 1.
+Term 2 |
+ Here's definition 2.
+
+== Old-style tables ==
+
+See: [[Help:OldStyleTablePlugin]]
+
+== HTML Mark-Up Language ==
+
+* Some in-line markup is allowed through the use of HTML tags:
+ <b>b</b>, <big>big</big>, <i>i</i>, <small>small</small>,
+ <tt>tt</tt>, <em>em</em>, <strong>strong</strong>,
+ <abbr>abbr</abbr>, <acronym>acronym</acronym>, <cite>cite</cite>,
+ <code>code</code>, <dfn>dfn</dfn>, <kbd>kbd</kbd>,
+ <samp>samp</samp>, <var>var</var>, <sup>sup</sup> and <sub>sub</sub>
* < och > är sig själva
* &-tecknet fungerar inte
-* Om du verkligen måste använda HTML kan systemadministratören slå på detta tillval. Börja varje rad med ett lodrätt streck (|). Observera att detta tillval är avslaget som standard.
+
+== Creating various kinds of special links ==
+
+See [[Help:MagicPhpWikiURLs]] for gory details on how to write various kind
+of wiki maintenance and other special links.
+
+== Inserting plugins ==
+
+Several plugins permit embedding additional functionality to Wiki pages. For example,
+{{{
+<<BackLinks page=HomePage info=hits>>
+}}}
+gives
+<<BackLinks page=HomePage info=hits>>
+
+For more information on plugins see [[Help:WikiPlugin]], and [[PluginManager]] for a list of all plugins.
+
+<noinclude>
+----
+[[PhpWikiDocumentation]]
+</noinclude>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|