Template:Crumb View history

imported>Forumtestuser
(Created page with "<noinclude> Template for breadcrumbs page </noinclude> <onlyinclude>{{#if:{{{category|}}}|{{{category}}} @ [[{{:mediawiki:mainpage}}]] > {{#if: {{{portal|}}}|{{{portal}}} >|}}...")
 
imported>Forumtestuser
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Template for breadcrumbs page
Template for breadcrumbs page.
=== Wiki Code: ===
<pre>
{{Crumb|category=Help|portal=Help:Help Center}}
</pre>
=== Output in [[Mediawiki:Breadcrumbs]] Page ===
{{Crumb|category=Help|portal=Help:Help Center}}
 
=== Result in breadcrumbs section ===
All pages in category "help" will have the breadcrumb of:
 
[[{{:mediawiki:mainpage}}]] > [[Help:Help Center|{{PAGENAME:Help:Help Center}}]] > Help page name
[[category:Interface templates and forms]]
 
</noinclude>
</noinclude>
<onlyinclude>{{#if:{{{category|}}}|{{{category}}} @ [[{{:mediawiki:mainpage}}]] > {{#if: {{{portal|}}}|{{{portal}}} >|}}
<onlyinclude>{{#if:{{{category|}}}|* {{{category}}} @ [[{{:mediawiki:mainpage}}]] > {{#if: {{{portal|}}}|{{#switch: {{#explode:{{{portal}}}|:}}
 
| Category = [[:{{{portal}}}|{{PAGENAME:{{{portal}}}}}]] >
| category = [[:{{{portal}}}|{{PAGENAME:{{{portal}}}}}]] >
| {{ns:14}} = [[:{{{portal}}}|{{PAGENAME:{{{portal}}}}}]] >
|[[{{{portal}}}|{{PAGENAME:{{{portal}}}}}]] >}} |}}
}}</onlyinclude>
}}</onlyinclude>

Latest revision as of 14:45, 6 December 2021

Template for breadcrumbs page.

Wiki Code:

{{Crumb|category=Help|portal=Help:Help Center}}

Output in Mediawiki:Breadcrumbs Page

Result in breadcrumbs section

All pages in category "help" will have the breadcrumb of:

Main Page > Help Center > Help page name