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

Материал из Rust Wikipedia
Уважаемые игроки, сейчас содержание проекта осуществляется на собственном энтузиазме и средствах небольшой группы альтруистов. Если Вам нравится проект и Вы заинтересованы в его развитии, то у Вас есть возможность помочь сделать наш портал еще качественнее и интереснее.
Подробнее →
м
м (top: clean up, replaced: |name= → |name = (2))
 
(не показаны 3 промежуточные версии этого же участника)
Строка 1: Строка 1:
<div class="breadcrumb nomobile"><div class="breadcrumb-item"><span itemprop="title">[[Rust]]</span></div>{{#if:  
+
<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:  
{{{srvL|}}} | <div class="breadcrumb-item"> / <span itemprop="title">[[Rust Legacy]][[Категория:Rust Legacy]]</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:  
{{{lvl1|}}} | <div class="breadcrumb-item"> / <span itemprop="title">[[{{{lvl1}}}]]</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:  
{{{lvl2|}}} | <div class="breadcrumb-item"> / <span itemprop="title">[[{{{lvl2}}}]]</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:
{{{lvl3|}}} | <div class="breadcrumb-item"> / <span itemprop="title">[[{{{lvl3}}}]]</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:
{{{lvl4|}}} | <div class="breadcrumb-item"> / <span itemprop="title">[[{{{lvl4}}}]]</span></div>}}<div  
+
{{{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  
 
class="breadcrumb-item"> / <span>'''{{{name}}}'''</span></div></div><noinclude>
 
class="breadcrumb-item"> / <span>'''{{{name}}}'''</span></div></div><noinclude>
  
Строка 13: Строка 13:
 
|lvl3= Линк 3
 
|lvl3= Линк 3
 
|lvl4= Линк 4
 
|lvl4= Линк 4
|name= Имя страницы
+
|name = Имя страницы
 
}}
 
}}
  
Строка 23: Строка 23:
 
|lvl3= Линк 3
 
|lvl3= Линк 3
 
|lvl4= Линк 4
 
|lvl4= Линк 4
|name= Имя страницы
+
|name = Имя страницы
 
}}
 
}}
 
</pre>
 
</pre>

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

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