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

Материал из Rust Wikipedia
Уважаемые игроки, сейчас содержание проекта осуществляется на собственном энтузиазме и средствах небольшой группы альтруистов. Если Вам нравится проект и Вы заинтересованы в его развитии, то у Вас есть возможность помочь сделать наш портал еще качественнее и интереснее.
Подробнее →
(Новая страница: «<div class="breadcrumb"> <div class="breadcrumb-item" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb" id="b1" itemref="b2"> <a href="/index.php/…»)
 
м (top: clean up, replaced: |name= → |name = (2))
 
(не показано 19 промежуточных версий этого же участника)
Строка 1: Строка 1:
<div class="breadcrumb">
+
<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" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb" id="b1" itemref="b2">
+
{{{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:
<a href="/index.php/Заглавная_страница" itemprop="url">
+
{{{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:
<span itemprop="title">Главная страница</span>
+
{{{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:
</a>
+
{{{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:
</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>
  
<div class="bx-breadcrumb-item" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb" id="b2" itemprop="child" itemref="b3">
+
{{breadcrumb
>
+
|srvL=.
<a href="/{{{Type}}}" itemprop="url">
+
|lvl1= Линк 1
<span itemprop="title">{{{Type}}}</span> [[категория:{{{Type}}}]]
+
|lvl2= Линк 2
</a>
+
|lvl3= Линк 3
</div>
+
|lvl4= Линк 4
 +
|name = Имя страницы
 +
}}
  
<div class="bx-breadcrumb-item" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb" id="b3" itemprop="child">
+
<pre>
>
+
{{breadcrumb
<a href="/{{{subType}}}" itemprop="url">
+
|srvL=
<span itemprop="title">{{{subType}}}</span> [[категория:{{{subType}}}]]
+
|lvl1= Линк 1
</a>
+
|lvl2= Линк 2
</div>
+
|lvl3= Линк 3
 +
|lvl4= Линк 4
 +
|name = Имя страницы
 +
}}
 +
</pre>
  
<div class="bx-breadcrumb-item">
+
 
>
+
</noinclude>
<span>{{{name}}}</span>
 
</div>
 
<div style="clear:both"></div>
 
</div>
 

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

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