Template:MainPage/Vector/Featured article: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mNo edit summary
Tags: Reverted 2017 source edit
mNo edit summary
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--  
API call
API call  
-->{{#get_web_data:
-->{{#get_web_data:  
  url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=430&explaintext=1&format=json&titles=<!--
  url={{SERVER}}/api.php?action=query&prop=pageimages{{!}}extracts&exlimit=1&exintro=1&exchars=430&explaintext=1&format=json&titles=<!--


Line 16: Line 16:
  |cache seconds=604800
  |cache seconds=604800
}}<div class="card" id="featured_article">
}}<div class="card" id="featured_article">
    <div class="card-image card-image-featured">
<div class="card-image card-image-featured">[[File:Fortuna_Valley_01.jpg|x280px|link=Special:MyLanguage/{{#external_value:title}}]]</div>
        [[File:Antenna-cw-cj nFa14.jpg|link=Special:MyLanguage/{{#external_value:title}}|x280px]]
<div class="card-text">
    </div>      
<p class="byline">Featured article</p>
    <div class="card-content">
<h3>[[{{#external_value:title}}]]</h3>
        <p class="byline">Featured article</p>
{{#external_value:description}}
        <h3>[[{{#external_value:title}}]]</h3>
</div>
        <div class="card-text">{{#external_value:description}}</div>
</div><templatestyles src="MainPage/Vector/Featured article/styles.css" /></includeonly><noinclude>
    </div>
</div>
 
<templatestyles src="MainPage/Vector/Featured article/styles.css" /></includeonly><noinclude>
{{/doc}}<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --></noinclude>
{{/doc}}<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --></noinclude>

Latest revision as of 00:12, 1 August 2024