Vorlage:ThisWay: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(44 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | <noinclude> | + | <noinclude> |
− | + | ===Code === | |
− | </noinclude> | + | |
− | + | <nowiki>{{ThisWay | |
− | -->{{#vardefine: class| {{#if: {{{1|}}}||class=zurueck}} }}<!-- | + | | <!-- "Link" --> |
− | --> | + | | <!-- "... zu" --> |
− | + | | nocat= 1 <!-- keine Kategorien --> | |
− | |{{{ | + | | nocite= 1 <!-- kein Zitiervorschlag --> |
− | + | | noway= 1 <!-- kein Thisway-Link --> | |
− | + | }} </nowiki> | |
− | {{#if: {{{ | + | </noinclude><!-- |
− | + | ------------ | |
− | {{# | + | |
+ | VARIABLE | ||
+ | |||
+ | -->{{#vardefine: link | ||
+ | | {{{1|{{#ifeq: {{NAMESPACENUMBER}}| 0 | ||
+ | | {{BASEPAGENAME}} | ||
+ | | {{NAMESPACE}}:{{BASEPAGENAME}} }} }}} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine: class | ||
+ | | {{#if: {{{1|}}}||class=zurueck}} }}<!-- | ||
+ | -->{{#vardefine: pageauthor | ||
+ | | {{#if: {{{autor|}}} | {{{autor|}}}, }} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine: pagetitle | ||
+ | | {{#show: {{FULLPAGENAME}}|?hat_titel}} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine: pagetitle | ||
+ | | {{#if: {{#var: pagetitle}}|{{#var: pagetitle}}|{{#titleparts:{{PAGENAME}}| | -1}}}} | ||
}}<!-- | }}<!-- | ||
------------------------- | ------------------------- | ||
NAVIGATION | NAVIGATION | ||
------------------------- | ------------------------- | ||
− | --> | + | -->{{#vardefine: navigation |
− | + | | {{Metalog:Sitemap}} | |
+ | }}<!-- | ||
− | + | SCHREIBEN | |
− | --> | + | -->{{#if: {{{noway|}}} |<!-- do nothing--> |
− | : | + | |<div {{#var:class}} id=thisway><!-- |
− | + | -->{{#if: {{{1|}}} | |
− | < | + | |{{{2|{{{Weiter|Weiter}}} }}} zu}} [[{{#var:link}}]] {{#if: {{{1|}}}|| (zurück zum Hauptartikel) |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | }}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | NAVIGATION | |
− | -->< | + | --><includeonly><div id="nv"><div id="nv_content"> |
− | + | <div id="chapters"> | |
− | <div | + | {{#var: navigation}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | </div><!-- | + | </div></div><!-- |
− | + | Zitieren | |
− | --> | + | -->{{#switch: {{NAMESPACENUMBER}} |
− | + | | 6 | |
− | + | |14 = <!-- do nothing --> | |
− | < | + | | #default = {{#if: {{{nocite|}}} |<!-- do nothing--> |
− | + | |<div class='zitieren'><span id='zitieren'>''Diese Seite zitieren''</span> <div id='z_hide' class='z_hide'>{{#var: pageauthor}} „{{#var: pagetitle}}.“ In: Bernhard Scheid (Hg.), ''[{{canonicalurl:{{MediaWiki:Mainpage}} }} {{SITENAME}}: {{MediaWiki:Sitesubtitle}}]''. Universität Wien, seit 2001 (Stand: {{REVISIONDAY}}.{{REVISIONMONTH1}}.{{REVISIONYEAR}}). URL: {{canonicalurl:{{FULLPAGENAME}}}}?oldid={{REVISIONID}}<span id='z_X' class='fa fa-times'></span> | |
− | + | </div></div> }} }}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <div class= | ||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </div><!-- | ||
− | + | KATEGORIEN | |
− | --> | + | -->{{#if: {{{nocat|}}} | <!-- do nothing --> |
− | : | + | | [[category:artikel]] [[uses_thisway::{{#titleparts:{{PAGENAME}}| |-1}}| ]]{{#ifeq: {{NAMESPACENUMBER}} | 0 |
− | + | | [[is_mainspace_article::{{#titleparts:{{PAGENAME}}| |-1}}| ]] {{#if: {{{1|}}} | [[category:Hauptartikel]] | [[category:Sidepage]]}} | |
− | + | }} }}</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly> |
Version vom 20. Februar 2019, 13:55 Uhr
Code
{{ThisWay | <!-- "Link" --> | <!-- "... zu" --> | nocat= 1 <!-- keine Kategorien --> | nocite= 1 <!-- kein Zitiervorschlag --> | noway= 1 <!-- kein Thisway-Link --> }}
Vorlage:ThisWay (zurück zum Hauptartikel)