Difference between revisions of "Help:Editing/Advanced"

From IntactiWiki
Jump to navigation Jump to search
m (Templates)
m
Line 46: Line 46:
  
 
This will create an interlanguage link on the navigation bar (on the left in left-to-right languages) in the "In other languages" section.
 
This will create an interlanguage link on the navigation bar (on the left in left-to-right languages) in the "In other languages" section.
 +
 +
If you are sure the page title won't be localized in other languages (like proper names), you may also use
 +
<pre>[[de:{{FULLPAGENAME}}]]</pre>
 +
which then creates an interlanguage link with the identical page title. So you can just exchange the 2-characters language code if you need more interlanguage links.
  
 
== Highlighting ==
 
== Highlighting ==
 
If you ever want to <span style="background:#FFE87C">highlight</span> text (which basically should be avoided), use the following:
 
If you ever want to <span style="background:#FFE87C">highlight</span> text (which basically should be avoided), use the following:
 
<pre><span style="background:#FFE87C">highlighted text here</span></pre>
 
<pre><span style="background:#FFE87C">highlighted text here</span></pre>
 +
 +
== Tooltips ==
 +
Thanks to the extension [https://www.mediawiki.org/wiki/Extension:SimpleTooltip SimpleTooltip], you can use tooltips for simple clarification of e.g. abbreviations and acronyms in articles.
 +
=== Examples ===
 +
'''Simple tooltip:''' <pre>{{#tip-text:RCT|Randomized controlled trial}}</pre>
 +
{{#tip-text:RCT|Randomized controlled trial}}<br>
 +
 +
'''Tip info:''' <pre>{{#tip-info:I am an important information.}}</pre>
 +
{{#tip-info:I am an important information.}}
  
 
== Other ==
 
== Other ==

Revision as of 18:49, 5 November 2019

Writing and editing IntactiWiki articles can become an addiction. There is so much one can enhance, add and change. Because the IntactiWiki uses the same engine that is used by the Wikipedia (called: MediaWiki), the techniques are identical. In the MediaWiki, you will find each and everything you might probably want to know about writing and editing Wiki articles. But there's also a big overload of information there.

So this is the advanced section of the IntactiWiki manual. Here you will learn how to do things that are beyond the scope of a beginner. You'll find various advanced Wiki markup tricks listed into categories below. This subpage will probably never be complete.

Templates

There are many helpful templates available already which really help keeping the general article structure in shape. Templates are always used by writing the template name (without the prefix Template:) in double curly brackets.

Example:

{{Incomplete}}

Result:

Work in progress: The following information does not claim to be complete. More content will be added gradually.

Templates for section headlines

Some of these e.g. format frequently used section headlines, like:

== Publications ==    ->  use {{PUB}} instead.

== See also ==        ->  use {{SEEALSO}} instead.

== External links ==  ->  use {{LINKS}} instead.

== References ==
<references/>         ->  use {{REF}} instead.

We use templates even for rather simple content like the ones shown above, because we see in the Wikipedia that there are many different ways of using these default headlines (like "Also see" instead of "See also", "Weblinks" instead of "External links"). Using templates, you can change them all at once by just changing the template content.

Templates for references and quotations

These are explained in the IntactiWiki manual chapter References.

Templates overview

In the page Special:AllPages, you can list all available templates by chosing the Template namespace. Or simply click here.

Localization

IntactiWiki supports various localized instances. Currently, Danish, German, English, Farsi, French, Hebrew, Swahili language, and Turkish are available. You will basically see the links to the other IntactiWiki instances on the Main page of each IntactiWiki:

If you have created an article on the English IntactiWiki, you may want to (have someone) do a German translation, too. Therefore, you should add an Interlanguage[1] link at the very bottom of your article, which starts with the two-characters language code of the other IntactiWiki. An example:

[[de:Bearbeiten/Fortgeschritten]]

This will create an interlanguage link on the navigation bar (on the left in left-to-right languages) in the "In other languages" section.

If you are sure the page title won't be localized in other languages (like proper names), you may also use

[[de:{{FULLPAGENAME}}]]

which then creates an interlanguage link with the identical page title. So you can just exchange the 2-characters language code if you need more interlanguage links.

Highlighting

If you ever want to highlight text (which basically should be avoided), use the following:

<span style="background:#FFE87C">highlighted text here</span>

Tooltips

Thanks to the extension SimpleTooltip, you can use tooltips for simple clarification of e.g. abbreviations and acronyms in articles.

Examples

Simple tooltip:

{{#tip-text:RCT|Randomized controlled trial}}

RCT

Tip info:

{{#tip-info:I am an important information.}}

Other

More to come soon ...

See also

References