Wikisage, de vrije encyclopedie van de tweede generatie en digitaal erfgoed, wenst u prettige feestdagen en een gelukkig 2025
Wikisage is op 1 na de grootste internet-encyclopedie in het Nederlands. Iedereen kan de hier verzamelde kennis gratis gebruiken, zonder storende advertenties. De Koninklijke Bibliotheek van Nederland heeft Wikisage in 2018 aangemerkt als digitaal erfgoed.
- Wilt u meehelpen om Wikisage te laten groeien? Maak dan een account aan. U bent van harte welkom. Zie: Portaal:Gebruikers.
- Bent u blij met Wikisage, of wilt u juist meer? Dan stellen we een bescheiden donatie om de kosten te bestrijden zeer op prijs. Zie: Portaal:Donaties.
Sjabloon:Pagetype: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(http://en.wikipedia.org/w/index.php?title=Template:Pagetype&oldid=388146757) |
(+) |
||
(6 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
{{#switch:{{NAMESPACE:{{#if:{{{ | {{#switch:{{NAMESPACE:{{#if:{{{pagina|}}} | ||
|{{{page}}} | |{{{page}}} | ||
|{{#ifeq:{{{subjectspace|}}}|yes | |{{#ifeq:{{{subjectspace|}}}|yes | ||
Regel 9: | Regel 9: | ||
|{{ns:Talk}} = {{#switch:{{lc:{{{1|}}}}} | |{{ns:Talk}} = {{#switch:{{lc:{{{1|}}}}} | ||
|disambiguation|disambig|disamb|dab | |disambiguation|disambig|disamb|dab | ||
|doorverwijzing|doorverwijs|dp | |||
|redirect|redir | |redirect|redir | ||
|na = | |na = pagina | ||
|#default = | |#default = artikel | ||
}} | }} | ||
|{{ns:User talk}} | |{{ns:User talk}} | ||
|{{ns:MediaWiki talk}} | |{{ns:MediaWiki talk}} | ||
|{{ns:Help talk}} | |{{ns:Help talk}} | ||
|{{ns:Project talk}} = pagina | |||
|{{ns:Project talk}} = | |{{ns:File talk}} = bestand | ||
|{{ns:Template talk}} = sjabloon | |||
|{{ns:File talk}} = | |{{ns:Category talk}} = categorie | ||
|{{ns:Template talk}} = | |||
|{{ns:Category talk}} = | |||
|#default = {{#switch:{{lc:{{{1|}}}}} | |#default = {{#switch:{{lc:{{{1|}}}}} | ||
|portal | |portal | ||
Regel 27: | Regel 26: | ||
|disambig|disamb|dab | |disambig|disamb|dab | ||
|redirect|redir | |redirect|redir | ||
|na = | |na = pagina | ||
|image|file = bestand | |||
|image|file = | |template|temp|templ = sjabloon | ||
|template|temp|templ = | |category|cat|categ = categorie | ||
|category|cat|categ = | |#default = artikel | ||
|#default = | |||
}} | }} | ||
}} | }}<noinclude> | ||
{{geel}} | |||
This template is used to identify what kind of page it or its subject page is. | |||
=== Usage === | |||
<pre>{{pagetype | class | page= }}</pre> | |||
===Parameters=== | |||
;''class'' | |||
This unnamed parameter is optional and is used to distinguish between different non-article pages in mainspace (e.g. disambiguation pages and redirects). See below for details. | |||
;''page'' | |||
The name of a page. The default is the current page. | |||
;''subjectspace'' | |||
If set to ''yes'' then subjectspace pages will be treated the same as talkspace pages. | |||
===Output=== | |||
{| class="wikitable" | |||
|- | |||
!Namespace !! class !! Output | |||
|- | |||
|rowspan="5" | Talk || disambig, disamb, dab | |||
| rowspan="3" | pagina | |||
|- | |||
|| doorverwijzing, doorverwijs, dp | |||
|- | |||
|| redirect, redir | |||
|- | |||
|| na | |||
|- | |||
| ''anything else'' || artikel | |||
|- | |||
|User talk || rowspan="5" | ''anything'' || rowspan="5" | pagina | |||
|- | |||
|MediaWiki talk | |||
|- | |||
|Help talk | |||
|- | |||
|Portal talk | |||
|- | |||
|Project talk | |||
|- | |||
|File talk || ''anything'' || bestand | |||
|- | |||
|Template talk || ''anything'' || sjabloon | |||
|- | |||
|Category talk || ''anything'' || categorie | |||
|- | |||
| rowspan="8" | ''Any subjectspace'' | |||
|| portal, project || rowspan="4" | pagina | |||
|- | |||
|| disambig, disamb, dab | |||
|- | |||
|| redirect, redir | |||
|- | |||
|| na | |||
|- | |||
|| image, file, afbeelding, bestand || bestand | |||
|- | |||
|| template, sjabloon, sjab || sjabloon | |||
|- | |||
|| categorie, cat, cats || categorie | |||
|- | |||
|| ''anything else'' || artikel | |||
|} | |||
{{einde}} | |||
</noinclude> |
Huidige versie van 8 sep 2012 om 16:26
artikel
This template is used to identify what kind of page it or its subject page is.
Usage
{{pagetype | class | page= }}
Parameters
- class
This unnamed parameter is optional and is used to distinguish between different non-article pages in mainspace (e.g. disambiguation pages and redirects). See below for details.
- page
The name of a page. The default is the current page.
- subjectspace
If set to yes then subjectspace pages will be treated the same as talkspace pages.
Output
Namespace | class | Output |
---|---|---|
Talk | disambig, disamb, dab | pagina |
doorverwijzing, doorverwijs, dp | ||
redirect, redir | ||
na | ||
anything else | artikel | |
User talk | anything | pagina |
MediaWiki talk | ||
Help talk | ||
Portal talk | ||
Project talk | ||
File talk | anything | bestand |
Template talk | anything | sjabloon |
Category talk | anything | categorie |
Any subjectspace | portal, project | pagina |
disambig, disamb, dab | ||
redirect, redir | ||
na | ||
image, file, afbeelding, bestand | bestand | |
template, sjabloon, sjab | sjabloon | |
categorie, cat, cats | categorie | |
anything else | artikel |