Help: Navigatie: verschil tussen versies

Uit MediaWikiGids
Ga naar: navigatie, zoeken
(Aanmaken pagina, kopie van http://tweeki.thai-land.at/wiki/Navigation?action=edit)
 
(Vertalen in Nederlands)
Regel 1: Regel 1:
 
[[Categorie:Tweeki componenten]]
 
[[Categorie:Tweeki componenten]]
=== Navigational Sections ===
+
=== Navigatie Secties ===
 +
 
 +
Het is mogelijk om de inhoud van deze secties te wijzigen via de systeemberichten en de zichtbaarheid te besturen via de <code><nowiki>{{#tweekihide:}}</nowiki></code> [http://tweeki.thai-land.at/wiki/Parser_Functions#Tweekihide_parser_function parser function] en [http://tweeki.thai-land.at/wiki/Configuration_Options configuratie opties].
  
 
You can change the content of these via system [[Messages|messages]] and control the visibility via the <code><nowiki>{{#tweekihide:}}</nowiki></code> [[Parser Functions#Tweekihide parser function|parser function]] and [[Configuration_Options#Hiding_Page_Elements|configuration options]].
 
You can change the content of these via system [[Messages|messages]] and control the visibility via the <code><nowiki>{{#tweekihide:}}</nowiki></code> [[Parser Functions#Tweekihide parser function|parser function]] and [[Configuration_Options#Hiding_Page_Elements|configuration options]].
  
''Example:'' If you want to change the content of the right sidebar edit [[MediaWiki:tweeki-sidebar-right]].
+
''Voorbeeld:'' Wanneer je de inhoud van de rechtse 'sidebar' wilt aanpassen, bewerk dan [[MediaWiki:tweeki-sidebar-right]].
  
 
{| style="border-spacing:3px;border-collapse:separate; width:100%"
 
{| style="border-spacing:3px;border-collapse:separate; width:100%"
Regel 23: Regel 25:
 
|
 
|
  
The main navigation on the top of the page. In this demo installation it is hidden for anonymous users. It can scroll with the page or it can be fixed and always visible (configure it via [[MediaWiki:Tweeki-navbar-class]]).
+
De hoofd navigatie aan de bovenkant van de pagina.  
 +
 
 +
In this demo installation op tweeki it is hidden for anonymous users. It can scroll with the page or it can be fixed and always visible (configure it via [[MediaWiki:Tweeki-navbar-class]]).
  
It consists of three parts whose contents can be changed via system messages: <code>navbar-brand</code>, <code>navbar-left</code>, and <code>navbar-right</code>
+
Het bestaat uit drie onderdelen, waarvan de inhoud aangepast kan worden via de systeemberichten ('system messages'):
 +
<code>navbar-brand</code>, <code>navbar-left</code> en <code>navbar-right</code>
  
 
<div class="navbar navbar-default">
 
<div class="navbar navbar-default">
Regel 83: Regel 88:
 
|
 
|
  
The left sidebar is empty by default.
+
De linker 'sidebar' is standaard leeg.
  
 
|-
 
|-
Regel 89: Regel 94:
 
|
 
|
  
The right sidebar contains the edit button and the table of contents by default.
+
De rechter sidebar bevat standaard de edit knop en de inhoudsopgave.
  
 
|-
 
|-
Regel 95: Regel 100:
 
|
 
|
  
The footer is fully customizable. See [[Footer Examples]] for an overview. It's default contents are
+
De 'footer' kan geheel aangepast worden. Zie [http://tweeki.thai-land.at/wiki/Footer_Examples Footer Voorbeelden] voor een overzicht. Standaard is de inhoud:
 
* <code>footer-info</code> („This page was last modified at … by …“, „This page was viewed … times“),  
 
* <code>footer-info</code> („This page was last modified at … by …“, „This page was viewed … times“),  
 
* <code>footer-places</code> (Privacy policy, About, Disclaimers),
 
* <code>footer-places</code> (Privacy policy, About, Disclaimers),
Regel 106: Regel 111:
 
|
 
|
  
This element's content can not be changed directly but it can be hidden on certain pages or for certain users.
+
De inhoud van dit element kan niet direct aangepast worden, maar kan wel op gewenste pagina's of voor zekere gebruikersgroepen verborgen worden.  
  
 
|-
 
|-

Versie van 20 mrt 2017 om 21:07

Navigatie Secties

Het is mogelijk om de inhoud van deze secties te wijzigen via de systeemberichten en de zichtbaarheid te besturen via de {{#tweekihide:}} parser function en configuratie opties.

You can change the content of these via system messages and control the visibility via the {{#tweekihide:}} parser function and configuration options.

Voorbeeld: Wanneer je de inhoud van de rechtse 'sidebar' wilt aanpassen, bewerk dan MediaWiki:tweeki-sidebar-right.

navbar
sidebar-
left
subnav sidebar-
right
main content
(including firstHeading)
footer


navbar

De hoofd navigatie aan de bovenkant van de pagina.

In this demo installation op tweeki it is hidden for anonymous users. It can scroll with the page or it can be fixed and always visible (configure it via MediaWiki:Tweeki-navbar-class).

Het bestaat uit drie onderdelen, waarvan de inhoud aangepast kan worden via de systeemberichten ('system messages'):

navbar-brand, navbar-left en navbar-right
subnav

The subnavigation, using Bootstrap's .nav classes.

Pills


Tabs

sidebar-left

De linker 'sidebar' is standaard leeg.

sidebar-right

De rechter sidebar bevat standaard de edit knop en de inhoudsopgave.

footer

De 'footer' kan geheel aangepast worden. Zie Footer Voorbeelden voor een overzicht. Standaard is de inhoud:

  • footer-info („This page was last modified at … by …“, „This page was viewed … times“),
  • footer-places (Privacy policy, About, Disclaimers),
  • footer-custom, and
  • footer-icons (MediaWiki etc.).
firstHeading

De inhoud van dit element kan niet direct aangepast worden, maar kan wel op gewenste pagina's of voor zekere gebruikersgroepen verborgen worden.

footer-info

footer-info-lastmod, footer-info-viewcount

footer-places

footer-places-privacy, footer-places-about, footer-places-disclaimer

footer-custom

fully customizable via MediaWiki:Tweeki-footer-custom – Shows a login link by default and is hidden for logged-in users.

footer-icons

footer-poweredbyico

Navigational Elements

These are some standard building blocks for the navigation. Use these elements to define content for the navigational sections above and add your own custom items using button markup. You can also define your own building blocks, so called Special Navigational Elements.

And you can always link to internal or external pages or build semantic dropdowns using Tweeki's Button syntax.

 EDIT

A simple "Edit" button for the current page

 EDIT-EXT

A split dropdown with "Edit Page" and the other ACTIONS in the dropdown menu. For users or contexts in which EDIT-EXT-special is hidden via configuration setting, hook or parser function the button will be reduced to the appearance of EDIT.

 TALK

A link to the talk page or the main page if you already are on the talk page.

 TOOLBOX

The tools (depending on context): page information, special pages, upload file, related changes, what links here

 VIEWS

MediaWiki standard views: read, edit, history.

 ACTIONS

MediaWiki standard actions like purge, watch, move, delete.

 PERSONAL

A link to the log in form for anonymous users, a dropdown with the personal tools if already logged in.

 PERSONAL-EXT

Same as PERSONAL but using LOGIN-EXT's dropdown.

 LOGIN

A link to the log in form for anonymous users, empty if already logged in.

 LOGIN-EXT

A dropdown to allow logging in while staying on the same page.

 SIDEBAR

The original content of the sidebar for Mediawiki's standard skins as defined in Mediawiki:Sidebar.

 LANGUAGES

Select different languages if your wiki supports it.

 SEARCH

The standard search box including autocomplete.

 FIRSTHEADING

You can place the first heading in any navigational section. Note that you can control the visibility of this element with FIRSTHEADING and the original heading in the content with firstHeading, i.e. it is case sensitive.

 TOC

Table of contents, if placed in the sidebar it makes use of Bootstrap's scrollspy feature.

 LOGO

the Logo as set via $wgLogo in LocalSettings.php. Use #p-logo to adapt the styling.