Шаблон:Main page/featured: различия между версиями

Нет описания правки
Нет описания правки
Метка: ручная отмена
 
(не показано 25 промежуточных версий 3 участников)
Строка 1: Строка 1:
<includeonly><!--
<includeonly><!--
PageImages API
PageImages API
--><!--
{{#get_web_data:
url={{SERVER}}/api.php?action=query&smaxage=604800&maxage=604800&prop=pageimages&pilimit=1&pilicense=any&piprop=name&format=json&titles={{Main page/settings|featured}}|format=JSON|data=pageimage=pageimage|cachesecond=604800}}<!--
--><!--
--><!--
Template starts here
Template starts here
--><div id="home-featured" class="home-card home-card--col2 home-card--row3">
--><div id="home-featured" class="home-card home-card--col2 home-card--row4">
<div class="home-card__background">[[File:{{#if:{{#external_value:pageimage}}|{{#external_value:pageimage}}|Placeholderv2.png}}|x200px|link={{Main page/settings|featured}}]]</div>
<div class="home-card__background">[[{{{1}}}|x200px|link={{{2}}}]]</div>
<div class="home-card__foreground">
<div class="home-card__foreground">
<div class="home-card__label">Featured</div>
<div class="home-card__label">{{{3}}}</div>
<h3 class="home-card__header">{{Main page/settings|featured}}</h3>
<h3 class="home-card__header">{{{4}}}</h3>
</div>
</div>
</div><templatestyles src="Template:Main page/featured/styles.css"/></includeonly><noinclude>{{/doc}}</noinclude>
</div><templatestyles src="Template:Main page/featured/styles.css"/></includeonly><noinclude>{{/doc}}</noinclude>

Текущая версия от 22:42, 26 января 2023