User:Annew/Snippets

From KDE UserBase Wiki

Long Page Names

the Index page shows "Kdenlive on other Desktops and Operating Systems" and it is currently linked to Kdenlive/Manual/KdenliveOnOtherPlatforms. In this case there will be enough to add the anchor <span id="Kdenlive on other Desktops and Operating Systems"> The general concern is that links should refer to Kdenlive/Manual/KdenliveOnOtherPlatforms#Kdenlive on other Desktops and Operating Systems

Special Tags

<code>6 feet in meters</code> will output <code class="output">1.8288 m</code>.

6 feet in meters will output 1.8288 m.


Section links need to be anchored like this:

<span id="Working_with_Languages"></span>

Close the translate tag before the span id and re-open afterwards
Don't forget to add an empty line after the ID


{{#UseLiquidThreads:1}}
{{:Special:PrefixIndex/{{FULLPAGENAME}}/}}

<s>this should strike through</s> this should strike through

Avoid using text smilies as they cause problems for translation applications. Instead use {{Smiley}} Other smilies can be found on [Commons Wikimedia] and the file-name is sufficient to get the image included}}

{{Special:ContributionScores/10/7}} displays the contribution score tables on a page

For example of using citations, see Digikam/Lens_Distortion

<blockquotes></blockquotes>

This tag is used when quoting from another site or page. It uses a proportional italic font


Old-style code display

Code Display

kwrite ftp://ftp.kde.org/pub/kde/Welcome.msg
“for images that contain substantial areas of constant color a linear 
histogram will often be dominated by a single bar. In this case a logarithmic
histogram will often be more useful.”

Warning

These are deprecated. Use {{Input} and {{Output}} templates instead

Using syntaxhighlight

{{Input|<syntaxhighlight lang="php" line>
# Initialise common code
$preIP = dirname( __FILE__ );
require_once( "$preIP/includes/WebStart.php" );
</syntaxhighlight>}}

will result in

# Initialise common code
$preIP = dirname( __FILE__ );
require_once( "$preIP/includes/WebStart.php" );

For plain code, use "lang="bash" "


Symbols


 See footnote



Support for this application can be found from the project's home page

(also Community-app2 and Community-app-footnote2}}

Definition Lists

;Efficient
: Highlight the elegance of efficiency — from steps removed and labor reduced to costs saved.
;Effortless
: Communicate in intrinsically simple terms. Be concise, intuitive, eloquent, and fluid.
Efficient
Highlight the elegance of efficiency — from steps removed and labor reduced to costs saved.
Effortless
Communicate in intrinsically simple terms. Be concise, intuitive, eloquent, and fluid.

Display category without linking to category

To link a category page within a page as a normal wiki link (without adding the page to the category), prefix the link name with a colon. For example: [[:Category:Not in this category|Display Label]] from Wikimedia Help

Enumerated Lists

Standard wiki markup results in

  1. First item
    1. First sub-item
    2. Second sub-item.

To improve display, a new class has been introduced.

{{Input:1=<div class="manualtoc">

  1. First item
    1. First sub-item
    2. Second sub-item</nowiki>

}}

which results in

  1. First item
    1. First sub-item
    2. Second sub-item

Breaking down enumerated lists for translation

Lists like

# [[Special:myLanguage/Kdenlive/Manual/Effects/Enhancement/Denoiser|Denoiser]] # [[Special:myLanguage/Kdenlive/Manual/Effects/Enhancement/Nikon D90 Stairstepping fix|Nikon D90 Stairstepping fix]] # [[Special:myLanguage/Kdenlive/Manual/Effects/Enhancement/Sharpen|Sharpen]]

can, if more than two or three deep, cause problems for translators. Resolve this by adding translate tag pairs around each list item, viz:

