Difference between revisions of "Template:Breadcrumb"
The Wiki of Unify contains information on clients and devices, communications systems and unified communications. - Unify GmbH & Co. KG is a Trademark Licensee of Siemens AG.
Maria.nani (talk | contribs) |
|||
(20 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{dontchange}} | <noinclude>{{dontchange}} | ||
<br/> | <br/> | ||
− | Use the template '''Breadcrumb''' to put a breadcrumb path at the top of | + | Use the template '''Breadcrumb''' to put a breadcrumb path at the top of a page.</noinclude><includeonly><div class="breadcrumb"> |
− | {| class="noborder" width=" | + | {| class="noborder" width="900" |
− | | style="padding:0px;" class="noborder" width=" | + | | style="padding:0px;" class="noborder" width="50" | |
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| de = Sie befinden sich hier | | de = Sie befinden sich hier | ||
| You are here | | You are here | ||
}}: | }}: | ||
− | | class="noborder" | [[File:Icon_linkarrow.gif|link={{PAGENAME}}]] {{#switch: {{PAGENAME}} | + | | style="padding:0px;" class="noborder" | [[File:Icon_linkarrow.gif|link={{PAGENAME}}]] {{#switch: {{PAGENAME}} |
| Main Page = Home | | Main Page = Home | ||
| Hauptseite = Home | | Hauptseite = Home | ||
| #default = {{#switch: {{{1}}} | | #default = {{#switch: {{{1}}} | ||
− | | de = [[ | + | | de = [[Übersicht|Home]] |
− | | #default = [[ | + | | #default = [[Overview|Home]] |
}} }} {{#ifexist: {{{3}}} | }} }} {{#ifexist: {{{3}}} | ||
| [[File:Icon_linkarrow.gif|link={{{3}}}]] [[{{{3}}}]] | | [[File:Icon_linkarrow.gif|link={{{3}}}]] [[{{{3}}}]] | ||
Line 25: | Line 25: | ||
| Main Page = | | Main Page = | ||
| Hauptseite = | | Hauptseite = | ||
− | | #default = [[File:Icon_linkarrow.gif{{!}}link={{PAGENAME}}]] {{ | + | | #default = <span style="white-space:nowrap;">[[File:Icon_linkarrow.gif{{!}}link=]] {{PAGENAME}}</span> |
+ | }} | ||
+ | {{#ifeq: {{{2}}}|0| | ||
+ | | {{#switch: {{{1}}} | ||
+ | | en = | ||
+ | {{!}} class="noborder" width="180" style="padding:0px;" {{!}} [[Image:l-de.gif{{!}}15px{{!}}link={{{2}}}]] [[{{{2}}}{{!}}Diese Seite auf Deutsch]] | ||
+ | | de = | ||
+ | {{!}} class="noborder" width="180" style="padding:0px;" {{!}} [[Image:l-en.gif{{!}}15px{{!}}link={{{2}}}]] [[{{{2}}}{{!}}This page in English]] | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
|} | |} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
− | To use this template just copy the following source text in the | + | To use this template just copy the following source text in the page: |
<pre><nowiki> | <pre><nowiki> | ||
{{Breadcrumb|(Language)|(Second Language Name)|(Further Breadcrumb Levels)}} | {{Breadcrumb|(Language)|(Second Language Name)|(Further Breadcrumb Levels)}} | ||
</nowiki></pre> | </nowiki></pre> | ||
− | * Language | + | * Language = Language of this page (en/de), 0 is default (en) |
− | + | * Second Language Name (if this page also exists in the alternative language) = Name of this article in the alternative language, 0 means no alternative language | |
* Further Breadcrumb Levels (optional) = If available further pages above this page (max. 3) | * Further Breadcrumb Levels (optional) = If available further pages above this page (max. 3) | ||
+ | Examples: | ||
+ | * <pre><nowiki>{{Breadcrumb|0|0|...}}</nowiki></pre> English page without German alternativ page | ||
+ | * <pre><nowiki>{{Breadcrumb|en|0|...}}</nowiki></pre> English page without German alternativ page | ||
+ | * <pre><nowiki>{{Breadcrumb|de|0|...}}</nowiki></pre> German page without English alternativ page | ||
+ | * <pre><nowiki>{{Breadcrumb|en|Deutscher Inhalt|...}}</nowiki></pre> English page with German alternativ page | ||
+ | * <pre><nowiki>{{Breadcrumb|de|English Content|...}}</nowiki></pre> German page with English alternativ page | ||
</noinclude> | </noinclude> |
Latest revision as of 11:08, 3 August 2020
This template is already used in some articles. Please be careful if you want to make changes. |
Use the template Breadcrumb to put a breadcrumb path at the top of a page.
To use this template just copy the following source text in the page:
{{Breadcrumb|(Language)|(Second Language Name)|(Further Breadcrumb Levels)}}
- Language = Language of this page (en/de), 0 is default (en)
- Second Language Name (if this page also exists in the alternative language) = Name of this article in the alternative language, 0 means no alternative language
- Further Breadcrumb Levels (optional) = If available further pages above this page (max. 3)
Examples:
-
{{Breadcrumb|0|0|...}}
English page without German alternativ page -
{{Breadcrumb|en|0|...}}
English page without German alternativ page -
{{Breadcrumb|de|0|...}}
German page without English alternativ page -
{{Breadcrumb|en|Deutscher Inhalt|...}}
English page with German alternativ page -
{{Breadcrumb|de|English Content|...}}
German page with English alternativ page