Vorlage:Dokumentation Namespace detect siehe auch: Unterschied zwischen den Versionen
imported>Davidgothberg (Removing {{main talk category other}}, not used anymore and we have {{talkspace detect}} instead. And moving the rarely used {{main talk other}} down.) |
imported>Davidgothberg (Adding {{pgn}} to the "Pagename-handling and detection templates" section.) |
||
Zeile 19: | Zeile 19: | ||
* {{tl|main talk other}} – Separates some namespaces. | * {{tl|main talk other}} – Separates some namespaces. | ||
Pagename-detection templates: | Pagename-handling and detection templates: | ||
* {{tl|pgn}} – Can take apart and put together pagenames in several ways. | |||
* {{tl|basepage subpage}} – For detecting if on a basepage, subpage or subsubpage. | * {{tl|basepage subpage}} – For detecting if on a basepage, subpage or subsubpage. | ||
* {{tl|if pagename}} – For pattern matching on the pagename. | * {{tl|if pagename}} – For pattern matching on the pagename. |
Version vom 4. Dezember 2009, 15:57 Uhr
Easy to use namespace-detection templates:
- {{main other}} – For article templates.
- {{talk other}} – For talk page templates.
- {{user other}} – For user page templates.
- {{wikipedia other}} – For detecting "Wikipedia:" pages.
- {{file other}} – For file (image) templates.
- {{template other}} – For detecting template pages.
- {{help other}} – For help page templates.
- {{category other}} – For category templates.
- {{portal other}} – For portal templates.
More complex namespace-detection templates:
- {{namespace detect}} – The very versatile one.
- {{namespace detect showall}} – The extremely versatile one, has input reuse.
- {{talkspace detect}} - For detecting talk pages on various namespaces.
- {{main talk other}} – Separates some namespaces.
Pagename-handling and detection templates:
- {{pgn}} – Can take apart and put together pagenames in several ways.
- {{basepage subpage}} – For detecting if on a basepage, subpage or subsubpage.
- {{if pagename}} – For pattern matching on the pagename.
- {{if pagename multi}} – For pattern matching on the pagename, has input reuse.
Technical stuff:
- Wikipedia:Namespace – Lists all the namespaces.
- mw:Help:Magic words – About
{{NAMESPACE}}
etc. - mw:Help:Extension:ParserFunctions – About
{{#ifeq:|||}}
etc.
Dokumentation für die Vorlage {{Dokumentation Namespace detect siehe auch}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [ ]
Für die Vorlage {{Dokumentation Namespace detect siehe auch}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise
- Die obige Dokumentation wurde aus der Seite Vorlage:Dokumentation Namespace detect siehe auch/Doku eingefügt. (bearbeiten | Versionsgeschichte) Die Kategorien für diese Vorlage sollten in der Dokumentation eingetragen werden. Die Interwiki-Links sollten auf Wikidata eingepflegt werden.
- Doku anlegen -Testseite anlegen -Editnotice anlegen -Wartungsseite anlegen
- Liste der Unterseiten