<translate># [[Special:myLanguage/Kdenlive/Manual/Effects/Enhancement/Denoiser|Denoiser]]</translate> <translate># [[Special:myLanguage/Kdenlive/Manual/Effects/Enhancement/Nikon D90 Stairstepping fix|Nikon D90 Stairstepping fix]]</translate> <translate># [[Special:myLanguage/Kdenlive/Manual/Effects/Enhancement/Sharpen|Sharpen]]</translate>

Previous and Next





To make the links to the pages look less ugly you can provide extra options to the template:

{{Prevnext|Article/section/previous-subsection|Article/section/next|This points to the previous section text|This is the next section}}

This will be rendered as


Software InfoBox

Software Info


Boxes

Note

Now controlled by a template

Warning

Another template

Tip

and another template

Attention

More than a note, but not a warning

Currently Being Edited

This page is currently being edited.
If this notice persists for an unreasonable time, please either notify irc.freenode.org #kde-www or report on Claus chr's Talk page

Note: Pages should not normally be marked for translation while they are being actively worked on


Under Construction

This is a new page, currently under construction!

Information

This is an Info box. It gives important additional information rendered in a box.

Remember

This is for things that definitely must not be forgotten

Remember

You can use parameter number 3 to set an individual box heading:
{{Remember|3=Don't Forget This!|1=You can use...}}



Table notes

class="tablecenter":

The KMail Welcome Screen
KMail is the email component of Kontact, the integrated personal information manager of KDE.

The KMail Welcome Screen
KMail is the email component of Kontact, the integrated personal information manager of KDE.

class="vertical-centered" - table aligned left, text aligned vertically centered


<:translate><:!--T:1--> Internet and Networking<:/translate>

class="vertical-centered wikitable" style="border: 1px solid grey;"

Centered heading -

{| class="tablecenter" style="border:1px solid"
! colspan="2" style="background:#ffff99;text-align:center;" | Debugging
|-
|	F10 
| Step over (gdb's "next") 
|-
|	F11 
| Step into (gdb's "step") 
|-
|	F12
| Step out of (gdb's "finish") 
|}
Debugging
F10 Step over (gdb's "next")
F11 Step into (gdb's "step")
F12 Step out of (gdb's "finish")


Description Windows Mac OS X KDE Software
Blogging client Windows Live Writer Blogilo
BitTorrent Client BitTorrent KTorrent, KMLDonkey, KGet
Download Manager FlashGet KGet
eDonkey Client eMule KMLDonkey
E-mail Client Outlook Express, Windows Live Mail Apple Mail KMail
Feed Aggregator Akregator
PIM Outlook Kontact
Web Browser Internet Explorer Safari Konqueror, rekonq
Instant Messaging Client Windows Live Messenger iChat, Adium Kopete, KMess
IRC Client mIRC Colloquy Konversation


:{|class="tablecenter" style="border:1px solid darkgray;"

Screenshot with neat border

Link image and external url:

- a huge collection of calendars with a broad range of topics

Other smilies can be found on Commons Wikimedia and the file-name is sufficient to get the image included


Image Issues

On some pages sections tend to run together. This is caused by long images placed besides short text sections. Solution: place < /translate><br style="clear: both;"/>< translate> after the troublesome section. This also works with docbook. See Amarok/Manual/AmarokWindow/PlaylistPane ==Reporting== NB: <nowiki>{{PAGENAME}} returns the page name without prefix. For this page it returns "Namespace". {{FULLPAGENAME}} returns both namespace and pagename; for this page, that is "Help:Namespace". (From http://meta.wikimedia.org/wiki/Help:Namespace#Custom_namespaces)


[Tuesday 08 June 2010] [18:10:17] <Nikerabbit> annew: you can also include the graph on your user page directly:

[Tuesday 08 June 2010] [18:10:45] <Nikerabbit> or generate your own at http://userbase.kde.org/index.php?title=Special:TranslationStats


Translate Notes

[18:20] <Nikerabbit> Nilli: use http://userbase.kde.org/Special:LanguageStats/sv as an entry point?


MyTestPage