Открыть главное меню

Rust Wikipedia β

Шаблон:Breadcrumb — различия между версиями

м (top: clean up, replaced: |name= → |name = (2))
 
(не показано 8 промежуточных версий этого же участника)
Строка 1: Строка 1:
<div class="breadcrumb nomobile">
+
<div class="breadcrumb nomobile" itemscope itemtype="http://schema.org/BreadcrumbList"><div class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><span itemprop="item">[[Rust{{translation}}|Rust]]</span><meta itemprop="position" content="1" /></div>{{#if:  
<div class="breadcrumb-item"><span itemprop="title">[[Заглавная страница|Главная]]</span></div>{{#if:  
+
{{{srvL|}}} |<div class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> / <span itemprop="item">[[Rust Legacy]][[Категория:Rust Legacy]]</span><meta itemprop="position" content="2" /></div>}}{{#if:  
{{{srvL|}}} | <div class="breadcrumb-item"> > <span itemprop="title">[[Rust Legacy]][[Категория:Rust Legacy]]</span> </div>}}{{#if:
+
{{{lvl1|}}} |<div class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> / <span itemprop="item">[[{{{lvl1}}}{{translation}}|{{{lvl1}}}]]</span><meta itemprop="position" content="2" /></div>}}{{#if:  
{{{srvE|}}} | <div class="breadcrumb-item"> > <span itemprop="title">[Rust Experimental]][[Категория:Rust Experimental]]</span> </div>}}{{#if:  
+
{{{lvl2|}}} |<div class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> / <span itemprop="item">[[{{{lvl2}}}{{translation}}|{{{lvl2}}}]]</span><meta itemprop="position" content="3" /></div>}}{{#if:
{{{lvl1|}}} | <div class="breadcrumb-item"> > <span itemprop="title">[[{{{lvl1}}}]]</span> </div>}}{{#if:  
+
{{{lvl3|}}} |<div class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> / <span itemprop="item">[[{{{lvl3}}}{{translation}}|{{{lvl3}}}]]</span><meta itemprop="position" content="4" /></div>}}{{#if:
{{{lvl2|}}} | <div class="breadcrumb-item"> > <span itemprop="title">[[{{{lvl2}}}]]</span> </div>}}{{#if:
+
{{{lvl4|}}} |<div class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> / <span itemprop="item">[[{{{lvl4}}}{{translation}}|{{{lvl4}}}]]</span><meta itemprop="position" content="5" /></div>}}<div  
{{{lvl3|}}} | <div class="breadcrumb-item"> > <span itemprop="title">[[{{{lvl3}}}]]</span> </div>}}{{#if:
+
class="breadcrumb-item"> / <span>'''{{{name}}}'''</span></div></div><noinclude>
{{{lvl4|}}} | <div class="breadcrumb-item"> > <span itemprop="title">[[{{{lvl4}}}]]</span> </div>}}<div  
+
 
class="breadcrumb-item"> > <span>[[{{{name}}}]]</span></div>
+
{{breadcrumb
<div style="clear:both"></div>
 
</div>
 
<noinclude>{{breadcrumb
 
 
|srvL=.
 
|srvL=.
 
|lvl1= Линк 1
 
|lvl1= Линк 1
Строка 16: Строка 13:
 
|lvl3= Линк 3
 
|lvl3= Линк 3
 
|lvl4= Линк 4
 
|lvl4= Линк 4
|name= Имя страницы
+
|name = Имя страницы
 
}}
 
}}
 +
 
<pre>
 
<pre>
 
{{breadcrumb
 
{{breadcrumb
|srvL=.
+
|srvL=
 
|lvl1= Линк 1
 
|lvl1= Линк 1
 
|lvl2= Линк 2
 
|lvl2= Линк 2
 
|lvl3= Линк 3
 
|lvl3= Линк 3
 
|lvl4= Линк 4
 
|lvl4= Линк 4
|name= Имя страницы
+
|name = Имя страницы
 
}}
 
}}
 +
</pre>
 +
  
</pre>
 
 
</noinclude>
 
</noinclude>

Текущая версия на 17:36, 23 мая 2025

{{breadcrumb
|srvL=
|lvl1= Линк 1
|lvl2= Линк 2
|lvl3= Линк 3
|lvl4= Линк 4
|name = Имя страницы
}}